diff options
author | Daniel Miess <[email protected]> | 2023-06-22 08:11:48 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-07-18 14:40:56 -0400 |
commit | 2a9482e55968ed7368afaa9c2133404069117320 (patch) | |
tree | 8b387d9567dda460d6fbf6382c5b2d1527ea3379 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a460beefe77d780ac48f19d39333852a7f93ffc1 (diff) |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Daniel Miess <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions