diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-23 10:39:31 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 07:48:43 -0400 |
commit | 3e70292cd4a002cd799a1cd4115286cba3933d6d (patch) | |
tree | ed56de8574ed10f41a33effc168257b0ecb750dc /include/drm/drm_modes.h | |
parent | ba0c2422d7cda623acbbcde24542b52c4999bc84 (diff) |
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>
Diffstat (limited to 'include/drm/drm_modes.h')
-rw-r--r-- | include/drm/drm_modes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index b23628b22cff..b3507f15d010 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h | |||
@@ -212,7 +212,7 @@ bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1, | |||
212 | /* for use by the crtc helper probe functions */ | 212 | /* for use by the crtc helper probe functions */ |
213 | void drm_mode_validate_size(struct drm_device *dev, | 213 | void drm_mode_validate_size(struct drm_device *dev, |
214 | struct list_head *mode_list, | 214 | struct list_head *mode_list, |
215 | int maxX, int maxY, int maxPitch); | 215 | int maxX, int maxY); |
216 | void drm_mode_prune_invalid(struct drm_device *dev, | 216 | void drm_mode_prune_invalid(struct drm_device *dev, |
217 | struct list_head *mode_list, bool verbose); | 217 | struct list_head *mode_list, bool verbose); |
218 | void drm_mode_sort(struct list_head *mode_list); | 218 | void drm_mode_sort(struct list_head *mode_list); |