All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@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: Wed, 1 Feb 2023 11:36:51 +0000	[thread overview]
Message-ID: <Y9pOsq7VKnq7rgnW@tursulin-desk> (raw)

Hi Dave, Daniel,

Here goes the final pull request for 6.3.

Aside a few fixes, the reset is split between refactoring of the
workarounds code and correcting some workaround placement to correctly
align for new platforms, and converting the GuC code to use dedicated
logging macros, as was done for the whole of the GT in the previous pull.

Some minor random future platform prep as well, and a back merge to fix
a conflict between drm-intel-next and drm-intel-gt-next.

Regards,

Tvrtko

drm-intel-gt-next-2023-02-01:
Driver Changes:

Fixes/improvements/new stuff:

- Fix bcs default context on Meteorlake (Lucas De Marchi)
- GAM registers don't need to be re-applied on engine resets (Matt Roper)
- Correct implementation of Wa_18018781329 (Matt Roper)
- Avoid potential vm use-after-free (Rob Clark)
- GuC error capture fixes (John Harrison)
- Fix potential bit_17 double-free (Rob Clark)
- Don't complain about missing regs on MTL (John Harrison)

Future platform enablement:

- Convert PSS_MODE2 to multicast register (Gustavo Sousa)
- Move/adjust register definitions related to Wa_22011450934 (Matt Roper)
- Move LSC_CHICKEN_BIT* workarounds to correct function (Gustavo Sousa)
- Document where to implement register workarounds (Gustavo Sousa)
- Use uabi engines for the default engine map (Tvrtko Ursulin)
- Flush all tiles on test exit (Tvrtko Ursulin)
- Annotate a couple more workaround registers as MCR (Matt Roper)

Driver refactors:

- Add and use GuC oriented print macros (Michal Wajdeczko)

Miscellaneous:

- Fix intel_selftest_modify_policy argument types (Arnd Bergmann)

Backmerges:

Merge drm/drm-next into drm-intel-gt-next (for conflict resolution) (Tvrtko Ursulin)
The following changes since commit 045e8d102f44ad75dca0b0ec9eede15ea89da673:

  Merge tag 'drm-intel-gt-next-2023-01-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2023-01-24 16:20:43 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-gt-next-2023-02-01

for you to fetch changes up to 003e11ed2ef4af01b808f0f193eaa5a32f32383b:

  drm/i915/mtl: Wa_22011802037: don't complain about missing regs on MTL (2023-01-31 15:17:30 -0800)

----------------------------------------------------------------
Driver Changes:

Fixes/improvements/new stuff:

- Fix bcs default context on Meteorlake (Lucas De Marchi)
- GAM registers don't need to be re-applied on engine resets (Matt Roper)
- Correct implementation of Wa_18018781329 (Matt Roper)
- Avoid potential vm use-after-free (Rob Clark)
- GuC error capture fixes (John Harrison)
- Fix potential bit_17 double-free (Rob Clark)
- Don't complain about missing regs on MTL (John Harrison)

Future platform enablement:

- Convert PSS_MODE2 to multicast register (Gustavo Sousa)
- Move/adjust register definitions related to Wa_22011450934 (Matt Roper)
- Move LSC_CHICKEN_BIT* workarounds to correct function (Gustavo Sousa)
- Document where to implement register workarounds (Gustavo Sousa)
- Use uabi engines for the default engine map (Tvrtko Ursulin)
- Flush all tiles on test exit (Tvrtko Ursulin)
- Annotate a couple more workaround registers as MCR (Matt Roper)

Driver refactors:

- Add and use GuC oriented print macros (Michal Wajdeczko)

Miscellaneous:

- Fix intel_selftest_modify_policy argument types (Arnd Bergmann)

Backmerges:

Merge drm/drm-next into drm-intel-gt-next (for conflict resolution) (Tvrtko Ursulin)

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/i915/selftest: fix intel_selftest_modify_policy argument types

Gustavo Sousa (3):
      drm/i915/doc: Document where to implement register workarounds
      drm/i915/gt: Move LSC_CHICKEN_BIT* workarounds to correct function
      drm/i915/gt: Convert PSS_MODE2 to multicast register

John Harrison (9):
      drm/i915/guc: Fix locking when searching for a hung request
      drm/i915: Fix request ref counting during error capture & debugfs dump
      drm/i915: Fix up locking around dumping requests lists
      drm/i915: Allow error capture without a request
      drm/i915: Allow error capture of a pending request
      drm/i915/guc: Look for a guilty context when an engine reset fails
      drm/i915/guc: Add a debug print on GuC triggered reset
      drm/i915/guc: Rename GuC register state capture node to be more obvious
      drm/i915/mtl: Wa_22011802037: don't complain about missing regs on MTL

Lucas De Marchi (1):
      drm/i915/mtl: Fix bcs default context

Matt Roper (4):
      drm/i915: Move/adjust register definitions related to Wa_22011450934
      drm/i915/xehp: GAM registers don't need to be re-applied on engine resets
      drm/i915/mtl: Correct implementation of Wa_18018781329
      drm/i915/xehp: Annotate a couple more workaround registers as MCR

Michal Wajdeczko (8):
      drm/i915/guc: Add GuC oriented print macros
      drm/i915/guc: Update GuC messages in intel_guc.c
      drm/i915/guc: Update GuC messages in intel_guc_ads.c
      drm/i915/guc: Update GuC messages in intel_guc_ct.c
      drm/i915/guc: Update GuC messages in intel_guc_fw.c
      drm/i915/guc: Update GuC messages in intel_guc_log.c
      drm/i915/guc: Update GuC messages in intel_guc_submission.c
      drm/i915/guc: Update GT/GuC messages in intel_uc.c

Rob Clark (2):
      drm/i915: Avoid potential vm use-after-free
      drm/i915: Fix potential bit_17 double-free

Tvrtko Ursulin (3):
      drm/i915: Use uabi engines for the default engine map
      Merge drm/drm-next into drm-intel-gt-next
      drm/i915/selftests: Flush all tiles on test exit

 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  23 ++-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   9 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   4 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  79 +++++-----
 drivers/gpu/drm/i915/gt/intel_engine_regs.h        |   1 +
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  27 ++++
 .../gpu/drm/i915/gt/intel_execlists_submission.h   |   4 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |  17 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  43 +-----
 drivers/gpu/drm/i915/gt/intel_workarounds.c        | 172 +++++++++++++--------
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  31 ++--
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c     |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |  23 +--
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |  17 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |  38 ++---
 drivers/gpu/drm/i915/gt/uc/intel_guc_print.h       |  48 ++++++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  96 +++++++-----
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  80 +++++-----
 drivers/gpu/drm/i915/i915_drv.h                    |   4 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |  92 +++++------
 drivers/gpu/drm/i915/i915_gpu_error.h              |   2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   4 -
 drivers/gpu/drm/i915/selftests/igt_flush_test.c    |  28 ++--
 .../drm/i915/selftests/intel_scheduler_helpers.c   |   3 +-
 27 files changed, 491 insertions(+), 377 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_print.h

WARNING: multiple messages have this Message-ID (diff)
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Dave Airlie <airlied@gmail.com>, Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PULL] drm-intel-gt-next
Date: Wed, 1 Feb 2023 11:36:51 +0000	[thread overview]
Message-ID: <Y9pOsq7VKnq7rgnW@tursulin-desk> (raw)

Hi Dave, Daniel,

Here goes the final pull request for 6.3.

Aside a few fixes, the reset is split between refactoring of the
workarounds code and correcting some workaround placement to correctly
align for new platforms, and converting the GuC code to use dedicated
logging macros, as was done for the whole of the GT in the previous pull.

Some minor random future platform prep as well, and a back merge to fix
a conflict between drm-intel-next and drm-intel-gt-next.

Regards,

Tvrtko

drm-intel-gt-next-2023-02-01:
Driver Changes:

Fixes/improvements/new stuff:

- Fix bcs default context on Meteorlake (Lucas De Marchi)
- GAM registers don't need to be re-applied on engine resets (Matt Roper)
- Correct implementation of Wa_18018781329 (Matt Roper)
- Avoid potential vm use-after-free (Rob Clark)
- GuC error capture fixes (John Harrison)
- Fix potential bit_17 double-free (Rob Clark)
- Don't complain about missing regs on MTL (John Harrison)

Future platform enablement:

- Convert PSS_MODE2 to multicast register (Gustavo Sousa)
- Move/adjust register definitions related to Wa_22011450934 (Matt Roper)
- Move LSC_CHICKEN_BIT* workarounds to correct function (Gustavo Sousa)
- Document where to implement register workarounds (Gustavo Sousa)
- Use uabi engines for the default engine map (Tvrtko Ursulin)
- Flush all tiles on test exit (Tvrtko Ursulin)
- Annotate a couple more workaround registers as MCR (Matt Roper)

Driver refactors:

- Add and use GuC oriented print macros (Michal Wajdeczko)

Miscellaneous:

- Fix intel_selftest_modify_policy argument types (Arnd Bergmann)

Backmerges:

Merge drm/drm-next into drm-intel-gt-next (for conflict resolution) (Tvrtko Ursulin)
The following changes since commit 045e8d102f44ad75dca0b0ec9eede15ea89da673:

  Merge tag 'drm-intel-gt-next-2023-01-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2023-01-24 16:20:43 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-gt-next-2023-02-01

for you to fetch changes up to 003e11ed2ef4af01b808f0f193eaa5a32f32383b:

  drm/i915/mtl: Wa_22011802037: don't complain about missing regs on MTL (2023-01-31 15:17:30 -0800)

----------------------------------------------------------------
Driver Changes:

Fixes/improvements/new stuff:

- Fix bcs default context on Meteorlake (Lucas De Marchi)
- GAM registers don't need to be re-applied on engine resets (Matt Roper)
- Correct implementation of Wa_18018781329 (Matt Roper)
- Avoid potential vm use-after-free (Rob Clark)
- GuC error capture fixes (John Harrison)
- Fix potential bit_17 double-free (Rob Clark)
- Don't complain about missing regs on MTL (John Harrison)

Future platform enablement:

- Convert PSS_MODE2 to multicast register (Gustavo Sousa)
- Move/adjust register definitions related to Wa_22011450934 (Matt Roper)
- Move LSC_CHICKEN_BIT* workarounds to correct function (Gustavo Sousa)
- Document where to implement register workarounds (Gustavo Sousa)
- Use uabi engines for the default engine map (Tvrtko Ursulin)
- Flush all tiles on test exit (Tvrtko Ursulin)
- Annotate a couple more workaround registers as MCR (Matt Roper)

Driver refactors:

- Add and use GuC oriented print macros (Michal Wajdeczko)

Miscellaneous:

- Fix intel_selftest_modify_policy argument types (Arnd Bergmann)

Backmerges:

Merge drm/drm-next into drm-intel-gt-next (for conflict resolution) (Tvrtko Ursulin)

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/i915/selftest: fix intel_selftest_modify_policy argument types

Gustavo Sousa (3):
      drm/i915/doc: Document where to implement register workarounds
      drm/i915/gt: Move LSC_CHICKEN_BIT* workarounds to correct function
      drm/i915/gt: Convert PSS_MODE2 to multicast register

John Harrison (9):
      drm/i915/guc: Fix locking when searching for a hung request
      drm/i915: Fix request ref counting during error capture & debugfs dump
      drm/i915: Fix up locking around dumping requests lists
      drm/i915: Allow error capture without a request
      drm/i915: Allow error capture of a pending request
      drm/i915/guc: Look for a guilty context when an engine reset fails
      drm/i915/guc: Add a debug print on GuC triggered reset
      drm/i915/guc: Rename GuC register state capture node to be more obvious
      drm/i915/mtl: Wa_22011802037: don't complain about missing regs on MTL

Lucas De Marchi (1):
      drm/i915/mtl: Fix bcs default context

Matt Roper (4):
      drm/i915: Move/adjust register definitions related to Wa_22011450934
      drm/i915/xehp: GAM registers don't need to be re-applied on engine resets
      drm/i915/mtl: Correct implementation of Wa_18018781329
      drm/i915/xehp: Annotate a couple more workaround registers as MCR

Michal Wajdeczko (8):
      drm/i915/guc: Add GuC oriented print macros
      drm/i915/guc: Update GuC messages in intel_guc.c
      drm/i915/guc: Update GuC messages in intel_guc_ads.c
      drm/i915/guc: Update GuC messages in intel_guc_ct.c
      drm/i915/guc: Update GuC messages in intel_guc_fw.c
      drm/i915/guc: Update GuC messages in intel_guc_log.c
      drm/i915/guc: Update GuC messages in intel_guc_submission.c
      drm/i915/guc: Update GT/GuC messages in intel_uc.c

Rob Clark (2):
      drm/i915: Avoid potential vm use-after-free
      drm/i915: Fix potential bit_17 double-free

Tvrtko Ursulin (3):
      drm/i915: Use uabi engines for the default engine map
      Merge drm/drm-next into drm-intel-gt-next
      drm/i915/selftests: Flush all tiles on test exit

 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  23 ++-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   9 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   4 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  79 +++++-----
 drivers/gpu/drm/i915/gt/intel_engine_regs.h        |   1 +
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  27 ++++
 .../gpu/drm/i915/gt/intel_execlists_submission.h   |   4 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |  17 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  43 +-----
 drivers/gpu/drm/i915/gt/intel_workarounds.c        | 172 +++++++++++++--------
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  31 ++--
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c     |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |  23 +--
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |  17 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |  38 ++---
 drivers/gpu/drm/i915/gt/uc/intel_guc_print.h       |  48 ++++++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  96 +++++++-----
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  80 +++++-----
 drivers/gpu/drm/i915/i915_drv.h                    |   4 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |  92 +++++------
 drivers/gpu/drm/i915/i915_gpu_error.h              |   2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   4 -
 drivers/gpu/drm/i915/selftests/igt_flush_test.c    |  28 ++--
 .../drm/i915/selftests/intel_scheduler_helpers.c   |   3 +-
 27 files changed, 491 insertions(+), 377 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_print.h

             reply	other threads:[~2023-02-01 11:37 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01 11:36 Tvrtko Ursulin [this message]
2023-02-01 11:36 ` [Intel-gfx] [PULL] drm-intel-gt-next Tvrtko Ursulin
  -- strict thread matches above, loose matches on Subject: below --
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-15 12:11 ` Joonas Lahtinen
2023-12-08 16:18 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-01-18 11:24 Tvrtko Ursulin
2023-01-24 15:32 ` Daniel Vetter
2022-11-18  9:12 Joonas Lahtinen
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=Y9pOsq7VKnq7rgnW@tursulin-desk \
    --to=tvrtko.ursulin@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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.