drm: Fix the CRTC_STEREO_DOUBLE_ONLY define to include stero modes
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 16 Feb 2015 15:12:31 +0000 (15:12 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Feb 2015 10:19:35 +0000 (11:19 +0100)
commit498b8738485ab1a327163f771953f32cf35ca3b5
tree6900913788849b5d59eb188a0023fd4c67154eac
parent30b79f062ea0ab5df3afdfeb503794a5b4beb8f1
drm: Fix the CRTC_STEREO_DOUBLE_ONLY define to include stero modes

The CRTC_STEREO_DOUBLE_ONLY define was introduced in commit:

  commit ecb7e16bf187bc369cf6a5cd108582c01329980d
  Author: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
  Date:   Mon Dec 1 15:40:09 2014 -0800

      drm: add helper to get crtc timings (v5)

but if we want the stereo h/v adjustments, we need to set the
CRTC_STEREO_DOUBLE flag. Otherwise, we'll get the wrong h/v for frame packing
stereo 3d modes.

Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_modes.h