]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ee15b20093eb3ce6a1f5f2f944c74033982d943
treee3807de0061fc114a5a08ad081f0a8c139044da8
parentc3fa3eb4f5334ac163e28a917819e368f50878ea
drm/i915: correctly update crtc->x/y in set_base

While reworking the modeset sequence, this got lost in

commit eb67314d379a17faafad91c2522287d9a3eaa863
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