summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/vga
diff options
context:
space:
mode:
authorDave Airlie2012-02-20 15:18:07 +0100
committerDave Airlie2012-03-15 14:35:33 +0100
commit2c07a21d6fb0be47fda696a618b726ea258ed1dd (patch)
tree8ab0b7541ee4f9f75397d3da190426041dc08c6e /drivers/gpu/vga
parentdrm/modeset: add helper to unplug all connectors from sysfs (diff)
downloadkernel-qcow2-linux-2c07a21d6fb0be47fda696a618b726ea258ed1dd.tar.gz
kernel-qcow2-linux-2c07a21d6fb0be47fda696a618b726ea258ed1dd.tar.xz
kernel-qcow2-linux-2c07a21d6fb0be47fda696a618b726ea258ed1dd.zip
drm: add core support for unplugging a device (v2)
Two parts to this, one is simple unplug from sysfs for the device node. The second adds an unplugged state, if we have device opens, we just set the unplugged state and return, if we have no device opens we drop the drm device. If after a lastclose we discover we are unplugged we then drop the drm device. v2: use an atomic for unplugged and wrap it for users, add checks on open + mmap + ioctl entry points. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/vga')
0 files changed, 0 insertions, 0 deletions