drm/amdgpu/gfx10: disable gfxoff when reading rlc clock
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 13:52:32 +0000 (08:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:04:41 +0000 (16:04 -0500)
commit72b4c01d66951cff759799dc3000a692d8821b30
treeb8d3b688872921bd632d28388c4292ba3edabe75
parente5f134958d07230ff9a806b1ec200239573e746f
drm/amdgpu/gfx10: 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_v10_0.c