Skip to content

Commit 61ef737

Browse files
vsbelgaumjohnharr-intel
authored andcommitted
drm/xe/ptl: Apply Wa_14022866841
As part of this WA, GuC will hold a forcewake for certain MMIO accesses outside the GT/media domains. Cc: Matt Roper <[email protected]> Signed-off-by: Vinay Belgaumkar <[email protected]> Reviewed-by: Matt Roper <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent e515272 commit 61ef737

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

drivers/gpu/drm/xe/abi/guc_klvs_abi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ enum xe_guc_klv_ids {
352352
GUC_WORKAROUND_KLV_ID_DISABLE_MTP_DURING_ASYNC_COMPUTE = 0x9007,
353353
GUC_WA_KLV_NP_RD_WRITE_TO_CLEAR_RCSM_AT_CGP_LATE_RESTORE = 0x9008,
354354
GUC_WORKAROUND_KLV_ID_BACK_TO_BACK_RCS_ENGINE_RESET = 0x9009,
355+
GUC_WA_KLV_WAKE_POWER_DOMAINS_FOR_OUTBOUND_MMIO = 0x900a,
355356
};
356357

357358
#endif

drivers/gpu/drm/xe/xe_guc_ads.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ static void guc_waklv_init(struct xe_guc_ads *ads)
359359
GUC_WORKAROUND_KLV_ID_DISABLE_MTP_DURING_ASYNC_COMPUTE,
360360
&offset, &remain);
361361

362+
if (XE_WA(gt, 14022866841))
363+
guc_waklv_enable_simple(ads,
364+
GUC_WA_KLV_WAKE_POWER_DOMAINS_FOR_OUTBOUND_MMIO,
365+
&offset, &remain);
366+
362367
/*
363368
* On RC6 exit, GuC will write register 0xB04 with the default value provided. As of now,
364369
* the default value for this register is determined to be 0xC40. This could change in the

drivers/gpu/drm/xe/xe_wa_oob.rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@
3939
14019789679 GRAPHICS_VERSION(1255)
4040
GRAPHICS_VERSION_RANGE(1270, 2004)
4141
no_media_l3 MEDIA_VERSION(3000)
42+
14022866841 GRAPHICS_VERSION(3000), GRAPHICS_STEP(A0, B0)
43+
MEDIA_VERSION(3000), MEDIA_STEP(A0, B0)

0 commit comments

Comments
 (0)