diff options
author | Rob Herring <robh@kernel.org> | 2019-08-26 17:33:13 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-08-30 09:53:07 -0500 |
commit | ec7eba47da867e1dd0ff7d442a8717d70c064658 (patch) | |
tree | 5554c87507fdb841bbb2e5de6bdef5a143dc5f0c /scripts/gdb/linux/utils.py | |
parent | e316f08f1abf5f1116118e25dce7bc3e9ab03246 (diff) |
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 <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: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190826223317.28509-5-robh@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions