]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: call flush_gpu_tlb directly in gfxhub enable
authorYunxiang Li <Yunxiang.Li@amd.com>
Tue, 4 Jun 2024 16:56:56 +0000 (12:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:15:59 +0000 (16:15 -0400)
commitba531117a87d55f607f865b89eb83665e8e99b83
treed3e680561e6570e5c717aa869fdd6bc86e484205
parentc1f9d82b92917a298dcc9196c4b05e1fdb20c0d8
drm/amdgpu: call flush_gpu_tlb directly in gfxhub enable

Here since we are in reset and takes the reset_domain write side lock
already. We can't use the flush tlb helper which tries to take the read
side.

Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c