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>
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;