]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx9: disable gfxoff when reading rlc clock
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 13:51:29 +0000 (08:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:04:40 +0000 (16:04 -0500)
commit183500b5381323aac439d185177159507bf96e66
tree8508dd5b016f35b94d3a87a955abfa8d7a84cda2
parent9a9087a74b0d34e71848c5bcd002cfc9eb561755
drm/amdgpu/gfx9: disable gfxoff when reading rlc clock

Otherwise we readback all ones.  Fixes rlc counter
readback while gfxoff is active.

Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c