summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
diff options
context:
space:
mode:
authorVictor Zhao <Victor.Zhao@amd.com>2025-10-09 10:42:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-10-20 18:25:41 -0400
commit6169b555db1392e79159e114fff105987231e4ce (patch)
treebfdb0b2011d8c467896886a3845d4b0be99ab84b /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
parente71ca1efd306dd671bd5752ff1c0c5de9b2bd03f (diff)
drm/amdgpu: use GPU_HDP_FLUSH for sriov
Currently SRIOV runtime will use kiq to write HDP_MEM_FLUSH_CNTL for hdp flush. This register need to be write from CPU for nbif to aware, otherwise it will not work. Implement amdgpu_kiq_hdp_flush and use kiq to do gpu hdp flush during sriov runtime. v2: - fallback to amdgpu_asic_flush_hdp when amdgpu_kiq_hdp_flush failed - add function amdgpu_mes_hdp_flush v3: - changed returned error Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Victor Zhao <Victor.Zhao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c')
0 files changed, 0 insertions, 0 deletions