drm/mode: Validate modes inside drm_crtc_convert_umode
authorDaniel Stone <daniels@collabora.com>
Fri, 22 May 2015 12:34:47 +0000 (13:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 14:18:20 +0000 (16:18 +0200)
commit7dec9a9648f825a0698fd875d2834b597f122bd6
tree9f56fa54854f179a9c73f3eadb7e6b32838dd665
parent9f658b7b62e7aefc1ee067136126eca3f58cabfd
drm/mode: Validate modes inside drm_crtc_convert_umode

The only user of convert_umode was also performing mode validation, so
do that in the same place.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c