[PATCH 01/39] drm/amd/dal: Use Polaris headers for i2c engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Logatharshan Thothiralingam <logatharshan.thothiralingam@xxxxxxx>

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.thothiralingam at amd.com>
Acked-by: Harry Wentland <harry.wentland at 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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux