drm: claim PCI device when running in modesetting mode.
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 4 Jan 2009 21:55:33 +0000 (16:55 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:23:58 +0000 (14:23 +1000)
Under kernel modesetting, we manage the device at all times, regardless
of VT switching and X servers, so the only decent thing to do is to
claim the PCI device.  In that case, we call the suspend/resume hooks
directly from the pci driver hooks instead of the current class device detour.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found