drm/amdgpu/gmc11: avoid cpu accessing registers to flush VM
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 20 Apr 2022 05:08:28 +0000 (13:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 21:55:23 +0000 (17:55 -0400)
commit8748de873fedf4d55bdd99bbb738ee7ddf329792
tree08f8c8bb8ffe0d465c3e9076fe0fa7599ef5af6b
parent6626c5a4ea2ef1bba3e02f75f797523e168fe28e
drm/amdgpu/gmc11: avoid cpu accessing registers to flush VM

Due to gfxoff on, cpu accessing registers is not expected.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c