drm/amd/display: Underflow workaround by increasing SR exit latency
authorNicholas Susanto <nicholas.susanto@amd.com>
Thu, 18 Jan 2024 18:34:40 +0000 (13:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jan 2024 20:46:00 +0000 (15:46 -0500)
commit5024ae7fa88c1236b12607a84116af37245c0e59
tree60a508ab0b8108d12bef7822eb6ad83f4ea729ce
parentc50c9c872e76d6b171b5fb77341f337c78349bca
drm/amd/display: Underflow workaround by increasing SR exit latency

[Why]
On 14us for exit latency time causes underflow for 8K monitor with HDR on.
Increasing the latency to 28us fixes the underflow.

[How]
Increase the latency to 28us. This workaround should be sufficient
before we figure out why SR exit so long.

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@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/clk_mgr/dcn35/dcn35_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c