aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorSteven Price <[email protected]>2020-10-29 17:00:47 +0000
committerBoris Brezillon <[email protected]>2020-10-30 09:10:08 +0000
commita17d609e3e216c406f7c0cec2a94086a4401ac06 (patch)
tree089c42f11df45bd15303375638d2c15fb80c5680 /drivers/gpu/drm/omapdrm/omap_gem.c
parentarm64: dts: meson: Describe G12b GPU as coherent (diff)
downloadkernel-a17d609e3e216c406f7c0cec2a94086a4401ac06.tar.gz
kernel-a17d609e3e216c406f7c0cec2a94086a4401ac06.zip
drm/panfrost: Don't corrupt the queue mutex on open/close
The mutex within the panfrost_queue_state should have the lifetime of the queue, however it was erroneously initialised/destroyed during panfrost_job_{open,close} which is called every time a client opens/closes the drm node. Move the initialisation/destruction to panfrost_job_{init,fini} where it belongs. Fixes: 1a11a88cfd9a ("drm/panfrost: Fix job timeout handling") Signed-off-by: Steven Price <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions