]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Use correct SRIOV macro for gmc_v9_0_vm_fault_interrupt_state
authorVictor Lu <victorchengchi.lu@amd.com>
Tue, 19 Dec 2023 15:22:19 +0000 (10:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:27:42 +0000 (10:27 -0500)
commit8f4de8f72e1e7c7e4cdd6da1ef5ff5812c525b13
tree8a77bbffa10cfecb1ae91abd3de303de90096c6f
parentbea07b215d5530a1c351737f95d026532a7c6e3c
drm/amdgpu: Use correct SRIOV macro for gmc_v9_0_vm_fault_interrupt_state

Under SRIOV, programming to VM_CONTEXT*_CNTL regs failed because the
current macro does not pass through the correct xcc instance.
Use the *REG32_XCC macro in this case.

The behaviour without SRIOV is the same without this patch.

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