OSDN Git Service

drm/modeset: add helper to unplug all connectors from sysfs
authorDave Airlie <airlied@redhat.com>
Mon, 20 Feb 2012 14:16:40 +0000 (14:16 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Mar 2012 13:35:32 +0000 (13:35 +0000)
commitcbc7e22151d99ed1dd7649d268ad3d81b9e6255a
tree18ea223883722b1e7b6691f452df640d0775e4d2
parent1828fe6c5f593b835197edd30a28d80635238ab3
drm/modeset: add helper to unplug all connectors from sysfs

In order to get correct ordering at hot-unplug for userspace,
we need to tear down all the sysfs bits at the correct time.

This adds a helper to allow drivers to remove the sysfs nodes
for all connectors.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h