Victor Zhao
bf2bc61638
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 >
2024-08-20 22:14:14 -04:00
Evan Quan
25faeddcf3
drm/amdgpu: expand cg_flags from u32 to u64
...
With this, we can support more CG flags.
Signed-off-by: Evan Quan <evan.quan@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2022-04-08 17:24:24 -04:00
Evan Quan
ff4b601a05
drm/amdgpu: update HDP LS settings
...
Avoid unnecessary register programming on feature disablement.
Signed-off-by: Evan Quan <evan.quan@amd.com >
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-06-30 00:18:23 -04:00
Likun Gao
f06d5e4285
drm/amdgpu: add hdp version 5 functions
...
Unify hdp related function into hdp structure for hdp version 5.
Signed-off-by: Likun Gao <Likun.Gao@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-01-05 11:32:55 -05:00