OSDN Git Service

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>
Thu, 31 Aug 2023 21:56:54 +0000 (17:56 -0400)
commited6445f5894dc5a952766725b0689451a58fcfd8
treeef6a66f5d39f8916935d540f7ee91984cee1bd1a
parent8f31c7be3e89634767686ffab869cd3ebfea188f
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