drm/amdgpu: add begin/end_use ring callbacks
authorChristian König <christian.koenig@amd.com>
Wed, 20 Jul 2016 11:49:34 +0000 (13:49 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:02 +0000 (14:37 -0400)
commitf06505b8d27119202d76aeb1b80b2ca352c9567e
tree6d6cba5cd07c7b436ce32ba13d4463ee6b3c5d80
parent7c23ace2db5217cfbe066a21d98b761321c67efd
drm/amdgpu: add begin/end_use ring callbacks

For manual UVD/VCE power and clock gating.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c