1. 12 8月, 2008 1 次提交
    • K
      intel/agp: rewrite GTT on resume · a8c84df9
      Keith Packard 提交于
      On my Intel chipset (965GM), the GTT is entirely erased across
      suspend/resume.  This patch simply re-plays the current mapping at resume
      time to restore the table.=20
      
      I noticed this once I started relying on persistent GTT mappings across VT
      switch in our GEM work -- the old X server and DRM code carefully unbind
      all memory from the GTT on VT switch, but GEM does not bother.
      
      I placed the list management and rewrite code in the generic layer on the
      assumption that it will be needed on other hardware, but I did not add the
      rewrite call to anything other than the Intel resume function.
      
      Keep a list of current GATT mappings.  At resume time, rewrite them into
      the GATT.  This is needed on Intel (at least) as the entire GATT is
      cleared across suspend/resume.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Cc: Andi Kleen <andi@firstfloor.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      a8c84df9
  2. 19 6月, 2008 2 次提交
  3. 30 4月, 2008 1 次提交
  4. 05 2月, 2008 1 次提交
    • D
      agp: add chipset flushing support to AGP interface · a13af4b4
      Dave Airlie 提交于
      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: NDave Airlie <airlied@redhat.com>
      a13af4b4
  5. 04 2月, 2007 1 次提交
    • T
      [AGPGART] Allow drm-populated agp memory types · a030ce44
      Thomas Hellstrom 提交于
      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: NThomas Hellstrom <thomas@tungstengraphics.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      a030ce44
  6. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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!
      1da177e4