]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu doorbell range should be set when gpu recovery
authorLin.Cao <lincao12@amd.com>
Mon, 30 Oct 2023 09:55:08 +0000 (17:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Nov 2023 15:38:04 +0000 (11:38 -0400)
commitb77cc85bdbad83dfea533c5ea881665aa0673d65
tree4f21bf62519e1aa366a0b555550776be6a9b36d4
parent42ef313754f2c89f2584dfb6c052e745ad3a3ca1
drm/amdgpu doorbell range should be set when gpu recovery

GFX doorbell range should be set after flr otherwise the gfx doorbell
range will be overlap with MEC.

v2: remove "amdgpu_sriov_vf" and "amdgpu_in_reset" check, and add grbm
select for the case of 2 gfx rings.

Signed-off-by: Lin.Cao <lincao12@amd.com>
Acked-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c