diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_workarounds.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_workarounds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_workarounds.c b/drivers/gpu/drm/i915/intel_workarounds.c index 6bcac78a9c36..7a8618065491 100644 --- a/drivers/gpu/drm/i915/intel_workarounds.c +++ b/drivers/gpu/drm/i915/intel_workarounds.c | |||
@@ -1186,7 +1186,7 @@ static void rcs_engine_wa_init(struct intel_engine_cs *engine) | |||
1186 | GEN7_DISABLE_SAMPLER_PREFETCH); | 1186 | GEN7_DISABLE_SAMPLER_PREFETCH); |
1187 | } | 1187 | } |
1188 | 1188 | ||
1189 | if (IS_GEN9(i915) || IS_CANNONLAKE(i915)) { | 1189 | if (IS_GEN(i915, 9) || IS_CANNONLAKE(i915)) { |
1190 | /* WaEnablePreemptionGranularityControlByUMD:skl,bxt,kbl,cfl,cnl */ | 1190 | /* WaEnablePreemptionGranularityControlByUMD:skl,bxt,kbl,cfl,cnl */ |
1191 | wa_masked_en(wal, | 1191 | wa_masked_en(wal, |
1192 | GEN7_FF_SLICE_CS_CHICKEN1, | 1192 | GEN7_FF_SLICE_CS_CHICKEN1, |
@@ -1207,7 +1207,7 @@ static void rcs_engine_wa_init(struct intel_engine_cs *engine) | |||
1207 | GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE); | 1207 | GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE); |
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | if (IS_GEN9(i915)) { | 1210 | if (IS_GEN(i915, 9)) { |
1211 | /* WaContextSwitchWithConcurrentTLBInvalidate:skl,bxt,kbl,glk,cfl */ | 1211 | /* WaContextSwitchWithConcurrentTLBInvalidate:skl,bxt,kbl,glk,cfl */ |
1212 | wa_masked_en(wal, | 1212 | wa_masked_en(wal, |
1213 | GEN9_CSFE_CHICKEN1_RCS, | 1213 | GEN9_CSFE_CHICKEN1_RCS, |