]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix MMIO HDP flush on SRIOV
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 4 Nov 2021 20:15:43 +0000 (16:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 20:02:25 +0000 (15:02 -0500)
commit67ccc286d283a9621f8dab02f57a0746ac5e0e34
treed1b51dbb2f03cc87075c74ea7360107d192dfda2
parent183b8c70348e8991bc1bb81710777587b8549f2a
drm/amdgpu: Fix MMIO HDP flush on SRIOV

Disable HDP register remapping on SRIOV and set rmmio_remap.reg_offset
to the fixed address of the VF register for hdp_v*_flush_hdp.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Tested-by: Bokun Zhang <bokun.zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/soc15.c