diff options
author | Shirish S | 2019-06-04 17:55:03 +0200 |
---|---|---|
committer | Alex Deucher | 2019-06-11 20:33:08 +0200 |
commit | 517b91f4cde3043d77b2178548473e8545ef07cb (patch) | |
tree | d58688db535ad4f4ad9552296de6d71be1f9245c /kernel/smpboot.h | |
parent | Merge branch 'linux-5.2' of git://github.com/skeggsb/linux into drm-fixes (diff) | |
download | kernel-qcow2-linux-517b91f4cde3043d77b2178548473e8545ef07cb.tar.gz kernel-qcow2-linux-517b91f4cde3043d77b2178548473e8545ef07cb.tar.xz kernel-qcow2-linux-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 <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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions