drm/amdgpu: Do not program VM_L2_CNTL under SRIOV
authorVictor Lu <victorchengchi.lu@amd.com>
Tue, 19 Dec 2023 16:55:09 +0000 (11:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Jan 2024 23:31:56 +0000 (18:31 -0500)
commit30d8dffab7d00da7fd13ecdb7d41a1f25ed6a4af
tree087b4f45238cb3ee3185455d5541864e6f6edea8
parent6616b5e1999146b1304abe78232af810080c67e3
drm/amdgpu: Do not program VM_L2_CNTL under SRIOV

VM_L2_CNTL* should not be programmed on driver unload under SRIOV.
These regs are skipped during SRIOV driver init.

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Vignesh Chander <Vignesh.Chander@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c