diff options
| author | Eric Anholt <[email protected]> | 2019-02-20 21:03:42 +0000 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2019-04-01 17:44:34 +0000 |
| commit | cb74f6ee8e3a00e85d53697d5d84ec21d416e5ef (patch) | |
| tree | 7a15f86cfbe5c2e06cdb3777ab7df3cfb5575d72 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/vc4: Use drm_printer for the debugfs and runtime bo stats output. (diff) | |
| download | kernel-cb74f6ee8e3a00e85d53697d5d84ec21d416e5ef.tar.gz kernel-cb74f6ee8e3a00e85d53697d5d84ec21d416e5ef.zip | |
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: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Paul Kocialkowski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
