[PATCH 00/10] drm/panthor: minor AS_CONTROL clean up

Chia-I Wu posted 10 patches 2 weeks, 1 day ago
drivers/gpu/drm/panthor/panthor_mmu.c | 157 +++++++++++++++-----------
1 file changed, 94 insertions(+), 63 deletions(-)
[PATCH 00/10] drm/panthor: minor AS_CONTROL clean up
Posted by Chia-I Wu 2 weeks, 1 day ago
This series performs minor AS_CONTROL clean up.

Patch 1 to 5 rename and document AS_CONTROL config functions. There is
no functional change. All functions are now prefixed by mmu_hw_ for
consistency. All of them also expect locking. I choose not to suffix
them by _locked, but I can be convinced.

Patch 6 to 7 eliminiate redundant mmu_hw_wait_ready. This is the main
functional change of the series. panthor_vm_flush_range no longer waits
for UNLOCK to complete.

Patch 8 to 10 give mmu_hw_flush_caches final touches, to improve error
handling, simplifying code, etc.

Chia-I Wu (10):
  drm/panthor: rename and document wait_ready
  drm/panthor: rename and document lock_region
  drm/panthor: add mmu_hw_cmd_unlock
  drm/panthor: add mmu_hw_cmd_update
  drm/panthor: rename and document mmu_hw_do_operation_locked
  drm/panthor: remove write_cmd
  drm/panthor: remove unnecessary mmu_hw_wait_ready calls
  drm/panthor: improve error handling for mmu_hw_flush_caches
  drm/panthor: move size check to mmu_hw_flush_caches
  drm/panthor: simplify mmu_hw_flush_caches

 drivers/gpu/drm/panthor/panthor_mmu.c | 157 +++++++++++++++-----------
 1 file changed, 94 insertions(+), 63 deletions(-)

-- 
2.51.0.384.g4c02a37b29-goog