diff options
| author | Rob Herring <[email protected]> | 2019-08-26 22:33:13 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2019-08-30 14:53:07 +0000 |
| commit | ec7eba47da867e1dd0ff7d442a8717d70c064658 (patch) | |
| tree | 5554c87507fdb841bbb2e5de6bdef5a143dc5f0c /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/panfrost: Remove unnecessary mmu->lock mutex (diff) | |
| download | kernel-ec7eba47da867e1dd0ff7d442a8717d70c064658.tar.gz kernel-ec7eba47da867e1dd0ff7d442a8717d70c064658.zip | |
drm/panfrost: Rework page table flushing and runtime PM interaction
There is no point in resuming the h/w just to do flush operations and
doing so takes several locks which cause lockdep issues with the shrinker.
Rework the flush operations to only happen when the h/w is already awake.
This avoids taking any locks associated with resuming which trigger
lockdep warnings.
Fixes: 013b65101315 ("drm/panfrost: Add madvise and shrinker support")
Cc: Tomeu Vizoso <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
