1. 10 2月, 2022 1 次提交
  2. 21 1月, 2022 1 次提交
  3. 10 1月, 2022 2 次提交
  4. 09 12月, 2021 1 次提交
  5. 17 11月, 2021 3 次提交
  6. 16 11月, 2021 1 次提交
  7. 11 11月, 2021 1 次提交
  8. 05 11月, 2021 1 次提交
  9. 03 11月, 2021 2 次提交
  10. 19 10月, 2021 1 次提交
  11. 14 10月, 2021 1 次提交
  12. 05 10月, 2021 1 次提交
  13. 04 10月, 2021 1 次提交
  14. 02 10月, 2021 1 次提交
  15. 01 10月, 2021 1 次提交
  16. 24 9月, 2021 1 次提交
    • T
      drm/i915 Implement LMEM backup and restore for suspend / resume · c56ce956
      Thomas Hellström 提交于
      Just evict unpinned objects to system. For pinned LMEM objects,
      make a backup system object and blit the contents to that.
      
      Backup is performed in three steps,
      1: Opportunistically evict evictable objects using the gpu blitter.
      2: After gt idle, evict evictable objects using the gpu blitter. This will
      be modified in an upcoming patch to backup pinned objects that are not used
      by the blitter itself.
      3: Backup remaining pinned objects using memcpy.
      
      Also move uC suspend to after 2) to make sure we have a functional GuC
      during 2) if using GuC submission.
      
      v2:
      - Major refactor to make sure gem_exec_suspend@hang-SX subtests work, and
        suspend / resume works with a slightly modified GuC submission enabling
        patch series.
      
      v3:
      - Fix a potential use-after-free (Matthew Auld)
      - Use i915_gem_object_create_shmem() instead of
        i915_gem_object_create_region (Matthew Auld)
      - Minor simplifications (Matthew Auld)
      - Fix up kerneldoc for i195_ttm_restore_region().
      - Final lmem_suspend() call moved to i915_gem_backup_suspend from
        i915_gem_suspend_late, since the latter gets called at driver unload
        and we don't unnecessarily want to run it at that time.
      
      v4:
      - Interface change of ttm- & lmem suspend / resume functions to use
        flags rather than bools. (Matthew Auld)
      - Completely drop the i915_gem_backup_suspend change (Matthew Auld)
      Signed-off-by: NThomas Hellström <thomas.hellstrom@linux.intel.com>
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210922062527.865433-5-thomas.hellstrom@linux.intel.com
      c56ce956
  17. 20 9月, 2021 1 次提交
  18. 29 7月, 2021 1 次提交
  19. 15 7月, 2021 2 次提交
    • M
      drm/i915/icl: Use revid->stepping tables · cc7a3393
      Matt Roper 提交于
      Switch ICL to use a revid->stepping table as we're trying to do on all
      platforms going forward.  While we're at it, let's include some
      additional steppings that have popped up, even if we don't yet have any
      workarounds tied to those steppings (we probably need to audit our
      workaround list soon to see if any of the bounds have moved or if new
      workarounds have appeared).
      
      Note that the current bspec table is missing information about how to
      map PCI revision ID to GT/display steppings; it only provides an SoC
      stepping.  The mapping to GT/display steppings (which aren't always the
      same as the SoC stepping) used to be in the bspec, but was apparently
      dropped during an update in Nov 2019; I've made my changes here based on
      an older bspec snapshot that still had the necessary information.  We've
      requested that the missing information be restored.
      
      I'm only including the production revids in the table here since we're
      past the point at which we usually stop trying to support pre-production
      hardware.  An appropriate check is added to
      intel_detect_preproduction_hw() to print an error and taint the kernel
      just in case someone still tries to load the driver on old
      pre-production hardware.
      
      v2:
       - Drop pre-production steppings and add error/taint at startup when
         loading on pre-production hardware.
      
      Bspec: 21141  # pre-Nov 2019 snapshot
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210713193635.3390052-8-matthew.d.roper@intel.com
      cc7a3393
    • M
      drm/i915: Make pre-production detection use direct revid comparison · c314b693
      Matt Roper 提交于
      Although we're converting our workarounds to use a revid->stepping
      lookup table, the function that detects pre-production hardware should
      continue to compare against PCI revision ID values directly.  These are
      listed in the bspec as integers, so it's easier to confirm their
      correctness if we just use an integer literal rather than a symbolic
      name anyway.
      
      Bspec: 13620, 19131, 13626, 18329
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NAnusha Srivatsa <anusha.srivatsa@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210713193635.3390052-3-matthew.d.roper@intel.com
      c314b693
  20. 07 7月, 2021 1 次提交
  21. 03 7月, 2021 1 次提交
  22. 01 7月, 2021 1 次提交
  23. 07 6月, 2021 1 次提交
  24. 02 6月, 2021 1 次提交
  25. 01 6月, 2021 1 次提交
  26. 20 5月, 2021 2 次提交
  27. 04 5月, 2021 1 次提交
    • M
      drm/i915/uapi: introduce drm_i915_gem_create_ext · ebcb4029
      Matthew Auld 提交于
      Same old gem_create but with now with extensions support. This is needed
      to support various upcoming usecases.
      
      v2:(Chris)
          - Use separate ioctl number for gem_create_ext, instead of hijacking
            the existing gem_create ioctl, otherwise we run into the issue
            with being unable to detect if the kernel supports the new extension
            behaviour.
          - We now have gem_create_ext.flags, which should be zeroed.
          - I915_GEM_CREATE_EXT_SETPARAM value is now zero, since this is the
            index into our array of extensions.
          - Setup a "vanilla" object which we can directly apply our extensions
            to.
      v3:(Daniel & Jason)
          - drop I915_GEM_CREATE_EXT_SETPARAM. Instead just have each extension
            do one thing only, instead of generic setparam which can cover
            various use cases.
          - add some kernel-doc.
      Signed-off-by: NMatthew Auld <matthew.auld@intel.com>
      Signed-off-by: NCQ Tang <cq.tang@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
      Cc: Jordan Justen <jordan.l.justen@intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Kenneth Graunke <kenneth@whitecape.org>
      Cc: Jason Ekstrand <jason@jlekstrand.net>
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: mesa-dev@lists.freedesktop.org
      Reviewed-by: NKenneth Graunke <kenneth@whitecape.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210429103056.407067-5-matthew.auld@intel.com
      ebcb4029
  28. 30 4月, 2021 1 次提交
  29. 14 4月, 2021 3 次提交
  30. 10 4月, 2021 1 次提交
  31. 02 4月, 2021 1 次提交
  32. 29 3月, 2021 1 次提交