1. 25 Jan, 2010 7 commits
    • Dave Airlie's avatar
      Merge remote branch 'korg/drm-radeon-next' into drm-linus · 9299795c
      Dave Airlie authored
      * 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
    • Dave Airlie's avatar
      Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-linus · 8d586fe6
      Dave Airlie authored
      * '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
    • Luca Barbieri's avatar
      drm/ttm: Fix race condition in ttm_bo_delayed_delete (v3, final) · 1a961ce0
      Luca Barbieri authored
      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: default avatarLuca Barbieri <luca@luca-barbieri.com>
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      1a961ce0
    • Ben Skeggs's avatar
      drm/nv50: prevent switching off SOR when in use for DVI-over-DP · 16226536
      Ben Skeggs authored
      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: default avatarBen Skeggs <bskeggs@redhat.com>
      16226536
    • Ben Skeggs's avatar
    • Ben Skeggs's avatar
      drm/nouveau: fix failure path if userspace specifies no valid memtypes · 0208843d
      Ben Skeggs authored
      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: default avatarBen Skeggs <bskeggs@redhat.com>
      0208843d
    • Ben Skeggs's avatar
      drm/nouveau: report LVDS as disconnected if lid closed · a1470890
      Ben Skeggs authored
      Also adds a module option to ignore the status reported via ACPI, in case
      we hit systems with broken ACPI.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      a1470890
  2. 24 Jan, 2010 5 commits
  3. 20 Jan, 2010 14 commits
  4. 17 Jan, 2010 6 commits
  5. 15 Jan, 2010 3 commits
    • Dave Airlie's avatar
      Merge remote branch 'korg/drm-radeon-testing' into drm-linus · 8471a26b
      Dave Airlie authored
      * korg/drm-radeon-testing:
        drm/radeon/kms: Use radeon_agp_disable when disabling AGP
        drm/radeon/kms: Disable AGP is aperture size < 32M
        drm/radeon/kms: Fix r600 blit cleanup path
        drm/radeon/kms: Do not unpin buffer in fb destruction
        drm/radeon/kms: fix displayport->dvi connector DDC.
      8471a26b
    • Jerome Glisse's avatar
      drm: EDID accept separate sync video mode · 79b7dcb2
      Jerome Glisse authored
      X is accepting such video mode, do the same. Pointed out by Joshua Roys
      on IRC. Fix https://bugzilla.redhat.com/show_bug.cgi?id=540024
      
      [fix printf to use composite not integrated :- airlied]
      Signed-off-by: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      79b7dcb2
    • Dave Airlie's avatar
      Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-linus · 1c974dc2
      Dave Airlie authored
      * 'nouveau/for-airlied' of ../drm-nouveau-next: (44 commits)
        drm/nouveau: check pushbuffer bounds in ioctl
        drm/nouveau: reserve VGA area for the moment
        drm/nouveau: Unset the EDID connector property when the EDID block goes away.
        drm/nouveau: Fallback to analog load detection when the EDID block is invalid.
        drm/nouveau: fix edid memleak in nouveau_connector
        drm/nouveau: Break some long lines.
        drm/nouveau: add NV18 device id to call_lvds_manufacturer_script
        drm/nv50: Fix typo in PGRAPH initialisation.
        drm/nouveau: less magic DCB 1.5 parsing
        drm/nouveau: assume no nv04 board has a DCB table
        drm/nouveau: remove PRIV0 check in nouveau_mem_close()
        drm/nouveau: wait on fence after bo move if validating for another channel
        drm/nouveau: trust init table registers are safe
        drm/nv50: wait for pgraph to idle before unloading the context
      1c974dc2
  6. 14 Jan, 2010 5 commits