drm/amdgpu: disable gfxoff when using register read interface
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Nov 2019 16:39:05 +0000 (11:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2019 23:40:21 +0000 (18:40 -0500)
commitc57040d333c6729ce99c2cb95061045ff84c89ea
tree6195aaecf7612100180c0ac14227f3c073f8efd9
parentd2a08e46215ccb0e8d7ea5011ff07abc43d79860
drm/amdgpu: disable gfxoff when using register read interface

When gfxoff is enabled, accessing gfx registers via MMIO
can lead to a hang.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205497
Acked-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c