commit | 403dc5e8aab7b3d18a625e516698ea49d2be432e | [log] [tgz] |
---|---|---|
author | Harry Wentland <harry.wentland@amd.com> | Tue Apr 10 16:06:34 2018 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue May 15 13:44:14 2018 -0500 |
tree | efb397ad060e98b250cc5ecf124bfb840a60c55e | |
parent | 34ff937029edf708d7db0d450b5f505969b68950 [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>