summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
diff options
context:
space:
mode:
authorDaniel Miess <daniel.miess@amd.com>2023-06-22 15:11:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-07-18 21:40:56 +0300
commit2a9482e55968ed7368afaa9c2133404069117320 (patch)
tree8b387d9567dda460d6fbf6382c5b2d1527ea3379 /drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
parenta460beefe77d780ac48f19d39333852a7f93ffc1 (diff)
downloadlinux-2a9482e55968ed7368afaa9c2133404069117320.tar.xz
drm/amd/display: Prevent vtotal from being set to 0
[Why] In dcn314 DML the destination pipe vtotal was being set to the crtc adjustment vtotal_min value even in cases where that value is 0. [How] Only set vtotal to the crtc adjustment vtotal_min value in cases where the value is non-zero. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Alan Liu <haoping.liu@amd.com> Signed-off-by: Daniel Miess <daniel.miess@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c')
0 files changed, 0 insertions, 0 deletions