drm/i915: split display functions by chip type
commite70236a8d3d0a4c100a0b9f7d394d9bda9c56aca
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 21 Sep 2009 17:42:27 +0000 (21 10:42 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 21 Sep 2009 22:47:33 +0000 (21 15:47 -0700)
treeb9852594a97f0f2c28060aa0397868d052a5ac69
parent8542a0bbbbda412560820b4c3b04e8399e2e99c1
drm/i915: split display functions by chip type

This patch splits out several of the display functions into a separate
display function table to avoid tons of chipset specific if..else
if..else if blocks all over.  There are more opportunities for this
(some noted in the structure defintition); so more cleanup patches will
follow.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c