drm: Check the fb size against the adjusted v/hdisplay for stereo modes
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:31 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:37 +0000 (07:45 +0200)
commita0c1bbb0cc5cf47877de9bd0d2ffd0286ad1653e
treec17a3c44704244ed8739e4d5191ecec3f885ce65
parentc11e928360777be8eaf5023032e9b6c62eb2c43e
drm: Check the fb size against the adjusted v/hdisplay for stereo modes

Some stereo modes, like frame packing, need a larger CRTC viewport than
the "natural" underlying 2D mode and thus drm_crtc_check_viewport()
needs to query the adjusted mode to use the correct h/vdisplay.

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>
drivers/gpu/drm/drm_crtc.c
This page took 0.024426 seconds and 5 git commands to generate.