Skip to content

Commit ea9c621

Browse files
Wayne Boyermattrope
authored andcommitted
drm/i915/dg2: Introduce Wa_18017747507
WA 18017747507 applies to all DG2 skus. BSpec: 56035, 46121, 68173 Signed-off-by: Wayne Boyer <[email protected]> Reviewed-by: Matt Roper <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3096ae4 commit ea9c621

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/gpu/drm/i915/gt/intel_gt_regs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@
498498
#define VF_PREEMPTION _MMIO(0x83a4)
499499
#define PREEMPTION_VERTEX_COUNT REG_GENMASK(15, 0)
500500

501+
#define VFG_PREEMPTION_CHICKEN _MMIO(0x83b4)
502+
#define POLYGON_TRIFAN_LINELOOP_DISABLE REG_BIT(4)
503+
501504
#define GEN8_RC6_CTX_INFO _MMIO(0x8504)
502505

503506
#define XEHP_SQCM MCR_REG(0x8724)

drivers/gpu/drm/i915/gt/intel_workarounds.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,6 +2975,9 @@ general_render_compute_wa_init(struct intel_engine_cs *engine, struct i915_wa_li
29752975
* Wa_22015475538:dg2
29762976
*/
29772977
wa_mcr_write_or(wal, LSC_CHICKEN_BIT_0_UDW, DIS_CHAIN_2XSIMD8);
2978+
2979+
/* Wa_18017747507:dg2 */
2980+
wa_masked_en(wal, VFG_PREEMPTION_CHICKEN, POLYGON_TRIFAN_LINELOOP_DISABLE);
29782981
}
29792982
}
29802983

0 commit comments

Comments
 (0)