]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Do not write to GRBM_CNTL if Aldebaran SRIOV
authorVictor Lu <victorchengchi.lu@amd.com>
Thu, 13 Feb 2025 23:41:26 +0000 (18:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Mar 2025 17:52:29 +0000 (12:52 -0500)
commit3646cc65e2747ff112d7de1a05a2e756414b771e
tree78ee4de087f8557aa32e763763eca02d65194c43
parenta29936bcd21eea7ac87546e2107313cd0f62c4d7
drm/amdgpu: Do not write to GRBM_CNTL if Aldebaran SRIOV

Aldebaran SRIOV VF does not have write permissions to GRBM_CTNL.
This access can be skipped to avoid a dmesg warning.

v2: Use GC IP version check instead of asic check

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/gfx_v9_0.c