Commit c2fdf53e authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Shrink {icl_mg,tgl_dkl}_phy_ddi_buf_trans

All the values we have in {icl_mg,tgl_dkl}_phy_ddi_buf_trans
fit into u8. Shrink the types accordingly.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211006204937.30774-3-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 247c8a73
...@@ -34,15 +34,15 @@ struct icl_ddi_buf_trans { ...@@ -34,15 +34,15 @@ struct icl_ddi_buf_trans {
}; };
struct icl_mg_phy_ddi_buf_trans { struct icl_mg_phy_ddi_buf_trans {
u32 cri_txdeemph_override_11_6; u8 cri_txdeemph_override_11_6;
u32 cri_txdeemph_override_5_0; u8 cri_txdeemph_override_5_0;
u32 cri_txdeemph_override_17_12; u8 cri_txdeemph_override_17_12;
}; };
struct tgl_dkl_phy_ddi_buf_trans { struct tgl_dkl_phy_ddi_buf_trans {
u32 vswing; u8 vswing;
u32 preshoot; u8 preshoot;
u32 de_emphasis; u8 de_emphasis;
}; };
struct dg2_snps_phy_buf_trans { struct dg2_snps_phy_buf_trans {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment