The a3xx CP setup in msm still matches the msm-3.4 downstream driver,
and a3xx_irq() silently acks the CP error interrupts it enables, so a
CP error only shows up as a hangcheck timeout. Report those errors and
bring the register range table and the CP_ME_INIT data in line with the
msm-3.10 kgsl driver.

Signed-off-by: Dmitry Baryshkov <[email protected]>
---
Changes in v2:
- decode CP_PROTECT_STATUS via register-XML bitfields, not open-coded masks 
(Konrad, Rob)
- Link to v1: 
https://patch.msgid.link/[email protected]

---
Dmitry Baryshkov (3):
      drm/msm/a3xx: report CP protected mode faults
      drm/msm/a3xx: update the CP protected register ranges
      drm/msm/a3xx: update the CP_ME_INIT data to msm-3.10

 drivers/gpu/drm/msm/adreno/a3xx_gpu.c         | 32 ++++++++++++++++++---------
 drivers/gpu/drm/msm/registers/adreno/a3xx.xml |  5 ++++-
 2 files changed, 25 insertions(+), 12 deletions(-)
---
base-commit: bbfe1d58f42ad2cb56a01f5717355901698075e4
change-id: 20261111-a3xx-fix-me-bf13e6cedecd

Best regards,
--  
With best wishes
Dmitry

Reply via email to