1. 18 Aug, 2013 11 commits
  2. 09 Aug, 2013 24 commits
  3. 08 Aug, 2013 1 commit
  4. 07 Aug, 2013 4 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2013-07-26-fixed' of... · 32c913e4
      Dave Airlie authored
      Merge tag 'drm-intel-next-2013-07-26-fixed' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
      
      Neat that QA (and Ben) keeps on humming along while I'm on vacation, so
      you already get the next feature pull request:
      - proper eLLC support for HSW from Ben
      - more interrupt refactoring
      - add w/a tags where we implement them already (Damien)
      - hangcheck fixes (Chris) + hangcheck stats (Mika)
      - flesh out the new vm structs for ppgtt and ggtt (Ben)
      - PSR for Haswell, still disabled by default (Rodrigo et al.)
      - pc8+ refclock sequence code from Paulo
      - more interrupt refactoring from Paulo, unifying ilk/snb with the ivb/hsw
        interrupt code
      - full solution for the Haswell concurrent reg access issues (Chris)
      - fix racy object accounting, used by some new leak tests
      - fix sync polarity settings on ch7xxx dvo encoder
      - random bits&pieces, little fixes and better debug output all over
      
      [airlied: fix conflict with drm_mm cleanups]
      
      * tag 'drm-intel-next-2013-07-26-fixed' of git://people.freedesktop.org/~danvet/drm-intel: (289 commits)
        drm/i915: Do not dereference NULL crtc or fb until after checking
        drm/i915: fix pnv display core clock readout out
        drm/i915: Replace open-coded offset_in_page()
        drm/i915: Retry DP aux_ch communications with a different clock after failure
        drm/i915: Add messages useful for HPD storm detection debugging (v2)
        drm/i915: dvo_ch7xxx: fix vsync polarity setting
        drm/i915: fix the racy object accounting
        drm/i915: Convert the register access tracepoint to be conditional
        drm/i915: Squash gen lookup through multiple indirections inside GT access
        drm/i915: Use the common register access functions for NOTRACE variants
        drm/i915: Use a private interface for register access within GT
        drm/i915: Colocate all GT access routines in the same file
        drm/i915: fix reference counting in i915_gem_create
        drm/i915: Use Graphics Base of Stolen Memory on all gen3+
        drm/i915: disable stolen mem for OVERLAY_NEEDS_PHYSICAL
        drm/i915: add functions to disable and restore LCPLL
        drm/i915: disable CLKOUT_DP when it's not needed
        drm/i915: extend lpt_enable_clkout_dp
        drm/i915: fix up error cleanup in i915_gem_object_bind_to_gtt
        drm/i915: Add some debug breadcrumbs to connector detection
        ...
      32c913e4
    • David Herrmann's avatar
      drm/ttm: inline drm_bo_setup_vm() · abf19035
      David Herrmann authored
      This helper is used only once and just wraps a call to
      drm_vma_offset_add(). Remove this unneeded indirection to safe 10 lines of
      code.
      Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
      Reviewed-by: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@gmail.com>
      abf19035
    • David Herrmann's avatar
      drm/mm: remove unused API · c700c67b
      David Herrmann authored
      We used to pre-allocate drm_mm nodes and save them in a linked list for
      later usage so we always have spare ones in atomic contexts. However, this
      is really racy if multiple threads are in an atomic context at the same
      time and we don't have enough spare nodes. Moreover, all remaining users
      run in user-context and just lock drm_mm with a spinlock. So we can easily
      preallocate the node, take the spinlock and insert the node.
      
      This may have worked well with BKL in place, however, with today's
      infrastructure it really doesn't make any sense. Besides, most users can
      easily embed drm_mm_node into their objects so no allocation is needed at
      all.
      
      Thus, remove the old pre-alloc API and all the helpers that it provides.
      Drivers have already been converted and we should not use the old API for
      new code, anymore.
      Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      c700c67b
    • David Herrmann's avatar
      drm/i915: pre-alloc instead of drm_mm search/get_block · 06e78edf
      David Herrmann authored
      i915 is the last user of the weird search+get_block drm_mm API. Convert it
      to an explicit kmalloc()+insert_node(). This drops the last user of the
      node-cache in drm_mm. We can remove it now in a follow-up patch.
      
      v2:
       - simplify error path in i915_setup_compression()
      v3:
       - simplify error path even more
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      06e78edf