]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:09 +0000 (14:40 +0200)
commit41f654291ba7e440db4a370da16aab8286df1a54
tree780783a5cf1e3625d453890def9addd01f132ec2
parent8d0d4c11cace475f1b07f98ee3d2bd334590e17b
drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c

[ Upstream commit 057fef20b8401110a7bc1c2fe9d804a8a0bf0d24 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c