]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2020 16:22:21 +0000 (17:22 +0100)
commit07037966d32ce29e00a1d59da026ab184bb282bc
tree5965b0b17711bd5526b937b0d63236acd194ab05
parent6b295e991ee6d301da9fb14c022c9e314d952f98
drm/amdgpu/gfx9: disable gfxoff when reading rlc clock

commit de2d447b1aceec0e974dd8fd29641ff8abfb307c upstream.

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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c