mirror_ubuntu-kernels/drivers/gpu/drm/amd
Wenjing Liu 2d7f3d1a58 drm/amd/display: Implement wait_for_odm_update_pending_complete
[WHY]
Odm update is doubled buffered. We need to wait for ODM update to be
completed before optimizing bandwidth or programming new udpates.

[HOW]
implement wait_for_odm_update_pending_complete function to wait for:
1. odm configuration update is no longer pending in timing generator.
2. no pending dpg pattern update for each active OPP.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-03-20 13:12:58 -04:00
..
acp
amdgpu drm/amdgpu: Bypass display ta if display hw is not available 2024-03-20 13:12:58 -04:00
amdkfd drm/amdkfd: make kfd_class constant 2024-03-06 15:24:50 -05:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display drm/amd/display: Implement wait_for_odm_update_pending_complete 2024-03-20 13:12:58 -04:00
include drm/amdgpu: Add pcie v6_1_0 ip headers (v5) 2024-03-07 15:32:38 -05:00
pm drm/amdgpu/pm: Check the validity of overdiver power limit 2024-03-20 13:12:57 -04:00