1. 18 Jun, 2008 1 commit
    • Jan Beulich's avatar
      agp: two-stage page destruction issue · da503fa6
      Jan Beulich authored
      besides it apparently being useful only in 2.6.24 (the changes in 2.6.25
      really mean that it could be converted back to a single-stage mechanism),
      I'm seeing an issue in Xen Dom0 kernels, which is caused by the calling
      of gart_to_virt() in the second stage invocations of the destroy function.
      I think that besides this being a real issue with Xen (where
      unmap_page_from_agp() is not just a page table attribute change), this
      also is invalid from a theoretical perspective: One should not assume that
      gart_to_virt() is still valid after unmapping a page. So minimally (keeping
      the 2-stage mechanism) a patch like the one below would be needed.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
  2. 04 Feb, 2008 1 commit
    • Dave Airlie's avatar
      agp: add chipset flushing support to AGP interface · a13af4b4
      Dave Airlie authored
      This bumps the AGP interface to 0.103.
      Certain Intel chipsets contains a global write buffer, and this can require
      flushing from the drm or X.org to make sure all data has hit RAM before
      initiating a GPU transfer, due to a lack of coherency with the integrated
      graphics device and this buffer.
      This just adds generic support to the AGP interfaces, a follow-on patch
      will add support to the Intel driver to use this interface.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
  3. 30 Jan, 2008 1 commit
  4. 14 Oct, 2007 1 commit
  5. 09 Jul, 2007 1 commit
    • Dave Jones's avatar
      [AGPGART] Hand off AGP maintainence. · 70e8992e
      Dave Jones authored
      Most of the AGP changes recently have been done in lock-step with
      DRM updates, so it's probably easier to have airlied pushing
      AGP changes at the same time he does DRM updates.
      [Also remove my name from the boot messages.
       Cautionary tale to others: Never do this, when computers
       don't boot, people assume you're responsible even if 15
       other subsystems initialised after yours. :-) ]
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
  6. 03 Feb, 2007 1 commit
    • Thomas Hellstrom's avatar
      [AGPGART] Allow drm-populated agp memory types · a030ce44
      Thomas Hellstrom authored
      This patch allows drm to populate an agpgart structure with pages of its own.
      It's needed for the new drm memory manager which dynamically flips pages in and out of AGP.
      The patch modifies the generic functions as well as the intel agp driver. The intel drm driver is
      currently the only one supporting the new memory manager.
      Other agp drivers may need some minor fixing up once they have a corresponding memory manager enabled drm driver.
      AGP memory types >= AGP_USER_TYPES are not populated by the agpgart driver, but the drm is expected
      to do that, as well as taking care of cache- and tlb flushing when needed.
      It's not possible to request these types from user space using agpgart ioctls.
      The Intel driver also gets a new memory type for pages that can be bound cached to the intel GTT.
      Signed-off-by: default avatarThomas Hellstrom <thomas@tungstengraphics.com>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
  7. 11 Aug, 2006 1 commit
  8. 27 Feb, 2006 1 commit
  9. 16 Nov, 2005 1 commit
  10. 09 Nov, 2005 1 commit
    • Linus Torvalds's avatar
      Fix AGP compile on non-x86 architectures · 6730c3c1
      Linus Torvalds authored
      AGP shouldn't use "global_flush_tlb()" to flush the AGP mappings, that i
      spurely an x86'ism.  The proper AGP mapping flusher that should be used
      is "flush_agp_mappings()", which on x86 obviously happens to do a global
      TLB flush.
      This makes AGP (or at least the config _I_ happen to use) compile again
      on ppc64.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
  11. 08 Nov, 2005 1 commit
    • Alan Hourihane's avatar
      [PATCH] AGP performance fixes · 88d51967
      Alan Hourihane authored
      AGP allocation/deallocation is suffering major performance issues due to
      the nature of global_flush_tlb() being called on every change_page_attr()
      For small allocations this isn't really seen, but when you start allocating
      50000 pages of AGP space, for say, texture memory, then things can take
      seconds to complete.
      In some cases the situation is doubled or even quadrupled in the time due
      to SMP, or a deallocation, then a new reallocation.  I've had a case of
      upto 20 seconds wait time to deallocate and reallocate AGP space.
      This patch fixes the problem by making it the caller's responsibility to
      call global_flush_tlb(), and so removes it from every instance of mapping a
      page into AGP space until the time that all change_page_attr() changes are
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
  12. 20 Oct, 2005 1 commit
  13. 10 Sep, 2005 1 commit
  14. 07 Jun, 2005 1 commit
    • Keir Fraser's avatar
      [PATCH] AGP fix for Xen VMM · 07eee78e
      Keir Fraser authored
      When Linux is running on the Xen virtual machine monitor, physical
      addresses are virtualised and cannot be directly referenced by the AGP
      GART.  This patch fixes the GART driver for Xen by adding a layer of
      abstraction between physical addresses and 'GART addresses'.
      Architecture-specific functions are also defined for allocating and freeing
      the GATT.  Xen requires this to ensure that table really is contiguous from
      the point of view of the GART.
      These extra interface functions are defined as 'no-ops' for all existing
      architectures that use the GART driver.
      Signed-off-by: default avatarKeir Fraser <keir@xensource.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
  15. 01 May, 2005 1 commit
  16. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      Let it rip!