[CI] drm/xe/guc: Enable w/a 14022293748 and 22019794406
Lucas De Marchi
lucas.demarchi at intel.com
Sun Jul 21 02:49:20 UTC 2024
On Fri, Jul 19, 2024 at 04:05:25PM GMT, Julia Filipchuk wrote:
>Enable workarounds for HW bug where render engine reset fails.
>
>Signed-off-by: Julia Filipchuk <julia.filipchuk at intel.com>
>---
>This patch is for testing KLV workarrounds.
>
> drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 1 +
> drivers/gpu/drm/xe/xe_guc_ads.c | 5 +++++
> drivers/gpu/drm/xe/xe_uc_fw.c | 4 ++--
> drivers/gpu/drm/xe/xe_wa_oob.rules | 2 ++
> 4 files changed, 10 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
>index 8f9f60b28306..6b30743a2f6c 100644
>--- a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
>+++ b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
>@@ -351,6 +351,7 @@ enum xe_guc_klv_ids {
> GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING = 0x9005,
> GUC_WORKAROUND_KLV_ID_DISABLE_MTP_DURING_ASYNC_COMPUTE = 0x9007,
> 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,
> };
>
> #endif
>diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ads.c
>index 1c60b685dbc6..3190bb4ce04e 100644
>--- a/drivers/gpu/drm/xe/xe_guc_ads.c
>+++ b/drivers/gpu/drm/xe/xe_guc_ads.c
>@@ -367,6 +367,11 @@ static void guc_waklv_init(struct xe_guc_ads *ads)
> 0xC40,
> &offset, &remain);
>
>+ if (XE_WA(gt, 14022293748) && XE_WA(gt, 22019794406))
that I think would be a first in the driver... so this is only enabled
when *both* workarounds have to be applied? Or did you mean to have an ||
here?
Lucas De Marchi
More information about the Intel-xe
mailing list