Re: [PATCH 6/7] drm/vc4: Add helpers for pm get/put.

2019-03-22 Thread Paul Kocialkowski
Hi, Le mercredi 20 février 2019 à 13:03 -0800, Eric Anholt a écrit : > 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()

[PATCH 6/7] drm/vc4: Add helpers for pm get/put.

2019-02-20 Thread Eric Anholt
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 --- drivers/gpu/drm/vc4/vc4_drv.c | 21 +++