commit | 112b715e8e2f9ef7b96930888bb099ce10b4c3cc | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Sun Jan 04 16:55:33 2009 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Fri Mar 13 14:23:58 2009 +1000 |
tree | 1058edb8beb6dd60a794d2333e43d37cc7116f06 | |
parent | 41c2e75e60200a860a74b7c84a6375c105e7437f [diff] |
drm: claim PCI device when running in modesetting mode. 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>