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:
7d14b95
)
drm: fix the addition of the side-by-side (half) flag for extra 3D modes
author
Thomas Wood
<
[email protected]
>
Thu, 28 Nov 2013 15:35:04 +0000
(15:35 +0000)
committer
Dave Airlie
<
[email protected]
>
Thu, 5 Dec 2013 01:00:59 +0000
(11:00 +1000)
Ensure the side-by-side (half) flag is added to any existing flags when
adding modes from 3D_Structure_ALL.
Signed-off-by: Thomas Wood <
[email protected]
>
Reviewed-by: Ville Syrjälä <
[email protected]
>
Signed-off-by: Dave Airlie <
[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 381c698e8a3e2558101bdff043b20c1eea3d91e0..0a1e4a5f4234dce320788330e97e8888016338ba 100644
(file)
--- a/
drivers/gpu/drm/drm_edid.c
+++ b/
drivers/gpu/drm/drm_edid.c
@@
-2701,7
+2701,7
@@
static int add_3d_struct_modes(struct drm_connector *connector, u16 structure,
if (structure & (1 << 8)) {
newmode = drm_mode_duplicate(dev, &edid_cea_modes[cea_mode]);
if (newmode) {
- newmode->flags = DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF;
+ newmode->flags
|
= DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF;
drm_mode_probed_add(connector, newmode);
modes++;
}