Match width of fields of struct xe3plpd_lt_* & struct dg2_snps_*
with vswing/preemphasis tables layout.

This change affects DG2 and MTL+ cases.

Signed-off-by: Michał Grzelak <[email protected]>
---
 .../gpu/drm/i915/display/intel_ddi_buf_trans.h   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h 
b/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h
index 7703c6c0a0cb..bea6fb2ec6f4 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h
+++ b/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h
@@ -45,17 +45,17 @@ struct tgl_dkl_phy_ddi_buf_trans {
 };
 
 struct dg2_snps_phy_buf_trans {
-       u8 vswing;
-       u8 pre_cursor;
-       u8 post_cursor;
+       u32 vswing;
+       u32 pre_cursor;
+       u32 post_cursor;
 };
 
 struct xe3plpd_lt_phy_buf_trans {
-       u8 main_cursor;
-       u8 pre_cursor;
-       u8 post_cursor;
-       u8 txswing;
-       u8 txswing_level;
+       u32 main_cursor;
+       u32 pre_cursor;
+       u32 post_cursor;
+       u32 txswing;
+       u32 txswing_level;
 };
 
 union intel_ddi_buf_trans_entry {
-- 
2.45.2

Reply via email to