]> 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:37:58 +0000 (14:37 +0200)
commitfb26963bd24739ec3f08dd387c8b82476ae825da
tree00c20c02e8e8700a99c9c156d3e80d0046ab31bc
parent654c295f9079d2c7875172142022168e34c4e34e
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