[PATCH 01/39] drm/amd/dal: Use Polaris headers for i2c engine
Harry Wentland
harry.wentland at amd.com
Thu Nov 24 02:02:30 UTC 2016
From: Logatharshan Thothiralingam <logatharshan.thothiralingam at 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.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
More information about the amd-gfx
mailing list