Reapply: drm/amdgpu: Use generic hdp flush function
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 11 Apr 2025 11:15:46 +0000 (16:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 May 2025 15:21:37 +0000 (11:21 -0400)
commitafc6053d4c4b0a6be500b9e643aa17221e93a57b
tree0b763c8e404ac7cccce8432519c18f1a3b8c52ec
parentdbc064adfcf9095e7d895bea87b2f75c1ab23236
Reapply: drm/amdgpu: Use generic hdp flush function

Except HDP v5.2 all use a common logic for HDP flush. Use a generic
function. HDP v5.2 forces NO_KIQ logic, revisit it later.

Reapply after fixing up an HDP regression.

v2: merge the fix (Alex)

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
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