]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 16 Apr 2025 19:57:46 +0000 (15:57 -0400)
commitc235a7132258ac30bd43d228222986022d21f5de
tree0896bcc92ee3fa40fb27a13f53bad08ca7e9bc98
parentcd9e6d6fdd2de60bfb4672387c17d4ee7157cf8e
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>
(cherry picked from commit 1d9bff4cf8c53d33ee2ff1b11574e5da739ce61c)
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