1. 21 Mar, 2012 2 commits
  2. 20 Mar, 2012 34 commits
  3. 16 Mar, 2012 1 commit
  4. 15 Mar, 2012 3 commits
    • Dave Airlie's avatar
      drm/udl: initial UDL driver (v4) · 5320918b
      Dave Airlie authored
      This is an initial drm/kms driver for the displaylink devices.
      
      Supports fb_defio,
      supports KMS dumb interface
      supports 24bpp via conversion to 16bpp, hw can do this better.
      supports hot unplug using new drm core features.
      
      On an unplug, it disables connector polling, unplugs connectors
      from sysfs, unplugs fbdev layer (using Kay's API), drops all the
      USB device URBs, and call the drm core to unplug the device.
      
      This driver is based in large parts on udlfb.c so I've licensed
      it under GPLv2.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      5320918b
    • Dave Airlie's avatar
      drm: add core support for unplugging a device (v2) · 2c07a21d
      Dave Airlie authored
      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: default avatarDave Airlie <airlied@redhat.com>
      2c07a21d
    • Dave Airlie's avatar
      drm/modeset: add helper to unplug all connectors from sysfs · cbc7e221
      Dave Airlie authored
      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: default avatarDave Airlie <airlied@redhat.com>
      cbc7e221