1. 07 9月, 2020 13 次提交
  2. 18 8月, 2020 2 次提交
  3. 13 8月, 2020 1 次提交
  4. 09 7月, 2020 5 次提交
  5. 03 7月, 2020 5 次提交
  6. 01 7月, 2020 2 次提交
  7. 23 6月, 2020 1 次提交
    • J
      drm/i915/params: switch to device specific parameters · 8a25c4be
      Jani Nikula 提交于
      Start using device specific parameters instead of module parameters for
      most things. The module parameters become the immutable initial values
      for i915 parameters. The device specific parameters in i915->params
      start life as a copy of i915_modparams. Any later changes are only
      reflected in the debugfs.
      
      The stragglers are:
      
      * i915.force_probe and i915.modeset. Needed before dev_priv is
        available. This is fine because the parameters are read-only and never
        modified.
      
      * i915.verbose_state_checks. Passing dev_priv to I915_STATE_WARN and
        I915_STATE_WARN_ON would result in massive and ugly churn. This is
        handled by not exposing the parameter via debugfs, and leaving the
        parameter writable in sysfs. This may be fixed up in follow-up work.
      
      * i915.inject_probe_failure. Only makes sense in terms of the module,
        not the device. This is handled by not exposing the parameter via
        debugfs.
      
      v2: Fix uc i915 lookup code (Michał Winiarski)
      
      Cc: Juha-Pekka Heikkilä <juha-pekka.heikkila@intel.com>
      Cc: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
      Cc: Michał Winiarski <michal.winiarski@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Acked-by: NMichał Winiarski <michal.winiarski@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20200618150402.14022-1-jani.nikula@intel.com
      8a25c4be
  8. 17 6月, 2020 1 次提交
  9. 10 6月, 2020 2 次提交
  10. 08 6月, 2020 1 次提交
  11. 06 6月, 2020 1 次提交
  12. 05 6月, 2020 1 次提交
    • C
      drm/i915/gem: Async GPU relocations only · 9e0f9464
      Chris Wilson 提交于
      Reduce the 3 relocation paths down to the single path that accommodates
      all. The primary motivation for this is to guard the relocations with a
      natural fence (derived from the i915_request used to write the
      relocation from the GPU).
      
      The tradeoff in using async gpu relocations is that it increases latency
      over using direct CPU relocations, for the cases where the target is
      idle and accessible by the CPU. The benefit is greatly reduced lock
      contention and improved concurrency by pipelining.
      
      Note that forcing the async gpu relocations does reveal a few issues
      they have. Firstly, is that they are visible as writes to gem_busy,
      causing to mark some buffers are being to written to by the GPU even
      though userspace only reads. Secondly is that, in combination with the
      cmdparser, they can cause priority inversions. This should be the case
      where the work is being put into a common workqueue losing our priority
      information and so being executed in FIFO from the worker, denying us
      the opportunity to reorder the requests afterwards.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200604211457.19696-1-chris@chris-wilson.co.uk
      9e0f9464
  13. 04 6月, 2020 3 次提交
  14. 03 6月, 2020 2 次提交