diff options
author | Shirish S <shirish.s@amd.com> | 2019-06-04 21:25:03 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-11 12:39:44 -0500 |
commit | e038b9016aa88a9e1429f1b016644c509b8e58a6 (patch) | |
tree | 0d78c918c3c4e675414fe094cfdbdf812c7dc866 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 91c9c23e430852d4c927202e0a767bcdb688ef44 (diff) | |
download | linux-e038b9016aa88a9e1429f1b016644c509b8e58a6.tar.bz2 |
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 <Ching-shih.Li@amd.com>
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions