drm: Check crtc x and y coordinates
authorVille Syrjälä <[email protected]>
Tue, 13 Mar 2012 10:35:41 +0000 (12:35 +0200)
committerDave Airlie <[email protected]>
Thu, 15 Mar 2012 09:49:26 +0000 (09:49 +0000)
commit1d97e9154821d52a5ebc226176d4839c7b86b116
treef2ca2239eb3b5b2e8d99bd0f8b656fb8dd6a7eac
parente36fae3889db38f6cacabea3998b9a09320f2ad2
drm: Check crtc x and y coordinates

The crtc x/y panning coordinates are stored as signed integers
internally. The user provides them as unsigned, so we should check
that the user provided values actually fit in the internal datatypes.

Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/drm_crtc.c