1. 23 2月, 2021 1 次提交
  2. 17 2月, 2021 1 次提交
  3. 16 2月, 2021 1 次提交
  4. 08 2月, 2021 2 次提交
  5. 05 2月, 2021 1 次提交
  6. 26 1月, 2021 1 次提交
  7. 21 1月, 2021 1 次提交
  8. 16 1月, 2021 3 次提交
  9. 15 1月, 2021 1 次提交
  10. 14 1月, 2021 1 次提交
  11. 13 1月, 2021 2 次提交
  12. 12 1月, 2021 1 次提交
  13. 24 12月, 2020 1 次提交
  14. 22 12月, 2020 10 次提交
  15. 21 12月, 2020 1 次提交
  16. 10 12月, 2020 2 次提交
  17. 01 9月, 2020 1 次提交
  18. 09 7月, 2020 1 次提交
  19. 02 6月, 2020 1 次提交
  20. 09 5月, 2020 1 次提交
  21. 01 5月, 2020 1 次提交
  22. 30 4月, 2020 1 次提交
    • C
      drm/i915/gt: Keep a no-frills swappable copy of the default context state · be1cb55a
      Chris Wilson 提交于
      We need to keep the default context state around to instantiate new
      contexts (aka golden rendercontext), and we also keep it pinned while
      the engine is active so that we can quickly reset a hanging context.
      However, the default contexts are large enough to merit keeping in
      swappable memory as opposed to kernel memory, so we store them inside
      shmemfs. Currently, we use the normal GEM objects to create the default
      context image, but we can throw away all but the shmemfs file.
      
      This greatly simplifies the tricky power management code which wants to
      run underneath the normal GT locking, and we definitely do not want to
      use any high level objects that may appear to recurse back into the GT.
      Though perhaps the primary advantage of the complex GEM object is that
      we aggressively cache the mapping, but here we are recreating the
      vm_area everytime time we unpark. At the worst, we add a lightweight
      cache, but first find a microbenchmark that is impacted.
      
      Having started to create some utility functions to make working with
      shmemfs objects easier, we can start putting them to wider use, where
      GEM objects are overkill, such as storing persistent error state.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Cc: Ramalingam C <ramalingam.c@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200429172429.6054-1-chris@chris-wilson.co.uk
      be1cb55a
  23. 27 4月, 2020 1 次提交
  24. 25 4月, 2020 1 次提交
  25. 18 4月, 2020 1 次提交
  26. 08 4月, 2020 1 次提交