aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorShirish S <[email protected]>2019-06-04 15:55:03 +0000
committerAlex Deucher <[email protected]>2019-06-11 18:33:08 +0000
commit517b91f4cde3043d77b2178548473e8545ef07cb (patch)
treed58688db535ad4f4ad9552296de6d71be1f9245c /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentMerge branch 'linux-5.2' of git://github.com/skeggsb/linux into drm-fixes (diff)
downloadkernel-517b91f4cde3043d77b2178548473e8545ef07cb.tar.gz
kernel-517b91f4cde3043d77b2178548473e8545ef07cb.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]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions