drm/amd/amdgpu: allow use kiq to do hdp flush under sriov
authorVictor Zhao <Victor.Zhao@amd.com>
Mon, 19 Aug 2024 03:16:13 +0000 (11:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:14 +0000 (22:14 -0400)
commitbf2bc61638033d118c9ef4ab1204295ba6694401
treead7ac50adc353d651299b64111c9e425ef7d0d9c
parentc69b07f7bbc905022491c45097923d3487479529
drm/amd/amdgpu: allow use kiq to do hdp flush under sriov

when use cpu to do page table update under sriov runtime, since mmio
access is blocked, kiq has to be used to flush hdp.

change WREG32_NO_KIQ to WREG32 to allow kiq.

Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c
drivers/gpu/drm/amd/amdgpu/hdp_v5_0.c
drivers/gpu/drm/amd/amdgpu/hdp_v6_0.c
drivers/gpu/drm/amd/amdgpu/hdp_v7_0.c