Skip to content
Commit 0668071c authored by Steven Price's avatar Steven Price
Browse files

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: 1a11a88c ("drm/panfrost: Fix job timeout handling")
Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
parent 0bb29aaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment