]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Fix primary plane size for stereo doubled modes for legacy setcrtc
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Nov 2015 15:02:34 +0000 (17:02 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 Nov 2015 14:16:42 +0000 (16:16 +0200)
commit97228c06db92b17fb29d000a22c6ee5a5ffed71c
tree8364daf56e117c0789397004915756a9e056657f
parent3da8f9b8d23d108736a5d941355a66851b91bafe
drm: Fix primary plane size for stereo doubled modes for legacy setcrtc

Properly double the hdisplay/vdisplay timings that we use as the primary
plane size with stereo doubled modes. Otherwise the modeset gets
rejected on machines where the primary plane must be fullscreen, and on
the rest only the first eye would get a visible plane.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org #v3.19+
Fixes: 01f6745c6ee4 ("drm/atomic-helper: implementatations for legacy interfaces")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447686157-29607-1-git-send-email-ville.syrjala@linux.intel.com
Testcase: igt/kms_3d
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_atomic_helper.c