1. 11 5月, 2010 1 次提交
  2. 01 3月, 2010 1 次提交
    • D
      drm/radeon: r100/r200 ums: block ability for userspace app to trash 0 page and beyond · 566d84d1
      Dave Airlie 提交于
      radeon's have a special ability to passthrough writes in their internal
      memory space directly to PCI, this ability means that if some of the internal
      surfaces like the depth buffer point at 0x0, any writes to these will
      go directly to RAM at 0x0 via PCI busmastering.
      
      Now mesa used to always emit clears after emitting state, since the
      radeon mesa driver was refactored a year or more ago, it was found it
      could generate a clear request without ever sending any setup state to the
      card. So the clear would attempt to clear the depth buffer at 0x0, which
      would overwrite main memory at this point. fs corruption ensues.
      
      Also once one app did this correctly, it would never get set back to 0
      making this messy to reproduce.
      
      The kernel should block this from happening as mesa runs without privs,
      though it does require the user be connected to the current running X session.
      
      This patch implements a check to make sure the depth offset has been set
      before a depth clear occurs and if it finds one it prints a warning and
      ignores the depth clear request. There is also a mesa fix to avoid sending
      the badness going into mesa.
      
      This only affects r100/r200 GPUs in user modesetting mode.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      566d84d1
  3. 23 2月, 2010 1 次提交
  4. 04 2月, 2010 1 次提交
  5. 04 12月, 2009 1 次提交
  6. 18 9月, 2009 1 次提交
  7. 08 9月, 2009 1 次提交
    • J
      drm/radeon/kms: add r600 KMS support · 3ce0a23d
      Jerome Glisse 提交于
      This adds the r600 KMS + CS support to the Linux kernel.
      
      The r600 TTM support is quite basic and still needs more
      work esp around using interrupts, but the polled fencing
      should work okay for now.
      
      Also currently TTM is using memcpy to do VRAM moves,
      the code is here to use a 3D blit to do this, but
      isn't fully debugged yet.
      
      Authors:
      Alex Deucher <alexdeucher@gmail.com>
      Dave Airlie <airlied@redhat.com>
      Jerome Glisse <jglisse@redhat.com>
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      3ce0a23d
  8. 21 8月, 2009 1 次提交
  9. 19 6月, 2009 1 次提交
  10. 13 3月, 2009 4 次提交
  11. 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
  12. 18 10月, 2008 1 次提交
  13. 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
  14. 19 6月, 2008 2 次提交
  15. 07 2月, 2008 2 次提交
  16. 20 10月, 2007 1 次提交
  17. 15 10月, 2007 4 次提交
  18. 12 7月, 2007 1 次提交
  19. 11 7月, 2007 5 次提交
  20. 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
  21. 15 12月, 2006 1 次提交
  22. 24 10月, 2006 1 次提交
  23. 22 9月, 2006 5 次提交