OSDN Git Service

i915/drm: clean up a lot of the i915/drm startup/teardown sequences
authorDavid Airlie <airlied@asimov.stargames.com.au>
Fri, 13 Apr 2007 04:33:52 +0000 (14:33 +1000)
committerDave Airlie <airlied@airlied2.(none)>
Fri, 13 Apr 2007 04:51:16 +0000 (14:51 +1000)
commitcc471a361fc7058df4fb8d15d9c9a8b5cdd3dd77
treea5dede8c959941189f7590a1f0ebfce1621a5590
parent27598bacfd8e086832753a8b931f0fce18989f8d
i915/drm: clean up a lot of the i915/drm startup/teardown sequences

When the kernel driver is loaded it sets up a lot of stuff..
it tears down the same stuff on unload.

This add a new map type called DRM_DRIVER which means the driver will clean the mapping up
and fix up the map cleaner
linux-core/drm_bufs.c
linux-core/drm_drv.c
linux-core/drm_stub.c
linux-core/i915_drv.c
shared-core/drm.h
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_init.c