1. 10 Jul, 2005 10 commits
    • Dave Airlie's avatar
      drm: cleanup buffer/map code · 836cf046
      Dave Airlie authored
      
      
      This is a patch from DRM CVS that cleans up some code that was in CVS
      that I never moved to the kernel, this patch produces the result of the
      cleanups and puts it into the kernel drm.
      
      From: Eric Anholt <anholt@freebsd.org>, Jon Smirl, Dave Airlie
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      836cf046
    • Dave Airlie's avatar
      drm: add mga driver callbacks · d01cff40
      Dave Airlie authored
      
      
      Add some missing driver callback for the PCI support
      
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      d01cff40
    • Dave Airlie's avatar
      Add support for PCI MGA cards to MGA DRM. · 6795c985
      Dave Airlie authored
      This patch adds serveral new ioctls and a new query to get_param query to
      support PCI MGA cards.
      
      Two ioctls were added to implement interrupt based waiting.  With this change,
      the client-side driver no longer needs to map the primary DMA region or the
      MMIO region.  Previously, end-of-frame waiting was done by busy waiting in the
      client-side driver until one of the MMIO registers (the current DMA pointer)
      matched a pointer to the end of primary DMA space.  By using interrupts, the
      busy waiting and the extra mappings are removed.
      
      A third ioctl was added to bootstrap DMA.  This ioctl, which is used by the
      X-server, moves a *LOT* of code from the X-server into the kernel.  This allows
      the kernel to do whatever needs to be done to setup DMA buffers.  The entire
      process and the locations of the buffers are hidden from user-mode.
      
      Additionally, a get_param query was added to differentiate between G4x0 cards
      and G550 cards.  A gap was left in the numbering sequence so that, if needed,
      G450 cards could be distinguished from G400 cards.  According to Ville
      Syrjälä, the G4x0 cards and the G550 cards handle anisotropic filtering
      differently.  This seems the most compatible way to let the client-side driver
      know which card it's own.  Doing this very small change now eliminates the
      need to bump the DRM minor version twice.
      
      http://marc.theaimsgroup.com/?l=dri-devel&m=106625815319773&w=2
      
      
      
      (airlied - this may not work at this point, I think the follow on buffer
       cleanup patches will be needed)
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      6795c985
    • Dave Airlie's avatar
      drm: make drm_alloc_agp take a dev arg. · b5d499cf
      Dave Airlie authored
      
      
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      b5d499cf
    • Dave Airlie's avatar
      drm: add new mga ids and types · 93f453f3
      Dave Airlie authored
      
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      93f453f3
    • Dave Airlie's avatar
      drm: add test for AGP devices and driver override for it. · cda17380
      Dave Airlie authored
      
      
      Added device_is_agp callback to drm_driver.  This function is called by the
      platform-specific drm_device_is_agp function.  Added implementation of this
      function the the Linux-specific portion of the MGA driver to detect PCI G450
      cards.  Added code to the Linux-specific portion of the generic DRM layer to
      not initialize AGP infrastructure if the card is not AGP (this matches what
      already existed in BSD).
      
      Fix up i810/i830 and i915 drivers to always return AGP as they don't always
      report the capability.
      
      Fix the MGA to not report AGP for a card that has an AGP chip behind a PCI
      bridge.
      
      From: Ian Romanick, Dave Airlie, Alan Hourihane
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      cda17380
    • Dave Airlie's avatar
      drm: destatic exported function. · ceb9c27a
      Dave Airlie authored
      
      
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      ceb9c27a
    • Dave Airlie's avatar
      drm: export symbols for use by drivers · d84f76d3
      Dave Airlie authored
      
      
      This just exports symbols for use in drivers.
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      d84f76d3
    • Dave Airlie's avatar
      drm: fix minor function header issue · aff138ab
      Dave Airlie authored
      
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      aff138ab
    • Dave Airlie's avatar
      drm: update some function so a driver can call them · 7ab98401
      Dave Airlie authored
      
      
      This patch splits some ioctl functions so that they can be called
      in-kernel by a DRM driver. The driver will use them later.
      
      From: Ian Romanick <idr@us.ibm.com>
      Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
      7ab98401
  2. 09 Jul, 2005 9 commits
  3. 08 Jul, 2005 12 commits
  4. 07 Jul, 2005 9 commits