drm/panfrost: Split mmu_hw_do_operation into locked and unlocked version
authorRob Herring <robh@kernel.org>
Mon, 26 Aug 2019 22:33:14 +0000 (17:33 -0500)
committerRob Herring <robh@kernel.org>
Fri, 30 Aug 2019 14:53:20 +0000 (09:53 -0500)
commit86df65f39b009e00cf2826eac72c5a969b878065
tree66195ec12b34e252feeb628218ab1aaf5c75f99d
parentec7eba47da867e1dd0ff7d442a8717d70c064658
drm/panfrost: Split mmu_hw_do_operation into locked and unlocked version

In preparation to call mmu_hw_do_operation with the as_lock already held,
Add a mmu_hw_do_operation_locked function.

Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces")
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190826223317.28509-6-robh@kernel.org
drivers/gpu/drm/panfrost/panfrost_mmu.c