modesetting: reorganise code into core and helper functions.
authorDave Airlie <airlied@redhat.com>
Thu, 29 May 2008 04:02:14 +0000 (14:02 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 29 May 2008 04:02:14 +0000 (14:02 +1000)
commitdf8cd54286fbae5903d8ede390ec4a11cb6c4b6c
tree915a1b55354bbd6e2f32f68ecd4d1fde8fb5cae6
parentee5afc63428488c9c39e5ecd7d8cdc646a7b65b7
modesetting: reorganise code into core and helper functions.

This splits a lot of the core modesetting code out into a file of
helper functions, that are only called from themselves and/or the driver.

The driver gets called into more often or can call these functions from itself
if it is a helper using driver.

I've broken framebuffer resize doing this but I didn't like the API for that
in any case.
15 files changed:
linux-core/Makefile.kernel
linux-core/drm_crtc.c
linux-core/drm_crtc.h
linux-core/drm_crtc_helper.c [new file with mode: 0644]
linux-core/drm_crtc_helper.h [new file with mode: 0644]
linux-core/intel_crt.c
linux-core/intel_display.c
linux-core/intel_drv.h
linux-core/intel_dvo.c
linux-core/intel_fb.c
linux-core/intel_lvds.c
linux-core/intel_sdvo.c
linux-core/intel_tv.c
shared-core/i915_init.c
shared-core/i915_irq.c