diff options
| author | Steven Price <steven.price@arm.com> | 2025-08-15 14:42:24 +0100 |
|---|---|---|
| committer | Steven Price <steven.price@arm.com> | 2025-08-28 11:46:20 +0100 |
| commit | 24f028b91ed3329b259874e28b54aa715b008153 (patch) | |
| tree | 85a8be92fd0037f646d5ad89ca2ca0e56b2be598 /scripts/gdb/linux/vmalloc.py | |
| parent | 3c8d31b8937a7ee6e5de74f0274810b8705d77ea (diff) | |
drm/panthor: Simplify mmu_hw_do_operation_locked
The only callers to mmu_hw_do_operation_locked() pass an 'op' of either
AS_COMAND_FLUSH_MEM or AS_COMMAND_FLUSH_PT. This means the code paths
after that are dead. Removing those paths means the
mmu_hw_do_flush_on_gpu_ctrl() function might has well be inlined.
Simplify everything by having a switch statement for the type of 'op'
(warning if we get an unexpected value) and removing the dead cases.
Suggested-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Steven Price <steven.price@arm.com>
Reviewed-by: Karunika Choo <karunika.choo@arm.com>
Link: https://lore.kernel.org/r/20250815134226.57703-1-steven.price@arm.com
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions
