drm/amdgpu: Do not program PF-only regs in hdp_v4_0.c under SRIOV (v2)
authorVictor Lu <victorchengchi.lu@amd.com>
Wed, 11 Oct 2023 20:27:59 +0000 (16:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Nov 2023 22:01:42 +0000 (17:01 -0500)
commit0b1695710ab8be263a5c19f17240c6a44b4b0a3e
treeab6674e073435e97ce8f9128c7b04c7b490c728f
parenta78b4814697251419f3460bb124aaa5689e65055
drm/amdgpu: Do not program PF-only regs in hdp_v4_0.c under SRIOV (v2)

The following regs can only be programmed by the PF:
HDP_MISC_CNTL
HDP_NONSURFACE_BASE
HDP_NONSURFACE_BASE_HI

v2: update commit message

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Samir Dhume <samir.dhume@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c