drm: add modesetting as a driver feature.
authorDave Airlie <airlied@redhat.com>
Thu, 28 Feb 2008 06:24:17 +0000 (16:24 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Feb 2008 06:24:17 +0000 (16:24 +1000)
commit01dcc47d895997f77c9457558e974d41c23ed4e1
tree0550c9f9675b7dbcffa65583e4e866a36bf58057
parent132ba667f4a88bb182e2d2abc7c4e60699398380
drm: add modesetting as a driver feature.

This change adds a driver feature that for i915 is controlled by a module
parameter. You now need to do insmod i915.ko modeset=1 to enable it the
modesetting paths.

It also fixes up lots of X paths. I can run my new DDX driver on this code
with and without modesetting enabled
linux-core/drmP.h
linux-core/drm_drv.c
linux-core/drm_fops.c
linux-core/drm_irq.c
linux-core/drm_stub.c
linux-core/i915_drv.c
shared-core/i915_dma.c
shared-core/i915_init.c