drm/modes: drop maxPitch from drm_mode_validate_size
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Jan 2014 15:39:31 +0000 (16:39 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Mar 2014 11:48:43 +0000 (12:48 +0100)
commit3e70292cd4a002cd799a1cd4115286cba3933d6d
treeed56de8574ed10f41a33effc168257b0ecb750dc
parentba0c2422d7cda623acbbcde24542b52c4999bc84
drm/modes: drop maxPitch from drm_mode_validate_size

Totally unused and actually redundant with maxX for display mode
validation. The fb helper otoh needs to check pitch limits,
but that is delegated into drivers instead.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_modes.c
include/drm/drm_modes.h