[PATCH v3 0/2] drm/imagination: MMU defines updates and improvements
From: Alexandru Dadu
Date: Wed Nov 04 2026 - 06:28:22 EST
- Restrict the inclusion of MMU defines to MMU code.
- Refactor MMU defines to use kernel style and access.
Signed-off-by: Alexandru Dadu <alexandru.dadu@xxxxxxxxxx>
Reviewed-by: Brajesh Gupta <brajesh.gupta@xxxxxxxxxx>
Reviewed-by: Gyeyoung Baek <gye976@xxxxxxxxx>
---
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-8aec58777ab6@xxxxxxxxxx
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-291eadfde23b@xxxxxxxxxx
To: Alessio Belle <alessio.belle@xxxxxxxxxx>
To: Luigi Santivetti <luigi.santivetti@xxxxxxxxxx>
To: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
To: Maxime Ripard <mripard@xxxxxxxxxx>
To: Thomas Zimmermann <tzimmermann@xxxxxxx>
To: David Airlie <airlied@xxxxxxxxx>
To: Simona Vetter <simona@xxxxxxxx>
Cc: imagination@xxxxxxxxxxxxxxxxxxxxx
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
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 <alexandru.dadu@xxxxxxxxxx>