From: Logatharshan Thothiralingam <logatharshan.thothiralin...@amd.com>

CZ headers limited the size of the i2c message which lead
to problem with large i2c msgs on Polaris.

NOTE: this is temporary, this needs to be reworked.

Change-Id: I0a904c76d2a670b3d92a09b824b1b03a7e3916ce
Signed-off-by: Logatharshan Thothiralingam <logatharshan.thothiralin...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@amd.com>
---
 .../gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c    | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c 
b/drivers/gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c
index 2b606a542cb8..cfcd5db825f6 100644
--- a/drivers/gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c
+++ b/drivers/gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c
@@ -43,8 +43,14 @@
 /*
  * Post-requisites: headers required by this unit
  */
-#include "dce/dce_11_0_d.h"
-#include "dce/dce_11_0_sh_mask.h"
+
+/*
+ * Temporarily adding ellesmere specific headers
+ * to get the right defined values
+ */
+#include "dce/dce_11_2_d.h"
+#include "dce/dce_11_2_sh_mask.h"
+
 #include "reg_helper.h"
 
 /*
-- 
2.10.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to