linux/drivers/gpu/drm/amd/display
Aric Cyr 6e4337f695 drm/amd/display: Unify optimize_required flags and VRR adjustments
[why]
There is only a single call to dc_post_update_surfaces_to_stream so
there is no need to have two flags to control it. Unifying this to a
single flag allows dc_stream_adjust_vmin_vmax to skip actual
programming when there is no change required.

[how]
Remove wm_optimze_required flag and set only optimize_required in its
place. Then in dc_stream_adjust_vmin_vmax, check that the stream timing
range matches the requested one and skip programming if they are equal.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-12-19 14:46:54 -05:00
..
amdgpu_dm drm/amd/display: do not send commands to DMUB if DMUB is inactive from S3 2023-12-15 12:16:58 -05:00
dc drm/amd/display: Unify optimize_required flags and VRR adjustments 2023-12-19 14:46:54 -05:00
dmub drm/amd/display: do not send commands to DMUB if DMUB is inactive from S3 2023-12-15 12:16:58 -05:00
include drm/amd/display: add dc_fixpt_from_s3132 helper 2023-12-13 16:08:01 -05:00
modules drm/amd/display: Disable PSR-SU on Parade 0803 TCON again 2023-12-13 15:09:54 -05:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Refactor OPTC into component folder 2023-11-29 16:49:01 -05:00
TODO