1. 15 1月, 2021 6 次提交
    • C
      drm/i915: Drop i915_request.lock serialisation around await_start · b2fe00bb
      Chris Wilson 提交于
      Originally, we used the signal->lock as a means of following the
      previous link in its timeline and peeking at the previous fence.
      However, we have replaced the explicit serialisation with a series of
      very careful probes that anticipate the links being deleted and the
      fences recycled before we are able to acquire a strong reference to it.
      We do not need the signal->lock crutch anymore, nor want the contention.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NAndi Shyti <andi.shyti@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114135612.13210-2-chris@chris-wilson.co.uk
      b2fe00bb
    • C
      drm/i915: Mark up protected uses of 'i915_request_completed' · 163433e5
      Chris Wilson 提交于
      When we know that we are inside the timeline mutex, or inside the
      submission flow (under active.lock or the holder's rcu lock), we know
      that the rq->hwsp is stable and we can use the simpler direct version.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NAndi Shyti <andi.shyti@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114135612.13210-1-chris@chris-wilson.co.uk
      163433e5
    • J
      Merge drm/drm-next into drm-intel-gt-next · d263dfa7
      Joonas Lahtinen 提交于
      Backmerging to get a common base for merging topic branches between
      drm-intel-next and drm-intel-gt-next.
      Signed-off-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      d263dfa7
    • D
      Merge tag 'drm-intel-gt-next-2021-01-14' of... · fb5cfcaa
      Dave Airlie 提交于
      Merge tag 'drm-intel-gt-next-2021-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      UAPI Changes:
      - Deprecate I915_PMU_LAST and optimize state tracking (Tvrtko)
      
        Avoid relying on last item ABI marker in i915_drm.h, add a
        comment to mark as deprecated.
      
      Cross-subsystem Changes:
      
      Core Changes:
      
      Driver Changes:
      
      - Restore clear residuals security mitigations for Ivybridge and
        Baytrail (Chris)
      - Close #1858: Allow sysadmin to choose applied GPU security mitigations
        through i915.mitigations=... similar to CPU (Chris)
      - Fix for #2024: GPU hangs on HSW GT1 (Chris)
      - Fix for #2707: Driver hang when editing UVs in Blender (Chris, Ville)
      - Fix for #2797: False positive GuC loading error message (Chris)
      - Fix for #2859: Missing GuC firmware for older Cometlakes (Chris)
      - Lessen probability of GPU hang due to DMAR faults [reason 7,
        next page table ptr is invalid] on Tigerlake (Chris)
      - Fix REVID macros for TGL to fetch correct stepping (Aditya)
      - Limit frequency drop to RPe on parking (Chris, Edward)
      - Limit W/A 1406941453 to TGL, RKL and DG1 (Swathi)
      - Make W/A 22010271021 permanent on DG1 (Lucas)
      - Implement W/A 16011163337 to prevent a HS/DS hang on DG1 (Swathi)
      - Only disable preemption on gen8 render engines (Chris)
      - Disable arbitration around Braswell's PDP updates (Chris)
      - Disable arbitration on no-preempt requests (Chris)
      - Check for arbitration after writing start seqno before busywaiting (Chris)
      - Retain default context state across shrinking (Venkata, CQ)
      - Fix mismatch between misplaced vma check and vma insert for 32-bit
        addressing userspaces (Chris, CQ)
      - Propagate error for vmap() failure instead kernel NULL deref (Chris)
      - Propagate error from cancelled submit due to context closure
        immediately (Chris)
      - Fix RCU race on HWSP tracking per request (Chris)
      - Clear CMD parser shadow and GPU reloc batches (Matt A)
      
      - Populate logical context during first pin (Maarten)
      - Optimistically prune dma-resv from the shrinker (Chris)
      - Fix for virtual engine ownership race (Chris)
      - Remove timeslice suppression to restore fairness for virtual engines (Chris)
      - Rearrange IVB/HSW workarounds properly between GT and engine (Chris)
      - Taint the reset mutex with the shrinker (Chris)
      - Replace direct submit with direct call to tasklet (Chris)
      - Multiple corrections to virtual engine dequeue and breadcrumbs code (Chris)
      - Avoid wakeref from potentially hard IRQ context in PMU (Tvrtko)
      - Use raw clock for RC6 time estimation in PMU (Tvrtko)
      - Differentiate OOM failures from invalid map types (Chris)
      - Fix Gen9 to have 64 MOCS entries similar to Gen11 (Chris)
      - Ignore repeated attempts to suspend request flow across reset (Chris)
      - Remove livelock from "do_idle_maps" VT-d W/A (Chris)
      - Cancel the preemption timeout early in case engine reset fails (Chris)
      - Code flow optimization in the scheduling code (Chris)
      - Clear the execlists timers upon reset (Chris)
      - Drain the breadcrumbs just once (Chris, Matt A)
      - Track the overall GT awake/busy time (Chris)
      - Tweak submission tasklet flushing to avoid starvation (Chris)
      - Track timelines created using the HWSP to restore on resume (Chris)
      - Use cmpxchg64 for 32b compatilibity for active tracking (Chris)
      - Prefer recycling an idle GGTT fence to avoid GPU wait (Chris)
      
      - Restructure GT code organization for clearer split between GuC
        and execlists (Chris, Daniele, John, Matt A)
      - Remove GuC code that will remain unused by new interfaces (Matt B)
      - Restructure the CS timestamp clocks code to local to GT (Chris)
      - Fix error return paths in perf code (Zhang)
      - Replace idr_init() by idr_init_base() in perf (Deepak)
      - Fix shmem_pin_map error path (Colin)
      - Drop redundant free_work worker for GEM contexts (Chris, Mika)
      - Increase readability and understandability of intel_workarounds.c (Lucas)
      - Defer enabling the breadcrumb interrupt to after submission (Chris)
      - Deal with buddy alloc block sizes beyond 4G (Venkata, Chris)
      - Encode fence specific waitqueue behaviour into the wait.flags (Chris)
      - Don't cancel the breadcrumb interrupt shadow too early (Chris)
      - Cancel submitted requests upon context reset (Chris)
      - Use correct locks in GuC code (Tvrtko)
      - Prevent use of engine->wa_ctx after error (Chris, Matt R)
      
      - Fix build warning on 32-bit (Arnd)
      - Avoid memory leak if platform would have more than 16 W/A (Tvrtko)
      - Avoid unnecessary #if CONFIG_PM in PMU code (Chris, Tvrtko)
      - Improve debugging output (Chris, Tvrtko, Matt R)
      - Make file local variables static (Jani)
      - Avoid uint*_t types in i915 (Jani)
      - Selftest improvements (Chris, Matt A, Dan)
      - Documentation fixes (Chris, Jose)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      
      # Conflicts:
      #	drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
      #	drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h
      #	drivers/gpu/drm/i915/gt/intel_lrc.c
      #	drivers/gpu/drm/i915/gvt/mmio_context.h
      #	drivers/gpu/drm/i915/i915_drv.h
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114152232.GA21588@jlahtine-mobl.ger.corp.intel.com
      fb5cfcaa
    • D
      Merge tag 'drm-intel-next-2021-01-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · dfa7c521
      Dave Airlie 提交于
      - PSR fixes and improvements for selective fetch (Jose)
      - GVT build fixed and cleanup (Jani)
      - RKL display fixes (Lee, Matt)
      - DSI fix (Hans)
      - Panel Power and Backlight fixes (Anshuman, Jani)
      - RPM fix (Chris)
      - Fix HTI port checking (Jose)
      - Clean-up in cursor code (Ville)
      - Once again, trying to use fast+narrow link on eDP (Ville)
      - DG1 display fix (Matt)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210112175151.GA90999@intel.com
      dfa7c521
    • D
      Merge tag 'amd-drm-next-5.12-2021-01-08' of... · 2ce542e5
      Dave Airlie 提交于
      Merge tag 'amd-drm-next-5.12-2021-01-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.12-2021-01-08:
      
      amdgpu:
      - Rework IH ring handling on vega and navi
      - Rework HDP handling for vega and navi
      - swSMU documenation updates
      - Overdrive support for Sienna Cichlid and newer asics
      - swSMU updates for vangogh
      - swSMU updates for renoir
      - Enable FP16 on DCE8-11
      - Misc code cleanups and bug fixes
      
      radeon:
      - Fixes for platforms that can't access PCI resources correctly
      - Misc code cleanups
      
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210108221811.3868-1-alexander.deucher@amd.comSigned-off-by: NDave Airlie <airlied@redhat.com>
      2ce542e5
  2. 14 1月, 2021 9 次提交
  3. 13 1月, 2021 7 次提交
  4. 12 1月, 2021 12 次提交
  5. 11 1月, 2021 3 次提交
  6. 10 1月, 2021 3 次提交