diff options
| author | Shirish S <[email protected]> | 2019-06-04 15:55:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-11 17:39:44 +0000 |
| commit | e038b9016aa88a9e1429f1b016644c509b8e58a6 (patch) | |
| tree | 0d78c918c3c4e675414fe094cfdbdf812c7dc866 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | |
| parent | drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2) (diff) | |
| download | kernel-e038b9016aa88a9e1429f1b016644c509b8e58a6.tar.gz kernel-e038b9016aa88a9e1429f1b016644c509b8e58a6.zip | |
drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
[What]
readptr read always returns zero, since most likely
these blocks are either power or clock gated.
[How]
fetch rptr after amdgpu_ring_alloc() which informs
the power management code that the block is about to be
used and hence the gating is turned off.
Signed-off-by: Louis Li <[email protected]>
Signed-off-by: Shirish S <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h')
0 files changed, 0 insertions, 0 deletions
