summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-01-07 12:43:15 +0100
committerLucas Stach <l.stach@pengutronix.de>2016-03-07 15:36:50 +0100
commitd9fd0c7d259e6e041890764f21f3033d248e0ac8 (patch)
tree37dd4d4980d15452b57616e6be075798ee3afa04 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parenta90cc3f25065e5e8d5e336c75b04d5882912871f (diff)
drm/etnaviv: move runtime PM balance into retire worker
The retire worker is kicked for each fence, either the normal way by signaling the fence from the event completion interrupt or by the recover worker if the GPU got stuck. Moving the RPM put into the retire worker allows us to have it in a single place for both cases. This also shaves off quite a bit of the CPU time spent in hardirq context, as arming the autosuspend timer when the RPM refcount drops to 0 is a relatively costly operation. Tested-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions