1. 20 4月, 2010 1 次提交
  2. 09 4月, 2010 1 次提交
  3. 08 4月, 2010 1 次提交
  4. 25 2月, 2010 4 次提交
  5. 11 2月, 2010 1 次提交
  6. 09 2月, 2010 1 次提交
  7. 25 1月, 2010 1 次提交
  8. 15 1月, 2010 1 次提交
    • L
      drm/nouveau: check pushbuffer bounds in ioctl · 12f735b7
      Luca Barbieri 提交于
      Currently there is no check that the pushbuffer request bounds are inside
      the TTM BO.
      
      This allows to instruct the kernel to do relocations on user-selected
      addresses, since the relocation bounds checking relies on the request
      bounds.
      
      This can oops the kernel accidentally and is easily exploitable.
      
      This patch adds bound checking and alignment checking for ->offset and
      ->nr_dwords.
      
      It also makes some variables unsigned, which should have no effect,
      but prevents possible bounds checking problems.
      Signed-off-by: NLuca Barbieri <luca@luca-barbieri.com>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      12f735b7
  9. 11 1月, 2010 2 次提交
  10. 15 12月, 2009 1 次提交
  11. 11 12月, 2009 1 次提交
    • B
      drm/nouveau: Add DRM driver for NVIDIA GPUs · 6ee73861
      Ben Skeggs 提交于
      This adds a drm/kms staging non-API stable driver for GPUs from NVIDIA.
      
      This driver is a KMS-based driver and requires a compatible nouveau
      userspace libdrm and nouveau X.org driver.
      
      This driver requires firmware files not available in this kernel tree,
      interested parties can find them via the nouveau project git archive.
      
      This driver is reverse engineered, and is in no way supported by nVidia.
      
      Support for nearly the complete range of nvidia hw from nv04->g80 (nv50)
      is available, and the kms driver should support driving nearly all
      output types (displayport is under development still) along with supporting
      suspend/resume.
      
      This work is all from the upstream nouveau project found at
      nouveau.freedesktop.org.
      
      The original authors list from nouveau git tree is:
      Anssi Hannula <anssi.hannula@iki.fi>
      Ben Skeggs <bskeggs@redhat.com>
      Francisco Jerez <currojerez@riseup.net>
      Maarten Maathuis <madman2003@gmail.com>
      Marcin Kościelnicki <koriakin@0x04.net>
      Matthew Garrett <mjg@redhat.com>
      Matt Parnell <mparnell@gmail.com>
      Patrice Mandin <patmandin@gmail.com>
      Pekka Paalanen <pq@iki.fi>
      Xavier Chantry <shiningxc@gmail.com>
      along with project founder Stephane Marchesin <marchesin@icps.u-strasbg.fr>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      6ee73861