diff options
author | Boris Brezillon <[email protected]> | 2019-06-18 10:13:43 +0200 |
---|---|---|
committer | Rob Herring <[email protected]> | 2019-06-18 09:26:28 -0600 |
commit | 9870dc39dc53c0ab0534e1d8311a4abed7db570e (patch) | |
tree | 85bb5e5b0204b2ab35c5a49a4c42667c5aec5594 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 48eaeb7664c76139438724d520a1ea4a84a3ed92 (diff) |
drm/panfrost: Make sure a BO is only unmapped when appropriate
mmu_ops->unmap() will fail when called on a BO that has not been
previously mapped, and the error path in panfrost_ioctl_create_bo()
can call drm_gem_object_put_unlocked() (which in turn calls
panfrost_mmu_unmap()) on a BO that has not been mapped yet.
Keep track of the mapped/unmapped state to avoid such issues.
Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
Cc: <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions