drm: Reject stereo modes with an unknown layout
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 27 Sep 2013 11:11:50 +0000 (12:11 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:45 +0000 (07:45 +0200)
commit5848ad409c1817f5b70507e6b4440fcbd002f6c5
tree9d1244efe4cbf2d2fa37789acc1007ac1eeffa35
parentfc4833c17cd58ad5de733e9e6649873cf0b34f2c
drm: Reject stereo modes with an unknown layout

The kernel shouldn't accept invalid modes, just say No.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h
include/uapi/drm/drm_mode.h