]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3dec18d5d210f324f805407818d1563fc9bbc823
tree6900913788849b5d59eb188a0023fd4c67154eac
parentc59cd83ec1b1a95895728c895f81f55e01ffb433
drm: Fix the CRTC_STEREO_DOUBLE_ONLY define to include stero modes

The CRTC_STEREO_DOUBLE_ONLY define was introduced in commit:

  commit 351721c18eccb4b4ac63f955315ad303a0ba9346
  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