drm/i915: correctly update crtc->x/y in set_base
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Sep 2012 19:58:30 +0000 (21:58 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Sep 2012 22:52:43 +0000 (00:52 +0200)
commit6c4c86f51c985a146ff7185abff102fc535f6fa8
treee3807de0061fc114a5a08ad081f0a8c139044da8
parente04190e0ecb236c51af181c18c545ea076fb9cca
drm/i915: correctly update crtc->x/y in set_base

While reworking the modeset sequence, this got lost in

commit 25c5b2665fe4cc5a93edd29b62e7c05c15dddd26
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Jul 8 22:08:04 2012 +0200

    drm/i915: implement new set_mode code flow

I've noticed this because some Xorg versions seem to set up a new mode
with every crtc at (0,0) and then pan to the right multi-monitor
setup. And since some hacks of mine added more calls to mode_set using
the stored crtc->x/y my multi-screen setup blew up.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c