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

Submitted by Harry Wentland on Nov. 24, 2016, 2:02 a.m.

Details

Message ID 20161124020308.28124-2-harry.wentland@amd.com
State New
Headers show
Series "dal patches for nov 23, 2016" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Harry Wentland Nov. 24, 2016, 2:02 a.m.
From: Logatharshan Thothiralingam <logatharshan.thothiralingam@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@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 .../gpu/drm/amd/dal/dc/i2caux/dce110/i2c_hw_engine_dce110.c    | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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"
 
 /*