Skip to content
Commit cb74f6ee authored by Eric Anholt's avatar Eric Anholt
Browse files

drm/vc4: Add helpers for pm get/put.



This makes sure the vc4_reset doesn't hit an obscure race with the
GET_PARAM ioctl, fixes a decrement outside of the lock, and prevents
future code from making mistakes with the weird return value of
pm_runtime_get_sync().

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220210343.28157-6-eric@anholt.net
Reviewed-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
parent 13f0ec34
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment