]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c
authorVictor Lu <victorchengchi.lu@amd.com>
Thu, 13 Feb 2025 23:38:28 +0000 (18:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:47:21 +0000 (10:47 -0500)
commit057fef20b8401110a7bc1c2fe9d804a8a0bf0d24
tree02ef2a9e93cd019c5c7f1e8f75f5e8a2978d8281
parent20c34e5c4af0b4a0972ae8b237c3a3866f45b082
drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c

SRIOV VF does not have write access to AGP BAR regs.
Skip the writes to avoid a dmesg warning.

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