1. 03 Dec, 2010 6 commits
    • Ben Skeggs's avatar
      drm/nouveau: add per-channel mutex, use to lock access to drm's channel · 6a6b73f2
      Ben Skeggs authored
      This fixes a race condition between fbcon acceleration and TTM buffer
      moves.  To reproduce:
      
      - start X
      - switch to vt and "while (true); do dmesg; done"
      - switch to another vt and "sleep 2 && cat /path/to/debugfs/dri/0/evict_vram"
      - switch back to vt running dmesg
      
      We don't make use of this on any other channel yet, they're currently
      protected by drm_global_mutex.  This will change in the near future.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      6a6b73f2
    • Ben Skeggs's avatar
      drm/nouveau: disallow fbcon accel if running in interrupt context · ceed5f30
      Ben Skeggs authored
      A future commit will add locking to the DRM's channel, and there's numerous
      problems that come up if we allow printk from an interrupt context to be
      accelerated.  It seems saner to just disallow it completely.
      
      As a nice side-effect, all the "to accel or not to accel" logic gets moved
      out of the chipset-specific code.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      ceed5f30
    • Ben Skeggs's avatar
      drm/nouveau: tidy fifo swmthd handler a little · 7c74cbd0
      Ben Skeggs authored
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      7c74cbd0
    • Dave Airlie's avatar
      Merge branch 'drm-radeon-fusion' of ../drm-radeon-next into drm-core-next · f7eb0c55
      Dave Airlie authored
      * 'drm-radeon-fusion' of ../drm-radeon-next:
        drm/radeon/kms: add Ontario APU ucode loading support
        drm/radeon/kms: add Ontario Fusion APU pci ids
        drm/radeon/kms: enable MSIs on fusion APUs
        drm/radeon/kms: add power table parsing support for Ontario fusion APUs
        drm/radeon/kms: refactor atombios power state fetching
        drm/radeon/kms: add bo blit support for Ontario fusion APUs
        drm/radeon/kms: add thermal sensor support for fusion APUs
        drm/radeon/kms: fill in GPU init for AMD Ontario Fusion APUs
        drm/radeon/kms: add radeon_asic struct for AMD Ontario fusion APUs
        drm/radeon/kms: evergreen.c updates for fusion
        drm/radeon/kms: MC setup changes for fusion APUs
        drm/radeon/kms: move r7xx/evergreen to its own vram_gtt setup function
        drm/radeon/kms: add support for ss overrides on Fusion APUs
        drm/radeon/kms: Add support for external encoders on fusion APUs
        drm/radeon/kms: atom changes for DCE4.1 devices
        drm/radeon/kms: add new family id for AMD Ontario APUs
        drm/radeon/kms: upstream power table updates
        drm/radeon/kms: upstream atombios.h updates
        drm/radeon/kms: upstream ObjectID.h updates
        drm/radeon/kms: setup mc chremap properly on r7xx/evergreen
      f7eb0c55
    • Dave Airlie's avatar
      Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next · 7e76c5cf
      Dave Airlie authored
      * 'drm-radeon-next' of ../drm-radeon-next:
        drm/radeon/kms: improve pflip precision on r1xx-r4xx
        drm/kms/radeon: Use high precision timestamps for pageflip completion events.
        drm/kms/radeon: Reorder vblank and pageflip interrupt handling.
        drm/radeon/kms: add pageflip ioctl support (v3)
        drm/kms/radeon: Add support for precise vblank timestamping.
      7e76c5cf
    • Dave Airlie's avatar
      Merge branch 'drm-ttm-next' into drm-core-next · a9979d60
      Dave Airlie authored
      * drm-ttm-next:
        drm/radeon: Use the ttm execbuf utilities
        drm/ttm: Fix up io_mem_reserve / io_mem_free calling
        drm/ttm/vmwgfx: Have TTM manage the validation sequence.
        drm/ttm: Improved fencing of buffer object lists
        drm/ttm/radeon/nouveau: Kill the bo lock in favour of a bo device fence_lock
        drm/ttm: Don't deadlock on recursive multi-bo reservations
        drm/ttm: Optimize ttm_eu_backoff_reservation
        drm/ttm: Use kref_sub instead of repeatedly calling kref_put
        kref: Add a kref_sub function
        drm/ttm: Add a bo list reserve fastpath (v2)
      a9979d60
  2. 26 Nov, 2010 1 commit
  3. 22 Nov, 2010 33 commits