1. 13 3月, 2009 4 次提交
  2. 29 12月, 2008 1 次提交
    • 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
  3. 09 12月, 2008 1 次提交
  4. 11 11月, 2008 1 次提交
    • D
      drm/radeon: map registers at load time · 78538bf1
      Dave Airlie 提交于
      Now that the radeon driver has suspend/resume functions, it needs to map its
      registers at load time or it will likely crash if a suspend operation occurs
      before the driver has been initialized.
      
      This patch moves the register mapping code from firstopen to load and makes
      the mapping into a _DRM_DRIVER one so that the core won't remove it at
      lastclose time.
      
      Fixes (at least partially) kernel bz #11891.
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      78538bf1
  5. 28 10月, 2008 1 次提交
  6. 18 10月, 2008 4 次提交
  7. 25 8月, 2008 1 次提交
  8. 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
  9. 19 6月, 2008 9 次提交
  10. 07 5月, 2008 1 次提交
  11. 26 4月, 2008 1 次提交
    • J
      drm/vbl rework: rework how the drm deals with vblank. · ac741ab7
      Jesse Barnes 提交于
      Other Authors: Michel Dänzer <michel@tungstengraphics.com>
      mga: Ian Romanick <idr@us.ibm.com>
      via: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
      
      This re-works the DRM internals to provide a better interface for drivers
      to expose vblank on multiple crtcs.
      
      It also includes work done by Michel on making i915 triple buffering and pageflipping work properly.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      ac741ab7
  12. 20 2月, 2008 1 次提交
  13. 07 2月, 2008 4 次提交
  14. 05 11月, 2007 1 次提交
  15. 15 10月, 2007 2 次提交
  16. 11 7月, 2007 5 次提交
  17. 08 5月, 2007 2 次提交
    • M
      radeon: Don't mess up page flipping when a file descriptor is closed. · 453ff94c
      Michel Dänzer 提交于
      There can still be other contexts that may use page flipping later on, so do
      just unilaterally 'clean it up', which could lead to the wrong page being
      displayed, e.g. when running 3D apps with a GLX compositing manager such as
      compiz using page flipping.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      453ff94c
    • 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