From: Joonas Lahtinen <joonas.lahtinen@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,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Sean Paul <sean@poorly.run>,
intel-gfx@lists.freedesktop.org
Subject: [PULL] drm-intel-gt-next
Date: Tue, 6 Apr 2021 16:40:43 +0300 [thread overview]
Message-ID: <YGxksaZGXHnFxlwg@jlahtine-mobl.ger.corp.intel.com> (raw)
Hi Dave & Daniel,
Bit late PR due to Easter break.
Prep work for local memory support as requested. Hard hang
fix for Sandybridge. Sanitize dma-buf size on import and
avoid GPU reset if heartbeat callback runs before timeout.
The rest is mostly small fixes and code/checkpatch cleanups.
Regards, Joonas
***
drm-intel-gt-next-2021-04-06:
Driver Changes:
- Prepare for local/device memory support on DG1 by starting
to use it for kernel internal allocations: context, ring
and engine scratch (Matt A, CQ, Abdiel, Imre)
- Sandybridge fix to avoid hard hang on ring resume (Chris)
- Limit imported dma-buf size to int32 (Matt A)
- Double check heartbeat timeout before resetting (Chris)
- Use new tasklet API for execution list (Emil)
- Fix SPDX checkpats warnings (Chris)
- Fixes for various checkpatch warnings (Chris)
- Selftest improvements (Chris)
- Move the defer_request waiter active assertion to correct spot (Chris)
- Make local-memory probing a GT operation (Matt, Tvrtko)
- Protect against request freeing during cancellation on wedging (Chris)
- Retire unexpected starting state error dumping (Chris)
- Distinction of memory regions in debugging (Zbigniew)
- Always flush the submission queue on checking for idle (Chris)
- Consolidate 2big error check to helper (Matt)
- Decrease number of subplatform bits (Tvrtko)
- Remove unused internal request priority levels (Chris)
- Document the unused internal header bits in buddy allocator (Matt)
- Cleanup the region class/instance encoding (Matt)
The following changes since commit 06debd6e1b28029e6e77c41e59a162868f377897:
Merge tag 'drm-intel-next-2021-03-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2021-03-18 08:06:34 +1000)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-gt-next-2021-04-06
for you to fetch changes up to 2da21daa7d93817fa82f703c29adfcb5eed7f77d:
drm/i915/gt: Always flush the submission queue on checking for idle (2021-03-24 19:31:59 +0100)
----------------------------------------------------------------
Driver Changes:
- Prepare for local/device memory support on DG1 by starting
to use it for kernel internal allocations: context, ring
and engine scratch (Matt A, CQ, Abdiel, Imre)
- Sandybridge fix to avoid hard hang on ring resume (Chris)
- Limit imported dma-buf size to int32 (Matt A)
- Double check heartbeat timeout before resetting (Chris)
- Use new tasklet API for execution list (Emil)
- Fix SPDX checkpats warnings (Chris)
- Fixes for various checkpatch warnings (Chris)
- Selftest improvements (Chris)
- Move the defer_request waiter active assertion to correct spot (Chris)
- Make local-memory probing a GT operation (Matt, Tvrtko)
- Protect against request freeing during cancellation on wedging (Chris)
- Retire unexpected starting state error dumping (Chris)
- Distinction of memory regions in debugging (Zbigniew)
- Always flush the submission queue on checking for idle (Chris)
- Consolidate 2big error check to helper (Matt)
- Decrease number of subplatform bits (Tvrtko)
- Remove unused internal request priority levels (Chris)
- Document the unused internal header bits in buddy allocator (Matt)
- Cleanup the region class/instance encoding (Matt)
----------------------------------------------------------------
Abdiel Janulgue (1):
drm/i915: introduce mem->reserved
CQ Tang (1):
drm/i915: reserve stolen for LMEM region
Chris Wilson (22):
drm/i915: Strip out internal priorities
drm/i915: Remove I915_USER_PRIORITY_SHIFT
drm/i915/gt: Call stop_ring() from ring resume, again
drm/i915/gt: SPDX cleanup
drm/i915/gt: Add some missing blank lines after declaration
drm/i915/gt: Remove repeated words from comments
drm/i915/gt: Fixup misaligned function parameters
drm/i915/gt: Remove a bonus newline
drm/i915/gt: Wrap macro arg in ()
drm/i915/gt: Insert spaces into GEN3_L3LOG_SIZE/4
drm/i915/gt: Replace unnecessary ',' with '; '
drm/i915/gt: Add a space before '('
drm/i915/gt: Replace 'return' with a fall-through
drm/i915/selftests: Check for engine-reset errors in the middle of workarounds
drm/i915/gt: Move the defer_request waiter active assertion
drm/i915: Protect against request freeing during cancellation on wedging
drm/i915/selftests: Use a single copy of the mocs table
drm/i915/gt: Retire unexpected starting state error dumping
drm/i915/selftests: Restore previous heartbeat interval
drm/i915/gt: Double check heartbeat timeout before resetting
drm/i915/selftest: Synchronise with the GPU timestamp
drm/i915/gt: Always flush the submission queue on checking for idle
Emil Renner Berthing (1):
drm/i915/gt: use new tasklet API for execution list
Imre Deak (1):
drm/i915/dg1: Reserve first 1MB of local memory
Matthew Auld (11):
drm/i915/gem: don't trust the dma_buf->size
drm/i915/gem: consolidate 2big error checking for object sizes
drm/i915/buddy: document the unused header bits
drm/i915: make local-memory probing a GT operation
drm/i915: setup the LMEM region
drm/i915: allocate context from LMEM
drm/i915: move engine scratch to LMEM
drm/i915/gtt/dg1: add PTE_LM plumbing for ppGTT
drm/i915/gtt/dg1: add PTE_LM plumbing for GGTT
drm/i915: cleanup the region class/instance encoding
drm/i915: give stolen system memory its own class
Michel Thierry (1):
drm/i915: allocate cmd ring in lmem
Tvrtko Ursulin (1):
drm/i915: Decrease number of subplatform bits
Zbigniew Kempczyński (1):
drm/i915: Distinction of memory regions
drivers/gpu/drm/i915/display/intel_display.c | 4 +-
drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 +-
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 3 +
drivers/gpu/drm/i915/gem/i915_gem_object.h | 26 ++++
drivers/gpu/drm/i915/gem/i915_gem_region.c | 12 +-
drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 4 +-
drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 16 +--
.../drm/i915/gem/selftests/i915_gem_object_blt.c | 4 +-
drivers/gpu/drm/i915/gt/debugfs_gt.c | 2 +-
drivers/gpu/drm/i915/gt/gen6_ppgtt.h | 4 +-
drivers/gpu/drm/i915/gt/gen6_renderstate.c | 20 +--
drivers/gpu/drm/i915/gt/gen7_renderstate.c | 20 +--
drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 13 +-
drivers/gpu/drm/i915/gt/gen8_renderstate.c | 20 +--
drivers/gpu/drm/i915/gt/gen9_renderstate.c | 20 +--
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 23 +---
drivers/gpu/drm/i915/gt/intel_context.c | 3 +-
drivers/gpu/drm/i915/gt/intel_context.h | 3 +-
drivers/gpu/drm/i915/gt/intel_context_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 35 +----
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c | 26 ++--
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_pm.c | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_pm.h | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_user.c | 3 +-
drivers/gpu/drm/i915/gt/intel_engine_user.h | 3 +-
.../gpu/drm/i915/gt/intel_execlists_submission.c | 97 +++++---------
drivers/gpu/drm/i915/gt/intel_ggtt.c | 26 +++-
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 23 +---
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.h | 21 +--
drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gt.c | 44 ++++++-
drivers/gpu/drm/i915/gt/intel_gt.h | 1 +
.../gpu/drm/i915/gt/intel_gt_buffer_pool_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c | 1 -
drivers/gpu/drm/i915/gt/intel_gt_irq.c | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_irq.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_pm.c | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_pm.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_pm_irq.c | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_pm_irq.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_requests.c | 3 +-
drivers/gpu/drm/i915/gt/intel_gt_requests.h | 3 +-
drivers/gpu/drm/i915/gt/intel_gtt.h | 5 +
drivers/gpu/drm/i915/gt/intel_llc.c | 3 +-
drivers/gpu/drm/i915/gt/intel_llc.h | 3 +-
drivers/gpu/drm/i915/gt/intel_llc_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_lrc.c | 6 +-
drivers/gpu/drm/i915/gt/intel_lrc_reg.h | 5 +-
drivers/gpu/drm/i915/gt/intel_mocs.c | 21 +--
drivers/gpu/drm/i915/gt/intel_mocs.h | 22 +---
drivers/gpu/drm/i915/gt/intel_ppgtt.c | 4 +
drivers/gpu/drm/i915/gt/intel_rc6.c | 4 +-
drivers/gpu/drm/i915/gt/intel_rc6.h | 3 +-
drivers/gpu/drm/i915/gt/intel_rc6_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_region_lmem.c | 97 +++++++++++++-
drivers/gpu/drm/i915/gt/intel_region_lmem.h | 6 +-
drivers/gpu/drm/i915/gt/intel_renderstate.c | 27 +---
drivers/gpu/drm/i915/gt/intel_renderstate.h | 20 +--
drivers/gpu/drm/i915/gt/intel_reset.c | 18 +--
drivers/gpu/drm/i915/gt/intel_reset.h | 3 +-
drivers/gpu/drm/i915/gt/intel_reset_types.h | 2 +-
drivers/gpu/drm/i915/gt/intel_ring.c | 8 +-
drivers/gpu/drm/i915/gt/intel_ring.h | 4 +-
drivers/gpu/drm/i915/gt/intel_ring_submission.c | 146 +++++++++------------
drivers/gpu/drm/i915/gt/intel_ring_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_rps.c | 3 +-
drivers/gpu/drm/i915/gt/intel_rps.h | 3 +-
drivers/gpu/drm/i915/gt/intel_rps_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_sseu.c | 3 +-
drivers/gpu/drm/i915/gt/intel_sseu.h | 3 +-
drivers/gpu/drm/i915/gt/intel_timeline.c | 3 +-
drivers/gpu/drm/i915/gt/intel_timeline.h | 21 +--
drivers/gpu/drm/i915/gt/intel_timeline_types.h | 3 +-
drivers/gpu/drm/i915/gt/intel_workarounds.c | 14 +-
drivers/gpu/drm/i915/gt/intel_workarounds.h | 3 +-
drivers/gpu/drm/i915/gt/intel_workarounds_types.h | 3 +-
drivers/gpu/drm/i915/gt/mock_engine.c | 29 +---
drivers/gpu/drm/i915/gt/mock_engine.h | 21 +--
drivers/gpu/drm/i915/gt/selftest_context.c | 3 +-
drivers/gpu/drm/i915/gt/selftest_engine.c | 3 +-
drivers/gpu/drm/i915/gt/selftest_engine.h | 3 +-
drivers/gpu/drm/i915/gt/selftest_engine_cs.c | 3 +-
.../gpu/drm/i915/gt/selftest_engine_heartbeat.c | 17 ++-
drivers/gpu/drm/i915/gt/selftest_engine_pm.c | 11 +-
drivers/gpu/drm/i915/gt/selftest_execlists.c | 54 +++-----
drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 4 +-
drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 21 +--
drivers/gpu/drm/i915/gt/selftest_llc.c | 3 +-
drivers/gpu/drm/i915/gt/selftest_llc.h | 3 +-
drivers/gpu/drm/i915/gt/selftest_lrc.c | 1 -
drivers/gpu/drm/i915/gt/selftest_mocs.c | 35 +++--
drivers/gpu/drm/i915/gt/selftest_rc6.c | 3 +-
drivers/gpu/drm/i915/gt/selftest_rc6.h | 3 +-
drivers/gpu/drm/i915/gt/selftest_timeline.c | 3 +-
drivers/gpu/drm/i915/gt/selftest_workarounds.c | 19 ++-
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 +--
drivers/gpu/drm/i915/i915_buddy.c | 3 +
drivers/gpu/drm/i915/i915_buddy.h | 7 +-
drivers/gpu/drm/i915/i915_drv.c | 6 +-
drivers/gpu/drm/i915/i915_drv.h | 2 +-
drivers/gpu/drm/i915/i915_pci.c | 2 +-
drivers/gpu/drm/i915/i915_priolist_types.h | 11 +-
drivers/gpu/drm/i915/i915_reg.h | 2 +
drivers/gpu/drm/i915/i915_request.c | 9 +-
drivers/gpu/drm/i915/i915_request.h | 2 +-
drivers/gpu/drm/i915/i915_scheduler.c | 52 +-------
drivers/gpu/drm/i915/i915_scheduler.h | 16 +--
drivers/gpu/drm/i915/intel_device_info.c | 2 +-
drivers/gpu/drm/i915/intel_device_info.h | 3 +-
drivers/gpu/drm/i915/intel_memory_region.c | 54 +++++---
drivers/gpu/drm/i915/intel_memory_region.h | 22 ++--
drivers/gpu/drm/i915/selftests/i915_buddy.c | 48 +++++++
.../gpu/drm/i915/selftests/intel_memory_region.c | 77 +++++++++++
115 files changed, 735 insertions(+), 844 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2021-04-06 13:40 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 13:40 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-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-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=YGxksaZGXHnFxlwg@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=sean@poorly.run \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).