modesetting: reorganise out crtc/outputs are allocated.
authorDave Airlie <airlied@redhat.com>
Fri, 30 May 2008 01:25:41 +0000 (11:25 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 30 May 2008 01:25:41 +0000 (11:25 +1000)
commit98c5cf7f6fc51f1a8f5f90b3895009cd38dd8f22
treed6c6d50e2e244d953e135cdc71dbd1aa066709e2
parentdf8cd54286fbae5903d8ede390ec4a11cb6c4b6c
modesetting: reorganise out crtc/outputs are allocated.

Use subclassing from the drivers to allocate the objects. This saves
two objects being allocated for each crtc/output and generally makes
exit paths cleaner.
linux-core/drm_crtc.c
linux-core/drm_crtc.h
linux-core/intel_crt.c
linux-core/intel_display.c
linux-core/intel_drv.h
linux-core/intel_dvo.c
linux-core/intel_lvds.c
linux-core/intel_modes.c
linux-core/intel_sdvo.c
linux-core/intel_tv.c
shared-core/i915_irq.c