1. 29 12月, 2008 2 次提交
    • D
      drm: move to kref per-master structures. · 7c1c2871
      Dave Airlie 提交于
      This is step one towards having multiple masters sharing a drm
      device in order to get fast-user-switching to work.
      
      It splits out the information associated with the drm master
      into a separate kref counted structure, and allocates this when
      a master opens the device node. It also allows the current master
      to abdicate (say while VT switched), and a new master to take over
      the hardware.
      
      It moves the Intel and radeon drivers to using the sarea from
      within the new master structures.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7c1c2871
    • D
      drm: cleanup exit path for module unload · e7f7ab45
      Dave Airlie 提交于
      The current sub-module unload exit path is a mess, it tries
      to abuse the idr. Just keep a list of devices per driver struct
      and free them in-order on rmmod.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e7f7ab45
  2. 25 11月, 2008 1 次提交
  3. 11 11月, 2008 1 次提交
  4. 18 10月, 2008 5 次提交
  5. 15 7月, 2008 1 次提交
  6. 14 7月, 2008 1 次提交
    • D
      drm: reorganise drm tree to be more future proof. · c0e09200
      Dave Airlie 提交于
      With the coming of kernel based modesetting and the memory manager stuff,
      the everything in one directory approach was getting very ugly and
      starting to be unmanageable.
      
      This restructures the drm along the lines of other kernel components.
      
      It creates a drivers/gpu/drm directory and moves the hw drivers into
      subdirectores. It moves the includes into an include/drm, and
      sets up the unifdef for the userspace headers we should be exporting.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c0e09200
  7. 07 5月, 2008 1 次提交
  8. 30 4月, 2008 1 次提交
  9. 26 4月, 2008 2 次提交
  10. 20 4月, 2008 1 次提交
    • G
      DRM: remove unused dev_class · 56d110e8
      Greg Kroah-Hartman 提交于
      The struct class_device *dev_class is not used in the struct drm_head
      structure at all, so remove it as class_device is being removed entirely
      from the kernel.
      
      
      Cc: David Airlie <airlied@linux.ie>
      Cc: Tony Jones <tonyj@suse.de>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      56d110e8
  11. 17 3月, 2008 1 次提交
  12. 20 2月, 2008 1 次提交
  13. 07 2月, 2008 3 次提交
  14. 06 11月, 2007 1 次提交
  15. 15 10月, 2007 2 次提交
  16. 17 7月, 2007 2 次提交
  17. 12 7月, 2007 1 次提交
  18. 11 7月, 2007 8 次提交
  19. 08 5月, 2007 1 次提交
    • D
      drm/radeon: upgrade to 1.27 - make PCI GART more flexible · f2b04cd2
      Dave Airlie 提交于
      radeon: make PCI GART aperture size variable, but making table size variable
          This is precursor to getting a TTM backend for this stuff, and also
          allows the PCI table to be allocated at fb 0
      radeon: add support for reverse engineered xpress200m
      
          The IGPGART setup code was traced using mmio-trace on fglrx by myself
          and Phillip Ezolt <phillipezolt@gmail.com> on dri-devel.
      
          This code doesn't let the 3D driver work properly as the card has no
          vertex shader support.
      
          Thanks to Matthew Garrett + Ubuntu for providing me some hardware to do this
          work on.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      f2b04cd2
  20. 23 3月, 2007 1 次提交
    • T
      drm: fix driver deadlock with AIGLX and reclaim_buffers_locked · 040ac320
      Thomas Hellstrom 提交于
      Bugzilla Bug #9457
      
      Add refcounting of user waiters to the DRM hardware lock, so that we can use
      DRM_LOCK_CONT flag more conservatively.
      
      Also add a kernel waiter refcount that if nonzero transfers the lock for the
      kernel context when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      040ac320
  21. 11 3月, 2007 1 次提交
  22. 08 2月, 2007 2 次提交