X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=include%2Fdrm%2Fdrm_modes.h;h=b162ccd321f34c9ed43cfa74117fee9c0f3aca15;hp=8f17811d27f50560214044c0f7356f604f1a91f4;hb=adc31849b27fefeca6c225d3895143a2ec6970fa;hpb=0e2cfc005b376ed7b5c9a9fc466b5842fcc18cc7 diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index 8f17811d27f5..b162ccd321f3 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h @@ -220,9 +220,9 @@ bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2); /* for use by the crtc helper probe functions */ -void drm_mode_validate_size(struct drm_device *dev, - struct list_head *mode_list, - int maxX, int maxY); +enum drm_mode_status drm_mode_validate_basic(const struct drm_display_mode *mode); +enum drm_mode_status drm_mode_validate_size(const struct drm_display_mode *mode, + int maxX, int maxY); void drm_mode_prune_invalid(struct drm_device *dev, struct list_head *mode_list, bool verbose); void drm_mode_sort(struct list_head *mode_list);