drm: Carry over the stereo flags when adding the alternate mode
This allows to expose the alternate clock versions of the stereo modes. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Dave Airlie <airlied@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f2ecf2e3bc
commit
2713021206
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue