1. 27 1月, 2020 1 次提交
  2. 22 1月, 2020 1 次提交
  3. 17 1月, 2020 1 次提交
  4. 15 1月, 2020 1 次提交
  5. 01 11月, 2019 1 次提交
    • M
      drm/i915/lmem: add the fake lmem region · 16292243
      Matthew Auld 提交于
      Intended for upstream testing so that we can still exercise the LMEM
      plumbing and !i915_ggtt_has_aperture paths. Smoke tested on Skull Canyon
      device. This works by allocating an intel_memory_region for a reserved
      portion of system memory, which we treat like LMEM. For the LMEMBAR we
      steal the aperture and 1:1 it map to the stolen region.
      
      To enable simply set the i915 modparam fake_lmem_start= on the kernel
      cmdline with the start of reserved region(see memmap=). The size of the
      region we can use is determined by the size of the mappable aperture, so
      the size of reserved region should be >= mappable_end. For now we only
      enable for the selftests. Depends on CONFIG_DRM_I915_UNSTABLE being
      enabled.
      
      eg. memmap=2G$16G i915.fake_lmem_start=0x400000000
      
      v2: make fake_lmem_start an i915 modparam
      Signed-off-by: NMatthew Auld <matthew.auld@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
      Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191030173320.8850-1-matthew.auld@intel.com
      16292243
  6. 29 10月, 2019 1 次提交
  7. 24 10月, 2019 1 次提交
    • C
      drm/i915/execlists: Force preemption · 3a7a92ab
      Chris Wilson 提交于
      If the preempted context takes too long to relinquish control, e.g. it
      is stuck inside a shader with arbitration disabled, evict that context
      with an engine reset. This ensures that preemptions are reasonably
      responsive, providing a tighter QoS for the more important context at
      the cost of flagging unresponsive contexts more frequently (i.e. instead
      of using an ~10s hangcheck, we now evict at ~100ms).  The challenge of
      lies in picking a timeout that can be reasonably serviced by HW for
      typical workloads, balancing the existing clients against the needs for
      responsiveness.
      
      Note that coupled with timeslicing, this will lead to rapid GPU "hang"
      detection with multiple active contexts vying for GPU time.
      
      The forced preemption mechanism can be compiled out with
      
      	./scripts/config --set-val DRM_I915_PREEMPT_TIMEOUT 0
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191023133108.21401-2-chris@chris-wilson.co.uk
      3a7a92ab
  8. 19 7月, 2019 1 次提交
  9. 12 7月, 2019 1 次提交
  10. 26 6月, 2019 1 次提交
  11. 31 5月, 2019 2 次提交
  12. 29 1月, 2019 1 次提交
  13. 31 12月, 2018 3 次提交
  14. 27 9月, 2018 1 次提交
  15. 19 7月, 2018 1 次提交
  16. 18 5月, 2018 1 次提交
  17. 02 5月, 2018 1 次提交
  18. 19 3月, 2018 1 次提交
  19. 20 1月, 2018 1 次提交
  20. 19 12月, 2017 1 次提交
  21. 06 12月, 2017 1 次提交
  22. 01 12月, 2017 1 次提交
  23. 21 11月, 2017 2 次提交
  24. 04 10月, 2017 1 次提交
  25. 26 9月, 2017 3 次提交
  26. 22 9月, 2017 1 次提交
  27. 17 8月, 2017 1 次提交
  28. 21 7月, 2017 2 次提交
  29. 23 6月, 2017 2 次提交
  30. 21 6月, 2017 1 次提交
  31. 15 3月, 2017 1 次提交
  32. 07 2月, 2017 1 次提交