diff options
| author | Christian König <[email protected]> | 2016-07-20 14:53:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-07-29 18:37:03 +0000 |
| commit | ebff485e9314f8c53f6b22eba0dfbec7228ab268 (patch) | |
| tree | bfe32720f5ef21855af1db8274142491716959ba /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | |
| parent | drm/amdgpu: use begin/end_use for UVD power/clock gating (diff) | |
| download | kernel-ebff485e9314f8c53f6b22eba0dfbec7228ab268.tar.gz kernel-ebff485e9314f8c53f6b22eba0dfbec7228ab268.zip | |
drm/amdgpu: use begin/end_use for VCE power/clock gating
This fixes turning power and clock on when it is actually needed.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h index f40cf761c66f..fe84b80dbbed 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h @@ -40,5 +40,7 @@ void amdgpu_vce_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, unsigned flags); int amdgpu_vce_ring_test_ring(struct amdgpu_ring *ring); int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring); +void amdgpu_vce_ring_begin_use(struct amdgpu_ring *ring); +void amdgpu_vce_ring_end_use(struct amdgpu_ring *ring); #endif |
