projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e121b
)
drm: Revert "drm: Reject modes with more than 1 stereo flags set"
author
Damien Lespiau
<
[email protected]
>
Fri, 27 Sep 2013 11:11:49 +0000
(12:11 +0100)
committer
Daniel Vetter
<
[email protected]
>
Tue, 1 Oct 2013 05:45:45 +0000
(07:45 +0200)
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 <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_crtc.c
b/drivers/gpu/drm/drm_crtc.c
index 807309f80b0b2766af2cff330ac28eeb362ac611..2ce80ed55b083051d83c0888f09867b3a34f6057 100644
(file)
--- 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;