1. 15 4月, 2018 1 次提交
    • C
      drm/i915: Check whitelist registers across resets · f4ecfbfc
      Chris Wilson 提交于
      Add a selftest to ensure that we restore the whitelisted registers after
      rewrite the registers everytime they might be scrubbed, e.g. module
      load, reset and resume. For the other volatile workaround registers, we
      export their presence via debugfs and check in igt/gem_workarounds.
      However, we don't export the whitelist and rather than do so, let's test
      them directly in the kernel.
      
      The test we use is to read the registers back from the CS (this helps us
      be sure that the registers will be valid for MI_LRI etc). In order to
      generate the expected list, we split intel_whitelist_workarounds_emit
      into two phases, the first to build the list and the second to apply.
      Inside the test, we only build the list and then check that list against
      the hw.
      
      v2: Filter out pre-gen8 as they do not have RING_NONPRIV.
      v3: Drop unused engine parameter, no plans to use it now or future.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Oscar Mateo <oscar.mateo@intel.com>
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NOscar Mateo <oscar.mateo@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180414122754.569-1-chris@chris-wilson.co.uk
      f4ecfbfc
  2. 12 4月, 2018 2 次提交
  3. 19 3月, 2018 1 次提交
  4. 15 3月, 2018 2 次提交
  5. 09 3月, 2018 1 次提交
  6. 22 2月, 2018 1 次提交
  7. 10 2月, 2018 1 次提交
  8. 08 2月, 2018 1 次提交
  9. 07 2月, 2018 1 次提交
  10. 24 11月, 2017 2 次提交
  11. 21 11月, 2017 2 次提交
  12. 20 11月, 2017 1 次提交
  13. 16 11月, 2017 1 次提交
  14. 11 11月, 2017 3 次提交
  15. 27 10月, 2017 1 次提交
  16. 26 10月, 2017 1 次提交
  17. 17 10月, 2017 1 次提交
  18. 14 10月, 2017 1 次提交
  19. 10 10月, 2017 1 次提交
  20. 22 9月, 2017 1 次提交
  21. 18 9月, 2017 1 次提交
  22. 15 9月, 2017 1 次提交
  23. 13 9月, 2017 1 次提交
  24. 09 9月, 2017 1 次提交
  25. 27 7月, 2017 1 次提交
  26. 20 6月, 2017 1 次提交
  27. 19 6月, 2017 1 次提交
  28. 04 5月, 2017 4 次提交
  29. 28 4月, 2017 1 次提交
    • J
      drm/i915: Sanitize engine context sizes · 63ffbcda
      Joonas Lahtinen 提交于
      Pre-calculate engine context size based on engine class and device
      generation and store it in the engine instance.
      
      v2:
      - Squash and get rid of hw_context_size (Chris)
      
      v3:
      - Move after MMIO init for probing on Gen7 and 8 (Chris)
      - Retained rounding (Tvrtko)
      v4:
      - Rebase for deferred legacy context allocation
      Signed-off-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Oscar Mateo <oscar.mateo@intel.com>
      Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
      Cc: intel-gvt-dev@lists.freedesktop.org
      Acked-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      63ffbcda
  30. 27 4月, 2017 1 次提交
  31. 25 4月, 2017 1 次提交