Skip to content

Commit 89570ee

Browse files
thosairlied
authored andcommitted
drm: fix the addition of the side-by-side (half) flag for extra 3D modes
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 <thomas.wood@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 7d14b95 commit 89570ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/drm_edid.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2701,7 +2701,7 @@ static int add_3d_struct_modes(struct drm_connector *connector, u16 structure,
27012701
if (structure & (1 << 8)) {
27022702
newmode = drm_mode_duplicate(dev, &edid_cea_modes[cea_mode]);
27032703
if (newmode) {
2704-
newmode->flags = DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF;
2704+
newmode->flags |= DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF;
27052705
drm_mode_probed_add(connector, newmode);
27062706
modes++;
27072707
}

0 commit comments

Comments
 (0)