summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_crtc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-09-27 11:11:49 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-01 05:45:45 (GMT)
commitfc4833c17cd58ad5de733e9e6649873cf0b34f2c (patch)
tree18514a39c82453b88cce0964e61b6a1302817e96 /drivers/gpu/drm/drm_crtc.c
parentf7e121b76469624459152542c1b809a1ebc835fe (diff)
downloadlinux-fc4833c17cd58ad5de733e9e6649873cf0b34f2c.tar.xz
drm: Revert "drm: Reject modes with more than 1 stereo flags set"
Now that the coding of stereo layout has changed from a bit field to an enum, we need remove that check. 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>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r--drivers/gpu/drm/drm_crtc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 807309f..2ce80ed 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -1319,10 +1319,6 @@ static int drm_crtc_convert_umode(struct drm_display_mode *out,
if (in->clock > INT_MAX || in->vrefresh > INT_MAX)
return -ERANGE;
- /* At most, 1 set bit describing the 3D layout of the mode */
- if (hweight32(in->flags & DRM_MODE_FLAG_3D_MASK) > 1)
- return -EINVAL;
-
out->clock = in->clock;
out->hdisplay = in->hdisplay;
out->hsync_start = in->hsync_start;