drm/amd/display: Replay + IPS + ABM in Full Screen VPB
authorChunTao Tso <chuntao.tso@amd.com>
Mon, 8 Jan 2024 05:46:59 +0000 (13:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jan 2024 21:00:24 +0000 (16:00 -0500)
commitf37f7979202d45489d84469838f5352cda3557bc
tree661fad80da564b6fc9f5b9a82389d530a19e1378
parent196107eb1e1557df25e1425bbfb53e0f7588b80a
drm/amd/display: Replay + IPS + ABM in Full Screen VPB

[Why]
Because ABM will wait VStart to start getting histogram data,
 it will cause we can't enter IPS while full screnn video playing.

[How]
Modify the panel refresh rate to the maximun multiple of current
 refresh rate.

Reviewed-by: Dennis Chan <dennis.chan@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: ChunTao Tso <chuntao.tso@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
drivers/gpu/drm/amd/display/modules/power/power_helpers.c
drivers/gpu/drm/amd/display/modules/power/power_helpers.h