- Restrict the inclusion of MMU defines to MMU code.
- Refactor MMU defines to use kernel style and access.

Signed-off-by: Alexandru Dadu <[email protected]>
Reviewed-by: Brajesh Gupta <[email protected]>
Reviewed-by: Gyeyoung Baek <[email protected]>
---
Changes in v3:
- Added ROGUE_MMUCTRL_VADDR_[PC|PD|PT]_INDEX_SHIFT defines.
- Updated the cover letter with the "Reviewed-by" tags.
- Rebased onto a more recent drm-misc-next.
- Link to v2: 
https://patch.msgid.link/20261012-b4-include-mmu-defines-only-in-mmu-code-v2-0-8aec58777...@imgtec.com

Changes in v2:
- Update the pvr_page_table_l2_entry_raw_set() description to better reflect 
the general changes.
- Link to v1: 
https://patch.msgid.link/20260930-b4-include-mmu-defines-only-in-mmu-code-v1-0-291eadfde...@imgtec.com

To: Alessio Belle <[email protected]>
To: Luigi Santivetti <[email protected]>
To: Maarten Lankhorst <[email protected]>
To: Maxime Ripard <[email protected]>
To: Thomas Zimmermann <[email protected]>
To: David Airlie <[email protected]>
To: Simona Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
Alessio Belle (2):
      drm/imagination: Switch to kernel-style MMU defines and access
      drm/imagination: Don't include MMU defines outside of MMU code

 drivers/gpu/drm/imagination/pvr_mmu.c            |  91 ++++-----
 drivers/gpu/drm/imagination/pvr_rogue_mmu_defs.h | 244 +++++++++++------------
 drivers/gpu/drm/imagination/pvr_vm.h             |   2 -
 3 files changed, 156 insertions(+), 181 deletions(-)
---
base-commit: 49f40f15d20f5b4073d517da7efbcea079f1b9e3
change-id: 20260930-b4-include-mmu-defines-only-in-mmu-code-a139880f7fce

Best regards,
--  
Alexandru Dadu <[email protected]>

Reply via email to