1. 02 3月, 2019 2 次提交
  2. 01 3月, 2019 2 次提交
    • C
      drm/i915: Introduce i915_timeline.mutex · 3ef71149
      Chris Wilson 提交于
      A simple mutex used for guarding the flow of requests in and out of the
      timeline. In the short-term, it will be used only to guard the addition
      of requests into the timeline, taken on alloc and released on commit so
      that only one caller can construct a request into the timeline
      (important as the seqno and ring pointers must be serialised). This will
      be used by observers to ensure that the seqno/hwsp is stable. Later,
      when we have reduced retiring to only operate on a single timeline at a
      time, we can then use the mutex as the sole guard required for retiring.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190301110547.14758-2-chris@chris-wilson.co.uk
      3ef71149
    • C
      drm/i915/execlists: Suppress mere WAIT preemption · b5773a36
      Chris Wilson 提交于
      WAIT is occasionally suppressed by virtue of preempted requests being
      promoted to NEWCLIENT if they have not all ready received that boost.
      Make this consistent for all WAIT boosts that they are not allowed to
      preempt executing contexts and are merely granted the right to be at the
      front of the queue for the next execution slot. This is in keeping with
      the desire that the WAIT boost be a minor tweak that does not give
      excessive promotion to its user and open ourselves to trivial abuse.
      
      The problem with the inconsistent WAIT preemption becomes more apparent
      as the preemption is propagated across the engines, where one engine may
      preempt and the other not, and we be relying on the exact execution
      order being consistent across engines (e.g. using HW semaphores to
      coordinate parallel execution).
      
      v2: Also protect GuC submission from false preemption loops.
      v3: Build bug safeguards and better debug messages for st.
      v4: Do the priority bumping in unsubmit (i.e. on preemption/reset
      unwind), applying it earlier during submit causes out-of-order execution
      combined with execute fences.
      v5: Call sw_fence_fini for our dummy request (Matthew)
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190228220639.3173-1-chris@chris-wilson.co.uk
      b5773a36
  3. 28 2月, 2019 7 次提交
  4. 27 2月, 2019 11 次提交
  5. 26 2月, 2019 5 次提交
  6. 25 2月, 2019 1 次提交
  7. 23 2月, 2019 4 次提交
  8. 22 2月, 2019 2 次提交
  9. 21 2月, 2019 6 次提交