aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2018-04-10 16:06:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:44:14 -0500
commit403dc5e8aab7b3d18a625e516698ea49d2be432e (patch)
treeefb397ad060e98b250cc5ecf124bfb840a60c55e /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent34ff937029edf708d7db0d450b5f505969b68950 (diff)
drm/amd/display: Use int for calculating vline start
We are not sure these calculations will never need negative numbers. Use signed integers and warn and cap at 0 if this ever happens. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions