diff mbox series

[5/7] drm/i915/icl: WaAllowUMDToModifyHalfSliceChicken2

Message ID 20180928164738.9756-5-radhakrishna.sripada@intel.com (mailing list archive)
State New, archived
Headers show
Series [1/7] drm/i915/icl: Add WaEnable32PlaneMode | expand

Commit Message

Sripada, Radhakrishna Sept. 28, 2018, 4:47 p.m. UTC
From: Oscar Mateo <oscar.mateo@intel.com>

Required to dinamically set 'Small PL Lossless Fix Enable'

Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
---
 drivers/gpu/drm/i915/intel_workarounds.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Chris Wilson Sept. 28, 2018, 4:53 p.m. UTC | #1
Quoting Radhakrishna Sripada (2018-09-28 17:47:36)
> From: Oscar Mateo <oscar.mateo@intel.com>
> 
> Required to dinamically set 'Small PL Lossless Fix Enable'

Same question as to what else is exposed.
-Chris
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/intel_workarounds.c b/drivers/gpu/drm/i915/intel_workarounds.c
index d0a982868964..ffddb3b769d5 100644
--- a/drivers/gpu/drm/i915/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/intel_workarounds.c
@@ -1015,6 +1015,9 @@  static void icl_whitelist_build(struct whitelist *w)
 {
 	/* WaSendPushConstantsFromMMIO:icl */
 	whitelist_reg(w, COMMON_SLICE_CHICKEN2);
+
+	/* WaAllowUMDToModifyHalfSliceChicken2:icl */
+	whitelist_reg(w, HALF_SLICE_CHICKEN2);
 }
 
 static struct whitelist *whitelist_build(struct intel_engine_cs *engine,