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:
f2ecf2e
)
drm: Carry over the stereo flags when adding the alternate mode
author
Damien Lespiau
<
[email protected]
>
Wed, 25 Sep 2013 15:45:28 +0000
(16:45 +0100)
committer
Daniel Vetter
<
[email protected]
>
Tue, 1 Oct 2013 05:45:31 +0000
(07:45 +0200)
This allows to expose the alternate clock versions of the stereo modes.
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Damien Lespiau <
[email protected]
>
Acked-by: Dave Airlie <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_edid.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_edid.c
b/drivers/gpu/drm/drm_edid.c
index 48f1746f67d8eae823ed38c08e76a2ad7395b8e7..c24af1d6cb4779025f5de7f86d134a50042f19cd 100644
(file)
--- a/
drivers/gpu/drm/drm_edid.c
+++ b/
drivers/gpu/drm/drm_edid.c
@@
-2507,6
+2507,9
@@
add_alternate_cea_modes(struct drm_connector *connector, struct edid *edid)
if (!newmode)
continue;
+ /* Carry over the stereo flags */
+ newmode->flags |= mode->flags & DRM_MODE_FLAG_3D_MASK;
+
/*
* The current mode could be either variant. Make
* sure to pick the "other" clock for the new mode.