1. 23 7月, 2021 9 次提交
  2. 19 6月, 2021 7 次提交
  3. 06 6月, 2021 1 次提交
  4. 04 6月, 2021 1 次提交
  5. 25 5月, 2021 3 次提交
  6. 25 3月, 2021 2 次提交
  7. 13 1月, 2021 3 次提交
  8. 21 12月, 2020 1 次提交
  9. 10 12月, 2020 1 次提交
  10. 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
  11. 08 5月, 2020 1 次提交
    • C
      drm/i915: Remove wait priority boosting · eec39e44
      Chris Wilson 提交于
      Upon waiting a request (when asked), we gave that request a small
      priority boost, not enough for it to cause preemption, but enough for it
      to be scheduled next before all equals. We also used that bit to give
      new clients a small priority boost, similar to FQ_CODEL, such that we
      favoured short interactive tasks ahead of long running streams.
      
      However, this is causing lots of complications with timeslicing where we
      both want to honour the boost and yet ignore it. Those complications
      cause unexpected user behaviour (tasks not being timesliced and run
      concurrently as epxected), and the easiest way to resolve that is to
      remove the boost. Hopefully, we can find a compromise again if we need
      to, but in theory timeslicing itself and future more advanced schedulers
      should give us the interactivity boost we seek.
      
      Testcase: igt/gem_exec_schedule/lateslice
      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>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200507152338.7452-3-chris@chris-wilson.co.uk
      eec39e44
  12. 07 5月, 2020 1 次提交
  13. 29 4月, 2020 1 次提交
  14. 04 3月, 2020 1 次提交
  15. 21 2月, 2020 1 次提交
  16. 22 12月, 2019 1 次提交
  17. 20 12月, 2019 1 次提交
  18. 18 12月, 2019 1 次提交
  19. 14 12月, 2019 1 次提交
  20. 10 12月, 2019 2 次提交
    • D
      drm/i915/guc: kill the GuC client · 3c9abe88
      Daniele Ceraolo Spurio 提交于
      We now only use 1 client without any plan to add more. The client is
      also only holding information about the WQ and the process desc, so we
      can just move those in the intel_guc structure and always use stage_id
      0.
      
      v2: fix comment (John)
      v3: fix the comment for real, fix kerneldoc
      Signed-off-by: NDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
      Cc: John Harrison <John.C.Harrison@Intel.com>
      Cc: Matthew Brost <matthew.brost@intel.com>
      Reviewed-by: NJohn Harrison <John.C.Harrison@Intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191205220243.27403-4-daniele.ceraolospurio@intel.com
      3c9abe88
    • D
      drm/i915/guc: kill doorbell code and selftests · e9362e13
      Daniele Ceraolo Spurio 提交于
      Instead of relying on the workqueue, the upcoming reworked GuC
      submission flow will offer the host driver indipendent control over
      the execution status of each context submitted to GuC. As part of this,
      the doorbell usage model has been reworked, with each doorbell being
      paired to a single lrc and a doorbell ring representing new work
      available for that specific context. This mechanism, however, limits
      the number of contexts that can be registered with GuC to the number of
      doorbells, which is an undesired limitation. To avoid this limitation,
      we requested the GuC team to also provide a H2G that will allow the host
      to notify the GuC of work available for a specified lrc, so we can use
      that mechanism instead of relying on the doorbells. We can therefore drop
      the doorbell code we currently have, also given the fact that in the
      unlikely case we'd want to switch back to using doorbells we'd have to
      heavily rework it.
      The workqueue will still have a use in the new interface to pass special
      commands, so that code has been retained for now.
      
      With the doorbells gone and the GuC client becoming even simpler, the
      existing GuC selftests don't give us any meaningful coverage so we can
      remove them as well. Some selftests might come with the new code, but
      they will look different from what we have now so if doesn't seem worth
      it to keep the file around in the meantime.
      
      v2: fix comments and commit message (John)
      Signed-off-by: NDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
      Cc: John Harrison <John.C.Harrison@Intel.com>
      Cc: Matthew Brost <matthew.brost@intel.com>
      Reviewed-by: NJohn Harrison <John.C.Harrison@Intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191205220243.27403-3-daniele.ceraolospurio@intel.com
      e9362e13