Commit fc4833c1 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter

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: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f7e121b7
...@@ -1319,10 +1319,6 @@ static int drm_crtc_convert_umode(struct drm_display_mode *out, ...@@ -1319,10 +1319,6 @@ static int drm_crtc_convert_umode(struct drm_display_mode *out,
if (in->clock > INT_MAX || in->vrefresh > INT_MAX) if (in->clock > INT_MAX || in->vrefresh > INT_MAX)
return -ERANGE; 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->clock = in->clock;
out->hdisplay = in->hdisplay; out->hdisplay = in->hdisplay;
out->hsync_start = in->hsync_start; out->hsync_start = in->hsync_start;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment