drm/i915: Split the crtc_mode_set function along HAS_PCH_SPLIT() lines.
authorEric Anholt <eric@anholt.net>
Wed, 30 Mar 2011 20:01:02 +0000 (13:01 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:54:39 +0000 (13:54 -0700)
commitf564048e201ead4d4d02138bc60ae28f83797ac4
treec890841377e17de48002b6b07506cad267ee9f49
parentd2dff872ac44540622ef77a2b7d6ce4a1b145931
drm/i915: Split the crtc_mode_set function along HAS_PCH_SPLIT() lines.

This path, which shouldn't be *that* complicated, is now so littered
with per-chipset tweaks that it's hard to trace the order of what
happens.  HAS_PCH_SPLIT() is the most radical change across chipsets,
so it seems like a natural split to simplify the code.

This first commit just copies the existing code without changing
anything.

v2: updated to track removal of call to intel_enable_plane from i9xx_crtc_mode_set

Signed-off-by: Eric Anholt <eric@anholt.net>
Hella-acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c