1. 30 4月, 2015 1 次提交
  2. 24 4月, 2015 2 次提交
    • D
      drm/i915: Update DRIVER_DATE to 20150423 · de4de566
      Daniel Vetter 提交于
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      de4de566
    • D
      drm/i915: Fix up the vma aliasing ppgtt binding · 0875546c
      Daniel Vetter 提交于
      Currently we have the problem that the decision whether ptes need to
      be (re)written is splattered all over the codebase. Move all that into
      i915_vma_bind. This needs a few changes:
      - Just reuse the PIN_* flags for i915_vma_bind and do the conversion
        to vma->bound in there to avoid duplicating the conversion code all
        over.
      - We need to make binding for EXECBUF (i.e. pick aliasing ppgtt if
        around) explicit, add PIN_USER for that.
      - Two callers want to update ptes, give them a PIN_UPDATE for that.
      
      Of course we still want to avoid double-binding, but that should be
      taken care of:
      - A ppgtt vma will only ever see PIN_USER, so no issue with
        double-binding.
      - A ggtt vma with aliasing ppgtt needs both types of binding, and we
        track that properly now.
      - A ggtt vma without aliasing ppgtt could be bound twice. In the
        lower-level ->bind_vma functions hence unconditionally set
        GLOBAL_BIND when writing the ggtt ptes.
      
      There's still a bit room for cleanup, but that's for follow-up
      patches.
      
      v2: Fixup fumbles.
      
      v3: s/PIN_EXECBUF/PIN_USER/ for clearer meaning, suggested by Chris.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      0875546c
  3. 21 4月, 2015 1 次提交
  4. 20 4月, 2015 1 次提交
    • T
      drm/i915: Simplify and fix object to display tracking · 8a0c39b1
      Tvrtko Ursulin 提交于
      Purpose of this tracking is to know when to flush the cache between
      the CPU and the non-coherent display engine. Prior to:
      
         commit 121920fa
         Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
         Date:   Mon Mar 23 11:10:37 2015 +0000
      
             drm/i915/skl: Query display address through a wrapper
      
      This worked by a mix of direct flag manipulation and checking for
      existence of a pinned GGTT VMA.
      
      With the introduction of rotated display mappings this approach is
      no longer correct.
      
      New simpler approach is to just keep this count over calls which pin
      and unpin objects to and from display, at the slight cost of extra
      space in every bo.
      
      (Inspired and extracted code from a larger rework by Chris Wilson.)
      
      v2: Remove the limit since it is not well defined. (Chris Wilson, Ville Syrjälä)
      v3: Commit message corrections. (Chris Wilson)
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8a0c39b1
  5. 16 4月, 2015 3 次提交
  6. 15 4月, 2015 1 次提交
    • R
      drm/i915: PSR: deprecate link_standby support for core platforms. · 89251b17
      Rodrigo Vivi 提交于
      On Haswell and Broadwell with link in standby when exit event happens
      between vblank and VSC packet, PSR exit on panel but DPA transmitter
      still sends black pixel. When this condition hits, panel will intermittently
      display black frame.
      
      The known W/A for this case involve the of single_frame update
      that isn't supported on Haswell and to be supported on Broadwell
      3 other workarounds would be required. So it is better and safe to
      just deprecate link_standby for now.
      
      Also, link fully off saves more power than link_standby and afwk
      no OEM is requesting link standby on VBT. There is no reason for that.
      
      For Skylake let's just consider it behaves like Broadwell until
      we prove otherwise.
      
      v2: Fix commit message (Durga).
      
      v3: Fix conflict with PSR2.
      
      Reference: HSD: bdwgfx/1912559
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NDurgadoss R <durgadoss.r@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      89251b17
  7. 13 4月, 2015 1 次提交
  8. 10 4月, 2015 14 次提交
  9. 09 4月, 2015 3 次提交
  10. 07 4月, 2015 3 次提交
  11. 01 4月, 2015 6 次提交
  12. 30 3月, 2015 1 次提交
  13. 28 3月, 2015 1 次提交
  14. 27 3月, 2015 2 次提交