drm/amd/display: set minimum of VBlank_nom
authorChunTao Tso <chuntao.tso@amd.com>
Fri, 4 Aug 2023 06:57:44 +0000 (14:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 18:59:11 +0000 (14:59 -0400)
commitec4247823bbc88a7ee81fec579d1b4408bba686d
tree18e05a3f37bfeacd18cf78aa4b0e4fa5cbe77498
parent3ea69187349283b2258e5aedb28f203181a1d488
drm/amd/display: set minimum of VBlank_nom

[Why]
If VBlank_nom is too small, it will cause
VStartUP_Start smaller than VBackPorch + VSync width which is an
invalid case for VStartUP_Start and where to send AS-SDP.

[How]
Setup a minimum value to VBlank_nom

Reviewed-by: Reza Amini <reza.amini@amd.com>
Acked-by: Wayne Lin <wayne.lin@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/dml/dcn314/dcn314_fpu.c