summaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@collabora.com>2019-06-18 10:13:43 +0200
committerRob Herring <robh@kernel.org>2019-06-18 09:26:28 -0600
commit9870dc39dc53c0ab0534e1d8311a4abed7db570e (patch)
tree85bb5e5b0204b2ab35c5a49a4c42667c5aec5594 /lib/dump_stack.c
parent48eaeb7664c76139438724d520a1ea4a84a3ed92 (diff)
downloadlinux-9870dc39dc53c0ab0534e1d8311a4abed7db570e.tar.bz2
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: <stable@vger.kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190618081343.16927-1-boris.brezillon@collabora.com
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions