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>
Wed, 31 Jan 2024 22:30:38 +0000 (17:30 -0500)
commit191cb4ed33a61c90feed8bda0f0df3a419604fc8
tree6f02ba35d8ed7c07ca9555e837439224c178d61e
parent39079fe8e660851abbafa90cd55cbf029210661f
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