1. 25 1月, 2010 8 次提交
    • T
      drm/ttm: Allow system memory as a busy placement. · 0eaddb28
      Thomas Hellstrom 提交于
      This is needed to fix a vmwgfx memory usage bug.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      0eaddb28
    • D
      Merge remote branch 'korg/drm-radeon-next' into drm-linus · 9299795c
      Dave Airlie 提交于
      * korg/drm-radeon-next:
        drm/radeon/kms: fix legacy get_engine/memory clock
        drm/radeon/kms/atom: atom parser fixes
        drm/radeon/kms: clean up atombios pll code
        drm/radeon/kms: clean up pll struct
        drm/radeon/kms/atom: fix crtc lock ordering
        drm/radeon: r6xx/r7xx possible security issue, system ram access
        drm/radeon/kms: r600/r700 don't test ib if ib initialization fails
        drm/radeon/kms: Forbid creation of framebuffer with no valid GEM object
        drm/radeon/kms: r600 handle irq vector ring overflow
        drm/radeon/kms: r600/r700 don't process IRQ if not initialized
        drm/radeon/kms: r600/r700 disable irq at suspend
        drm/radeon/kms/r4xx: cleanup atom path
        drm/radeon/kms: fix atombios_crtc_set_base
        drm/radeon/kms/atom: upstream parser updates
        drm/radeon/kms/atom: fix some parser bugs
        drm/radeon/kms: fix hardcoded mmio size in register functions
        drm/radeon/kms/r100: fix bug in CS parser
        drm/radeon/kms/r200: fix bug in CS parser
        drm/radeon/kms/r200: fix bug in CS parser
      9299795c
    • D
      Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-linus · 8d586fe6
      Dave Airlie 提交于
      * 'nouveau/for-airlied' of ../drm-nouveau-next:
        drm/nv50: prevent switching off SOR when in use for DVI-over-DP
        drm/nv50: fail auxch transaction if reply count not what we expect
        drm/nouveau: fix failure path if userspace specifies no valid memtypes
        drm/nouveau: report LVDS as disconnected if lid closed
        drm/nv50: prevent accidently turning off encoders we're actually using
        drm/nv50: fix alignment of per-channel fifo cache
        drm/nouveau: Evict buffers in VRAM before freeing sgdma
        drm/nouveau: Acknowledge DMA_VTX_PROTECTION PGRAPH interrupts
        drm/nouveau: fix thinko in nv04_instmem.c
        drm/nouveau: fix a race condition in nouveau_dma_wait()
      8d586fe6
    • L
      drm/ttm: Fix race condition in ttm_bo_delayed_delete (v3, final) · 1a961ce0
      Luca Barbieri 提交于
      Resending this with Thomas Hellstrom's signoff for merging into 2.6.33
      
      ttm_bo_delayed_delete has a race condition, because after we do:
      kref_put(&nentry->list_kref, ttm_bo_release_list);
      
      we are not holding the list lock and not holding any reference to
      objects, and thus every bo in the list can be removed and freed at
      this point.
      
      However, we then use the next pointer we stored, which is not guaranteed
      to be valid.
      
      This was apparently the cause of some Nouveau oopses I experienced.
      
      This patch rewrites the function so that it keeps the reference to nentry
      until nentry itself is freed and we already got a reference to nentry->next.
      
      v2 updated by me according to Thomas Hellstrom's feedback.
      v3 proposed by Thomas Hellstrom. Commit comment updated by me.
      
      Both updates fixed minor efficiency/style issues only and all three versions
      should be correct.
      Signed-off-by: NLuca Barbieri <luca@luca-barbieri.com>
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      1a961ce0
    • B
      drm/nv50: prevent switching off SOR when in use for DVI-over-DP · 16226536
      Ben Skeggs 提交于
      Another hack because of us exposing each encoder block's function as
      an encoder rather than exposing a single encoder that deals with them
      all.
      
      A proper fix will come, it's just rather invasive so this hack will
      do until then.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      16226536
    • B
      0107bae0
    • B
      drm/nouveau: fix failure path if userspace specifies no valid memtypes · 0208843d
      Ben Skeggs 提交于
      We need to add the buffer to the list even if we fail, otherwise the
      validate_fini() call won't unreserve + unreference the GEM object,
      making TTM very unhappy.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      0208843d
    • B
      drm/nouveau: report LVDS as disconnected if lid closed · a1470890
      Ben Skeggs 提交于
      Also adds a module option to ignore the status reported via ACPI, in case
      we hit systems with broken ACPI.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      a1470890
  2. 24 1月, 2010 5 次提交
  3. 21 1月, 2010 14 次提交
  4. 18 1月, 2010 6 次提交
  5. 15 1月, 2010 7 次提交