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)
commite5f134958d07230ff9a806b1ec200239573e746f
tree8508dd5b016f35b94d3a87a955abfa8d7a84cda2
parentb90c4d667c7e37b7265a92254a66492c1ad8bd2e
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