diff options
author | Arun Siluvery <arun.siluvery@linux.intel.com> | 2015-07-14 10:01:30 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-15 08:30:18 -0400 |
commit | 9b01435d2802148fcf6e061df0e4926768eeb133 (patch) | |
tree | ff0717644cc88a9ba2893e011958b27b3487159b /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | a4106a782d11d44f6740ec8868ad1863546f832a (diff) |
drm/i915/gen9: Add WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken
In Indirect context w/a batch buffer,
+WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken
v2: SKL revision id was used for BXT, copy paste error found during
internal review (Bob Beckett).
v3: explain why part of the WA is in Per ctx batch (Mika)
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index bddc9032e17e..1c14233d179f 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -946,8 +946,11 @@ static int gen9_init_workarounds(struct intel_engine_cs *ring) | |||
946 | /* WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken:skl,bxt */ | 946 | /* WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken:skl,bxt */ |
947 | WA_SET_BIT_MASKED(GEN7_COMMON_SLICE_CHICKEN1, | 947 | WA_SET_BIT_MASKED(GEN7_COMMON_SLICE_CHICKEN1, |
948 | GEN9_RHWO_OPTIMIZATION_DISABLE); | 948 | GEN9_RHWO_OPTIMIZATION_DISABLE); |
949 | WA_SET_BIT_MASKED(GEN9_SLICE_COMMON_ECO_CHICKEN0, | 949 | /* |
950 | DISABLE_PIXEL_MASK_CAMMING); | 950 | * WA also requires GEN9_SLICE_COMMON_ECO_CHICKEN0[14:14] to be set |
951 | * but we do that in per ctx batchbuffer as there is an issue | ||
952 | * with this register not getting restored on ctx restore | ||
953 | */ | ||
951 | } | 954 | } |
952 | 955 | ||
953 | if ((IS_SKYLAKE(dev) && INTEL_REVID(dev) >= SKL_REVID_C0) || | 956 | if ((IS_SKYLAKE(dev) && INTEL_REVID(dev) >= SKL_REVID_C0) || |