dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Dave Airlie <airlied@gmail.com>, Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>,
	dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	intel-gfx@lists.freedesktop.org
Subject: [PULL] drm-intel-gt-next
Date: Fri, 18 Nov 2022 11:12:23 +0200	[thread overview]
Message-ID: <Y3dMd9HDpfDehhWm@jlahtine-mobl.ger.corp.intel.com> (raw)

Hi Dave & Daniel,

Here goes the last drm-intel-gt-next feature pull req for v6.2.

We have a couple of important fixes around memory management (TTM
and userptr), then demoting GuC kernel contexts to normal priority and
Meteorlake enabling.

Beyond that it's smaller fixes to code structure and corner cases.

Note the backmerge of drm-next to bring in v6.1-rc1 which had needed
dependencies for which I gave heads-up in IRC.

Regards, Joonas

**

drm-intel-gt-next-2022-11-18:

Core Changes:

- Backmerge of drm-next

Driver Changes:

- Restore probe_range behaviour for userptr (Matt A)
- Fix use-after-free on lmem_userfault_list (Matt A)
- Never purge busy TTM objects (Matt A)
- Meteorlake enabling (Daniele, Badal, Daniele, Stuart, Aravind, Alan)
- Demote GuC kernel contexts to normal priority (John)

- Use RC6 residency types as arguments to residency functions (Ashutosh,
  Rodrigo, Jani)
- Convert some legacy DRM debugging macros to new ones (Tvrtko)
- Don't deadlock GuC busyness stats vs reset (John)
- Remove excessive line feeds in GuC state dumps (John)
- Use i915_sg_dma_sizes() for all backends (Matt A)
- Prefer REG_FIELD_GET in intel_rps_get_cagf (Ashutosh, Rodrigo)
- Use GEN12_RPSTAT register for GT freq (Don, Badal, Ashutosh)
- Remove unwanted TTM ghost obj check (Matt A)
- Update workaround documentation (Lucas)

- Coding style and static checker fixes and cleanups
  (Jani, Umesh, Tvrtko, Lucas, Andrzej)
- Selftest improvements (Chris, Daniele, Riana, Andrzej)

The following changes since commit 60ba8c5bd94e17ab4b024f5cecf8b48e2cf36412:

  Merge tag 'drm-intel-gt-next-2022-11-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2022-11-04 17:33:34 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-gt-next-2022-11-18

for you to fetch changes up to 4bb9ca7ee07455bec0a802ecf0aa5b09496888e2:

  drm/i915/mtl: C6 residency and C state type for MTL SAMedia (2022-11-17 10:47:12 -0500)

----------------------------------------------------------------
Core Changes:

- Backmerge of drm-next

Driver Changes:

- Restore probe_range behaviour for userptr (Matt A)
- Fix use-after-free on lmem_userfault_list (Matt A)
- Never purge busy TTM objects (Matt A)
- Meteorlake enabling (Daniele, Badal, Daniele, Stuart, Aravind, Alan)
- Demote GuC kernel contexts to normal priority (John)

- Use RC6 residency types as arguments to residency functions (Ashutosh,
  Rodrigo, Jani)
- Convert some legacy DRM debugging macros to new ones (Tvrtko)
- Don't deadlock GuC busyness stats vs reset (John)
- Remove excessive line feeds in GuC state dumps (John)
- Use i915_sg_dma_sizes() for all backends (Matt A)
- Prefer REG_FIELD_GET in intel_rps_get_cagf (Ashutosh, Rodrigo)
- Use GEN12_RPSTAT register for GT freq (Don, Badal, Ashutosh)
- Remove unwanted TTM ghost obj check (Matt A)
- Update workaround documentation (Lucas)

- Coding style and static checker fixes and cleanups
  (Jani, Umesh, Tvrtko, Lucas, Andrzej)
- Selftest improvements (Chris, Daniele, Riana, Andrzej)

----------------------------------------------------------------
Alan Previn (1):
      drm/i915/pxp: Separate PXP FW interface structures for both v42 and 43

Andrzej Hajda (2):
      drm/i915: call i915_request_await_object from _i915_vma_move_to_active
      drm/i915/selftests: add igt_vma_move_to_active_unlocked

Aravind Iddamsetty (1):
      drm/i915/mtl: Handle wopcm per-GT and limit calculations.

Ashutosh Dixit (2):
      drm/i915/rps: Prefer REG_FIELD_GET in intel_rps_get_cagf
      drm/i915/gt: Use RC6 residency types as arguments to residency functions

Badal Nilawar (3):
      drm/i915/mtl: Add Wa_14017073508 for SAMedia
      drm/i915/mtl: Modify CAGF functions for MTL
      drm/i915/mtl: C6 residency and C state type for MTL SAMedia

Chris Wilson (1):
      drm/i915/selftests: Reduce oversaturation of request smoketesting

Daniele Ceraolo Spurio (12):
      drm/i915/mtl: add initial definitions for GSC CS
      drm/i915/mtl: pass the GSC CS info to the GuC
      drm/i915/mtl: add GSC CS interrupt support
      drm/i915/mtl: add GSC CS reset support
      drm/i915/mtl: don't expose GSC command streamer to the user
      drm/i915/guc: don't hardcode BCS0 in guc_hang selftest
      drm/i915/huc: only load HuC on GTs that have VCS engines
      drm/i915/uc: fetch uc firmwares for each GT
      drm/i915/uc: use different ggtt pin offsets for uc loads
      drm/i915/guc: define media GT GuC send regs
      drm/i915/guc: handle interrupts from media GuC
      drm/i915/guc: add the GSC CS to the GuC capture list

Don Hiatt (1):
      drm/i915: Use GEN12_RPSTAT register for GT freq

Jani Nikula (1):
      drm/i915/pxp: use <> instead of "" for headers in include/

John Harrison (3):
      drm/i915/guc: Remove excessive line feeds in state dumps
      drm/i915/guc: Properly initialise kernel contexts
      drm/i915/guc: Don't deadlock busyness stats vs reset

Joonas Lahtinen (1):
      Merge drm/drm-next into drm-intel-gt-next

Lucas De Marchi (2):
      Documentation/gpu: Fix section in the wrong scope
      drm/i915: Update workaround documentation

Matthew Auld (5):
      drm/i915/userptr: restore probe_range behaviour
      drm/i915/ttm: fix uaf with lmem_userfault_list handling
      drm/i915/ttm: add some sanity checks for lmem_userfault_list
      drm/i915: use i915_sg_dma_sizes() for all backends
      drm/i915/ttm: never purge busy objects

Nirmoy Das (1):
      drm/i915: Remove unwanted ghost obj check

Riana Tauro (1):
      drm/i915/guc/slpc: Add selftest for slpc tile-tile interaction

Stuart Summers (1):
      drm/i915/guc: Add GuC deprivilege feature to MTL

Tvrtko Ursulin (3):
      drm/i915: Partial abandonment of legacy DRM logging macros
      drm/i915: Simplify internal helper function signature
      drm/i915: Fix vma allocator debug

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Fix kernel-doc warning

 Documentation/gpu/drm-usage-stats.rst              |   1 -
 Documentation/gpu/i915.rst                         |   2 +-
 drivers/gpu/drm/i915/Makefile                      |   5 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  43 ++++---
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |   5 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   7 +-
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |   9 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c            |  20 +--
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |   9 +-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |   2 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  10 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  22 +---
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |   4 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  16 +--
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |  10 +-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c |   8 +-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h |  14 +++
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   9 ++
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   1 +
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |  28 ++++-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  13 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |   4 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   5 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             | 104 +++++++++-------
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |  27 +++++
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |  88 ++++++++++----
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |  25 ++--
 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c        |  12 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |   2 +
 drivers/gpu/drm/i915/gt/intel_rc6.c                |  64 ++++++----
 drivers/gpu/drm/i915/gt/intel_rc6.h                |  11 +-
 drivers/gpu/drm/i915/gt/intel_rc6_types.h          |  15 ++-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |   4 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |  18 ++-
 drivers/gpu/drm/i915/gt/intel_reset.h              |   1 +
 drivers/gpu/drm/i915/gt/intel_rps.c                |  57 +++++++--
 drivers/gpu/drm/i915/gt/intel_rps.h                |   2 +
 drivers/gpu/drm/i915/{ => gt}/intel_wopcm.c        |  43 +++++--
 drivers/gpu/drm/i915/{ => gt}/intel_wopcm.h        |   0
 drivers/gpu/drm/i915/gt/intel_workarounds.c        | 134 ++++++++++++---------
 drivers/gpu/drm/i915/gt/intel_workarounds_types.h  |   3 +
 drivers/gpu/drm/i915/gt/selftest_execlists.c       |  14 +--
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |  35 +-----
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  33 ++---
 drivers/gpu/drm/i915/gt/selftest_mocs.c            |   5 +-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |   6 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |   8 +-
 drivers/gpu/drm/i915/gt/selftest_slpc.c            |  70 ++++++++++-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |  26 ++--
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  47 +++++---
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |  11 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c     |  11 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |   7 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c          |  13 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h         |   2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  15 ++-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |  29 +++++
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  12 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |  46 +++++--
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |  14 +++
 .../gpu/drm/i915/gt/uc/selftest_guc_hangcheck.c    |   8 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |   2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |   5 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |   4 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   2 -
 drivers/gpu/drm/i915/i915_drv.h                    |  16 ++-
 drivers/gpu/drm/i915/i915_gem.c                    |   8 +-
 drivers/gpu/drm/i915/i915_getparam.c               |   2 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  12 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   1 +
 drivers/gpu/drm/i915/i915_perf.c                   |  18 +--
 drivers/gpu/drm/i915/i915_perf_types.h             |   4 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   9 +-
 drivers/gpu/drm/i915/i915_query.c                  |  12 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  10 ++
 drivers/gpu/drm/i915/i915_sysfs.c                  |   3 +-
 drivers/gpu/drm/i915/i915_vma.c                    |  21 ++--
 drivers/gpu/drm/i915/i915_vma.h                    |   1 +
 drivers/gpu/drm/i915/intel_uncore.c                |  21 ++--
 .../gpu/drm/i915/pxp/intel_pxp_cmd_interface_42.h  |  28 +++++
 .../gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h  |  26 ++++
 .../gpu/drm/i915/pxp/intel_pxp_cmd_interface_cmn.h |  35 ++++++
 drivers/gpu/drm/i915/pxp/intel_pxp_huc.c           |  13 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c           |  12 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h |  57 ---------
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   5 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |  14 +--
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |  20 +--
 drivers/gpu/drm/i915/selftests/mock_region.c       |   2 +-
 97 files changed, 1023 insertions(+), 631 deletions(-)
 rename drivers/gpu/drm/i915/{ => gt}/intel_wopcm.c (87%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_wopcm.h (100%)
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_42.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h
 create mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_cmn.h
 delete mode 100644 drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h

             reply	other threads:[~2022-11-18  9:12 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18  9:12 Joonas Lahtinen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-26  7:17 [PULL] drm-intel-gt-next Joonas Lahtinen
2024-02-28 14:02 Tvrtko Ursulin
2024-02-15 10:06 Tvrtko Ursulin
2024-02-16  2:58 ` Dave Airlie
2024-02-16  9:31   ` Thomas Hellström
2024-02-16  9:33     ` Thomas Hellström
2024-02-16  9:41   ` Joonas Lahtinen
2024-02-20 15:14     ` Joonas Lahtinen
2023-12-15 12:11 Joonas Lahtinen
2023-12-08 16:18 Joonas Lahtinen
2023-10-19 14:54 Tvrtko Ursulin
2023-10-12 10:30 Tvrtko Ursulin
2023-09-28 12:36 Tvrtko Ursulin
2023-08-11 10:47 Joonas Lahtinen
2023-08-04  8:45 Joonas Lahtinen
2023-06-08 15:34 Tvrtko Ursulin
2023-05-24 18:09 Tvrtko Ursulin
2023-04-06 11:41 Maarten Lankhorst
2023-04-06 12:34 ` Jani Nikula
2023-04-06 13:00   ` Daniel Vetter
2023-04-06  8:18 Joonas Lahtinen
2023-04-06 12:38 ` Daniel Vetter
2023-03-16 12:58 Joonas Lahtinen
2023-02-01 11:36 Tvrtko Ursulin
2023-01-18 11:24 Tvrtko Ursulin
2023-01-24 15:32 ` Daniel Vetter
2022-11-03  8:03 Joonas Lahtinen
2022-10-31 11:07 Joonas Lahtinen
2022-11-01 19:33 ` Dave Airlie
2022-09-16  8:47 Joonas Lahtinen
2022-09-09 11:20 Joonas Lahtinen
2022-08-24 12:01 Joonas Lahtinen
2022-07-13 21:31 Rodrigo Vivi
2022-07-21 15:06 ` Vivi, Rodrigo
2022-06-29 10:45 Tvrtko Ursulin
2022-05-05  6:39 Tvrtko Ursulin
2022-04-27 10:49 Tvrtko Ursulin
2022-03-03  7:50 Joonas Lahtinen
2022-02-17 10:26 Joonas Lahtinen
2022-02-20 23:30 ` Dave Airlie
2022-02-21  9:21   ` Jani Nikula
2022-02-22 19:44     ` Lucas De Marchi
2022-02-23 20:35       ` Vivi, Rodrigo
2021-12-23 12:47 Tvrtko Ursulin
2021-12-09 13:14 Tvrtko Ursulin
2021-10-21 13:07 Joonas Lahtinen
2021-10-08  9:27 Joonas Lahtinen
2021-08-06 10:06 Joonas Lahtinen
2021-08-06 10:10 ` Joonas Lahtinen
2021-06-10  9:40 Joonas Lahtinen
2021-05-28  7:25 Joonas Lahtinen
2021-05-28  7:27 ` Joonas Lahtinen
2021-06-02  0:28   ` Dave Airlie
2021-06-02  4:17     ` Dave Airlie
2021-06-02  4:30       ` Dave Airlie
2021-04-06 13:40 Joonas Lahtinen
2021-01-21 15:07 Joonas Lahtinen
2021-01-14 15:22 Joonas Lahtinen
2020-11-12 16:34 Joonas Lahtinen
2020-09-07 13:00 Joonas Lahtinen
2020-09-04 13:39 Joonas Lahtinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y3dMd9HDpfDehhWm@jlahtine-mobl.ger.corp.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=airlied@gmail.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dim-tools@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=tvrtko.ursulin@linux.intel.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).