]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: Use the right function for hdp flush
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 11 Apr 2025 12:10:26 +0000 (17:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 21:01:06 +0000 (17:01 -0400)
commit1d9bff4cf8c53d33ee2ff1b11574e5da739ce61c
tree352580af7fcf97233401c3bff962a40be6f8b34d
parent5045c6c69872b9dd145e9ecbc9731d81a5954be1
drm/amdgpu: Use the right function for hdp flush

There are a few prechecks made before HDP flush like a flush is not
required on APU bare metal. Using hdp callback directly bypasses those
checks. Use amdgpu_device_flush_hdp which takes care of prechecks.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
drivers/gpu/drm/amd/amdgpu/psp_v14_0.c