1. 08 6月, 2005 4 次提交
    • D
      [PATCH] Replace check_bridge_mode() with (bridge->mode & AGSTAT_MODE_3_0). · 66bb8bf8
      David Mosberger 提交于
      [AGPGART] Replace check_bridge_mode() with (bridge->mode & AGSTAT_MODE_3_0).
      
      As mentioned earlier, the current check_bridge_mode() code assumes
      that AGP bridges are PCI devices.  This isn't always true.  Definitely
      not for HP zx1 chipset and the same seems to be the case for SGI's AGP
      bridge.
      
      The patch below fixes the problem by picking up the AGP_MODE_3_0 bit
      from bridge->mode.  I feel like I may be missing something, since I
      can't see any reason why check_bridge_mode() wasn't doing that in the
      first place.  According to the AGP 3.0 specs, the AGP_MODE_3_0 bit is
      determined during the hardware reset and cannot be changed, so it
      seems to me it should be safe to pick it up from bridge->mode.
      
      With the patch applied, I can definitely use AGP acceleration both
      with AGP 2.0 and AGP 3.0 (one with an Nvidia card, the other with an
      ATI FireGL card).
      
      Unless someone spots a problem, please apply this patch so 3d
      acceleration can work on zx1 boxes again.
      
      This makes AGP work again on machines with an AGP bridge that isn't a
      PCI device.
      Signed-off-by: NDavid Mosberger-Tang <davidm@hpl.hp.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      66bb8bf8
    • K
      [PATCH] AGP fix for Xen VMM · 07eee78e
      Keir Fraser 提交于
      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: NKeir Fraser <keir@xensource.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDave Jones <davej@redhat.com>
      07eee78e
    • M
      [PATCH] sgi-agp: fixes a problem with accessing GART memory in... · e29b545c
      Michael Werner 提交于
      [PATCH] sgi-agp: fixes a problem with accessing GART memory in sgi_tioca_insert_memory and sgi_tioca_remove_memory
      
      This patch fixes a problem with accessing GART memory in
      sgi_tioca_insert_memory and sgi_tioca_remove_memory.
      
       sgi-agp.c |   12 +++++++++---
       1 files changed, 9 insertions(+), 3 deletions(-)
      Signed-off-by: NMike Werner <werner@sgi.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      
      e29b545c
    • A
      [PATCH] i945G patch for agpgart · d0de98fa
      Alan Hourihane 提交于
      Attached is a small patch for i945G support against 2.6.11.11.
      
      From: Alan Hourihane <alanh@fairlite.demon.co.uk>
      Signed-off-by: NDave Jones <davej@redhat.com>
      d0de98fa
  2. 07 6月, 2005 33 次提交
  3. 06 6月, 2005 1 次提交
  4. 05 6月, 2005 2 次提交