drm/xe: Restore IDLEDLY regiter on engine reset

JIRA: https://issues.redhat.com/browse/RHEL-180329

commit f1a32b2056c6d4a3e99cd599effb3f02158c892f
Author: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Date:   Fri May 22 22:05:32 2026 +0530

    drm/xe: Restore IDLEDLY regiter on engine reset

    [ Upstream commit f657a6a3ba4c20bc01f5be3752d53498ee1bfe35 ]

    Wa_16023105232 programs the register IDLEDLY. The register is reset
    whenever the engine is reset. Therefore it should be added to the GuC
    save-restore register list for it to be restored after reset.

    Fixes: 7c53ff050ba8 ("drm/xe: Apply Wa_16023105232")
    Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
    Link: https://patch.msgid.link/20260522163531.1365540-2-balasubramani.vivekanandan@intel.com
    Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
    (cherry picked from commit df1cfe24743a93b71eab27687e148ab8ae9b69e3)
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>

Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
This commit is contained in:
Anusha Srivatsa
2026-08-03 14:53:52 -05:00
parent c6ba01030d
commit 046e99c089
+5
View File
@@ -770,6 +770,11 @@ static unsigned int guc_mmio_regset_write(struct xe_guc_ads *ads,
}
}
if (XE_GT_WA(hwe->gt, 16023105232))
guc_mmio_regset_write_one(ads, regset_map,
RING_IDLEDLY(hwe->mmio_base),
count++);
return count;
}