From: Arkadiusz Hiler Date: Fri, 12 May 2017 11:20:15 +0000 (+0200) Subject: drm/i915/gen9: Reintroduce WaEnableYV12BugFixInHalfSliceChicken7 X-Git-Tag: v5.15~10870^2~32^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b71cea29fc29bbd8e9dd9c641fee6bd75f68274;p=platform%2Fkernel%2Flinux-starfive.git drm/i915/gen9: Reintroduce WaEnableYV12BugFixInHalfSliceChicken7 This basically reverts commit 465418c6064c ("drm/i915/gen9: Remove WaEnableYV12BugFixInHalfSliceChicken7") with small addition - marking it as affecting GLK as well. It was incorrectly considered fixed in production steppings. References: HSD#2126385, HSD#2131381, HSDES#1504433555, BSID#0764 Cc: Mika Kuoppala Cc: Jeff McGee Signed-off-by: Arkadiusz Hiler Reviewed-by: Mika Kuoppala [Mika: s/KBL/GLK on commit message] Signed-off-by: Mika Kuoppala Link: http://patchwork.freedesktop.org/patch/msgid/20170512112015.19082-1-arkadiusz.hiler@intel.com --- diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c index 483ed76..49c2315 100644 --- a/drivers/gpu/drm/i915/intel_engine_cs.c +++ b/drivers/gpu/drm/i915/intel_engine_cs.c @@ -851,8 +851,10 @@ static int gen9_init_workarounds(struct intel_engine_cs *engine) */ } + /* WaEnableYV12BugFixInHalfSliceChicken7:skl,bxt,kbl,glk */ /* WaEnableSamplerGPGPUPreemptionSupport:skl,bxt,kbl */ WA_SET_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN7, + GEN9_ENABLE_YV12_BUGFIX | GEN9_ENABLE_GPGPU_PREEMPTION); /* Wa4x4STCOptimizationDisable:skl,bxt,kbl,glk */