[PATCH 0/2] drm/msm/a7xx: Call CP_RESET_CONTEXT_STATE

Connor Abbott cwabbott0 at gmail.com
Tue May 20 22:28:04 UTC 2025


This was missed during a7xx bringup and will become necessary for safety
once Mesa starts using BV seriously. I'm hoping to backport this because
it is a security fix and not new functionality even though we aren't
yet using the userspace bits that will be insecure without it in Mesa.

The initial a7xx support landed before the register XML modified in
patch 1 was introduced, but the XML seems to have landed in the same
cycle so we shouldn't need a separate backport of the generated C
headers.

Signed-off-by: Connor Abbott <cwabbott0 at gmail.com>
---
Connor Abbott (2):
      drm/msm: Fix CP_RESET_CONTEXT_STATE bitfield names
      drm/msm/a7xx: Call CP_RESET_CONTEXT_STATE

 drivers/gpu/drm/msm/adreno/a6xx_gpu.c               | 14 ++++++++++++++
 drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)
---
base-commit: 8ffd015db85fea3e15a77027fda6c02ced4d2444
change-id: 20250520-msm-reset-context-state-100249ca5368

Best regards,
-- 
Connor Abbott <cwabbott0 at gmail.com>



More information about the dri-devel mailing list