mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
drm/xe/guc: Enable w/a 16026508708
The workaround is only relevant to SRIOV but does affect all platforms. Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://lore.kernel.org/r/20250403185619.1555853-2-John.C.Harrison@Intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
parent
29582e0ea7
commit
d3e8349edf
|
|
@ -367,6 +367,7 @@ enum xe_guc_klv_ids {
|
|||
GUC_WA_KLV_NP_RD_WRITE_TO_CLEAR_RCSM_AT_CGP_LATE_RESTORE = 0x9008,
|
||||
GUC_WORKAROUND_KLV_ID_BACK_TO_BACK_RCS_ENGINE_RESET = 0x9009,
|
||||
GUC_WA_KLV_WAKE_POWER_DOMAINS_FOR_OUTBOUND_MMIO = 0x900a,
|
||||
GUC_WA_KLV_RESET_BB_STACK_PTR_ON_VF_SWITCH = 0x900b,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -376,6 +376,11 @@ static void guc_waklv_init(struct xe_guc_ads *ads)
|
|||
GUC_WORKAROUND_KLV_ID_BACK_TO_BACK_RCS_ENGINE_RESET,
|
||||
&offset, &remain);
|
||||
|
||||
if (GUC_FIRMWARE_VER(>->uc.guc) >= MAKE_GUC_VER(70, 44, 0) && XE_WA(gt, 16026508708))
|
||||
guc_waklv_enable_simple(ads,
|
||||
GUC_WA_KLV_RESET_BB_STACK_PTR_ON_VF_SWITCH,
|
||||
&offset, &remain);
|
||||
|
||||
size = guc_ads_waklv_size(ads) - remain;
|
||||
if (!size)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -57,3 +57,5 @@ no_media_l3 MEDIA_VERSION(3000)
|
|||
GRAPHICS_VERSION(1260), GRAPHICS_STEP(A0, B0)
|
||||
16023105232 GRAPHICS_VERSION_RANGE(2001, 3001)
|
||||
MEDIA_VERSION_RANGE(1301, 3000)
|
||||
16026508708 GRAPHICS_VERSION_RANGE(1200, 3001)
|
||||
MEDIA_VERSION_RANGE(1300, 3000)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user