Commit 7f0cc34b authored by Michel Thierry's avatar Michel Thierry Committed by Lucas De Marchi
parent 1c757497
...@@ -1260,6 +1260,13 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) ...@@ -1260,6 +1260,13 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)
{ {
struct drm_i915_private *i915 = engine->i915; struct drm_i915_private *i915 = engine->i915;
if (IS_GEN(i915, 12)) {
/* Wa_1406941453:tgl */
wa_masked_en(wal,
SAMPLER_MODE,
SAMPLER_ENABLE_SMALL_PL);
}
if (IS_GEN(i915, 11)) { if (IS_GEN(i915, 11)) {
/* This is not an Wa. Enable for better image quality */ /* This is not an Wa. Enable for better image quality */
wa_masked_en(wal, wa_masked_en(wal,
......
...@@ -8965,6 +8965,9 @@ enum { ...@@ -8965,6 +8965,9 @@ enum {
#define GEN9_DG_MIRROR_FIX_ENABLE (1 << 5) #define GEN9_DG_MIRROR_FIX_ENABLE (1 << 5)
#define GEN9_CCS_TLB_PREFETCH_ENABLE (1 << 3) #define GEN9_CCS_TLB_PREFETCH_ENABLE (1 << 3)
#define SAMPLER_MODE _MMIO(0xe18c)
#define SAMPLER_ENABLE_SMALL_PL (1 << 15)
#define GEN8_ROW_CHICKEN _MMIO(0xe4f0) #define GEN8_ROW_CHICKEN _MMIO(0xe4f0)
#define FLOW_CONTROL_ENABLE (1 << 15) #define FLOW_CONTROL_ENABLE (1 << 15)
#define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE (1 << 8) #define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE (1 << 8)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment