OSDN Git Service

drm/i915: Prefer crtc_{h|v}display for pipe src dimensions
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:39 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:39 +0000 (07:45 +0200)
commit350a10ca7e43f2641ed217f5d248c1ddbadb5da6
treeaadd17d3373a8f17c054dc3cd263891256c45a89
parent6ce70f5e8a13c1673e2926453ea4313eb97707e0
drm/i915: Prefer crtc_{h|v}display for pipe src dimensions

Now that we ask to adjust the crtc timings for stereo modes, the correct
pipe_src_w and pipe_src_h can be found in crtc_vdisplay and crtc_hdisplay.

v2: Add comment about why pipe_src_w/h need to be set afert
    set_crtcinfo() (Daniel Vetter)

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/i915/intel_display.c