RFC Basic GuC submission support in the i915
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest97 patches 151 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/97 | drm/i915/gt: Move engine setup out of set_default_submissiondrivers/ drivers/ drivers/ | +44 | 2 replies | |
| 2/97 | drm/i915/gt: Move submission_method into intel_gtdrivers/ drivers/ drivers/ +8 more | +32 | 2 replies | |
| 3/97 | drm/i915/gt: Move CS interrupt handler to the backenddrivers/ drivers/ drivers/ +6 more | +124 | 2 replies | |
| 4/97 | drm/i915/guc: skip disabling CTBs before sanitizing the GuCdrivers/ | +1 | 1 reply | |
| 5/97 | drm/i915/guc: use probe_error log for CT enablement failuredrivers/ | +25 | 1 reply | |
| 6/97 | drm/i915/guc: enable only the user interrupt when using GuC submissiondrivers/ drivers/ | +11 | 1 reply | |
| 7/97 | drm/i915/guc: Remove sample_forcewake h2g actiondrivers/ drivers/ drivers/ +1 more | +0 | 2 replies | |
| 8/97 | drm/i915/guc: Keep strict GuC ABI definitionsdrivers/ drivers/ drivers/ +3 more | +250 | 1 reply | |
| 9/97 | drm/i915/guc: Stop using fence/status from CTB descriptordrivers/ drivers/ | +6 | 1 reply | |
| 10/97 | drm/i915: Promote ptrdiff() to i915_utils.hdrivers/ drivers/ | +5 | 1 reply | |
| 11/97 | drm/i915/guc: Only rely on own CTB sizedrivers/ drivers/ | +43 | 2 replies | |
| 12/97 | drm/i915/guc: Don't repeat CTB layout calculationsdrivers/ | +10 | 3 replies | |
| 13/97 | drm/i915/guc: Replace CTB array with explicit membersdrivers/ drivers/ | +30 | 1 reply | |
| 14/97 | drm/i915/guc: Update sizes of CTB buffersdrivers/ | +32 | 1 reply | |
| 15/97 | drm/i915/guc: Relax CTB response timeoutdrivers/ | +7 | 2 replies | |
| 16/97 | drm/i915/guc: Start protecting access to CTB descriptorsdrivers/ drivers/ | +14 | 3 replies | |
| 17/97 | drm/i915/guc: Stop using mutex while sending CTB messagesdrivers/ | +0 | 1 reply | |
| 18/97 | drm/i915/guc: Don't receive all G2H messages in irq handlerdrivers/ drivers/ | +50 | 2 replies | |
| 19/97 | drm/i915/guc: Always copy CT message to new allocationdrivers/ | +120 | 1 reply | |
| 20/97 | drm/i915/guc: Introduce unified HXG messagesdrivers/ | +226 | 4 replies | |
| 21/97 | drm/i915/guc: Update MMIO based communicationdrivers/ drivers/ | +70 | 0 replies | |
| 22/97 | drm/i915/guc: Update CTB response statusdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 23/97 | drm/i915/guc: Support per context scheduling policiesdrivers/ drivers/ | +11 | 1 reply | |
| 24/97 | drm/i915/guc: Add flag for mark broken CTBdrivers/ drivers/ | +13 | 1 reply | |
| 25/97 | drm/i915/guc: New definition of the CTB descriptordrivers/ drivers/ drivers/ | +85 | 0 replies | |
| 26/97 | drm/i915/guc: New definition of the CTB registration actiondrivers/ drivers/ drivers/ | +152 | 0 replies | |
| 27/97 | drm/i915/guc: New CTB based communicationdrivers/ drivers/ drivers/ | +134 | 0 replies | |
| 28/97 | drm/i915/guc: Kill guc_clients.ct_pooldrivers/ drivers/ | +1 | 1 reply | |
| 29/97 | drm/i915/guc: Update firmware to v60.1.2drivers/ | +12 | 0 replies | |
| 30/97 | drm/i915/uc: turn on GuC/HuC auto mode by defaultdrivers/ | +1 | 1 reply | |
| 31/97 | drm/i915/guc: Early initialization of GuC send registersdrivers/ | +9 | 1 reply | |
| 32/97 | drm/i915: Introduce i915_sched_engine objectdrivers/ drivers/ drivers/ +18 more | +575 | 2 replies | |
| 33/97 | drm/i915: Engine relative MMIOdrivers/ drivers/ drivers/ +2 more | +43 | 1 reply | |
| 34/97 | drm/i915/guc: Use guc_class instead of engine_class in fw interfacedrivers/ drivers/ drivers/ | +42 | 1 reply | |
| 35/97 | drm/i915/guc: Improve error message for unsolicited CT responsedrivers/ | +7 | 2 replies | |
| 36/97 | drm/i915/guc: Add non blocking CTB send functiondrivers/ drivers/ drivers/ | +105 | 20 replies | |
| 37/97 | drm/i915/guc: Add stall timer to non blocking CTB send functiondrivers/ | +45 | 4 replies | |
| 38/97 | drm/i915/guc: Optimize CTB writes and readsdrivers/ drivers/ | +52 | 2 replies | |
| 39/97 | drm/i915/guc: Increase size of CTB buffersdrivers/ | +8 | 6 replies | |
| 40/97 | drm/i915/guc: Module load failure test for CT buffer creationdrivers/ | +8 | 1 reply | |
| 41/97 | drm/i915/guc: Add new GuC interface defines and structuresdrivers/ drivers/ | +59 | 0 replies | |
| 42/97 | drm/i915/guc: Remove GuC stage descriptor, add lrc descriptordrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 43/97 | drm/i915/guc: Add lrc descriptor context lookup arraydrivers/ drivers/ | +35 | 4 replies | |
| 44/97 | drm/i915/guc: Implement GuC submission taskletdrivers/ drivers/ drivers/ | +127 | 2 replies | |
| 45/97 | drm/i915/guc: Add bypass tasklet submission path to GuCdrivers/ | +29 | 0 replies | |
| 46/97 | drm/i915/guc: Implement GuC context operations for new intefacedrivers/ drivers/ drivers/ +5 more | +680 | 1 reply | |
| 47/97 | drm/i915/guc: Insert fence on context when deregisteringdrivers/ drivers/ drivers/ +1 more | +63 | 0 replies | |
| 48/97 | drm/i915/guc: Defer context unpin until scheduling is disableddrivers/ drivers/ drivers/ +3 more | +176 | 0 replies | |
| 49/97 | drm/i915/guc: Disable engine barriers with GuC during unpindrivers/ drivers/ drivers/ +1 more | +15 | 3 replies | |
| 50/97 | drm/i915/guc: Extend deregistration fence to schedule disabledrivers/ | +30 | 0 replies | |
| 51/97 | drm/i915: Disable preempt busywait when using GuC schedulingdrivers/ | +4 | 0 replies | |
| 52/97 | drm/i915/guc: Ensure request ordering via completion fencesdrivers/ drivers/ | +13 | 0 replies | |
| 53/97 | drm/i915/guc: Disable semaphores when using GuC schedulingdrivers/ | +4 | 6 replies | |
| 54/97 | drm/i915/guc: Ensure G2H response has space in bufferdrivers/ drivers/ drivers/ +2 more | +85 | 0 replies | |
| 55/97 | drm/i915/guc: Update intel_gt_wait_for_idle to work with GuCdrivers/ drivers/ drivers/ +11 more | +137 | 6 replies | |
| 56/97 | drm/i915/guc: Update GuC debugfs to support new GuCdrivers/ drivers/ drivers/ +3 more | +104 | 0 replies | |
| 57/97 | drm/i915/guc: Add several request trace pointsdrivers/ drivers/ drivers/ | +43 | 0 replies | |
| 58/97 | drm/i915: Add intel_context tracingdrivers/ drivers/ drivers/ | +166 | 0 replies | |
| 59/97 | drm/i915/guc: GuC virtual enginesdrivers/ drivers/ drivers/ +7 more | +429 | 0 replies | |
| 60/97 | drm/i915: Track 'serial' counts for virtual enginesdrivers/ drivers/ drivers/ +3 more | +39 | 10 replies | |
| 61/97 | drm/i915: Hold reference to intel_context over life of i915_requestdrivers/ | +22 | 1 reply | |
| 62/97 | drm/i915/guc: Disable bonding extension with GuC submissiondrivers/ | +5 | 0 replies | |
| 63/97 | drm/i915/guc: Direct all breadcrumbs for a class to single breadcrumbsdrivers/ drivers/ drivers/ +6 more | +133 | 1 reply | |
| 64/97 | drm/i915/guc: Reset implementation for new GuC interfacedrivers/ drivers/ drivers/ +12 more | +643 | 4 replies | |
| 65/97 | drm/i915: Reset GPU immediately if submission is disableddrivers/ drivers/ drivers/ +3 more | +78 | 1 reply | |
| 66/97 | drm/i915/guc: Add disable interrupts to guc sanitizedrivers/ drivers/ | +19 | 0 replies | |
| 67/97 | drm/i915/guc: Suspend/resume implementation for new interfacedrivers/ drivers/ drivers/ +2 more | +59 | 0 replies | |
| 68/97 | drm/i915/guc: Handle context reset notificationdrivers/ drivers/ drivers/ +1 more | +53 | 1 reply | |
| 69/97 | drm/i915/guc: Handle engine reset failure notificationdrivers/ drivers/ drivers/ | +51 | 0 replies | |
| 70/97 | drm/i915/guc: Enable the timer expired interrupt for GuCdrivers/ | +4 | 0 replies | |
| 71/97 | drm/i915/guc: Provide mmio list to be saved/restored on engine resetdrivers/ drivers/ drivers/ +2 more | +222 | 0 replies | |
| 72/97 | drm/i915/guc: Don't complain about reset racesdrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 73/97 | drm/i915/guc: Enable GuC engine resetdrivers/ | +1 | 0 replies | |
| 74/97 | drm/i915/guc: Capture error state on context resetdrivers/ drivers/ drivers/ +4 more | +91 | 3 replies | |
| 75/97 | drm/i915/guc: Fix for error capture after full GPU reset with GuCdrivers/ drivers/ drivers/ +6 more | +229 | 0 replies | |
| 76/97 | drm/i915/guc: Hook GuC scheduling policies updrivers/ drivers/ drivers/ +1 more | +53 | 0 replies | |
| 77/97 | drm/i915/guc: Connect reset modparam updates to GuC policy flagsdrivers/ drivers/ | +32 | 0 replies | |
| 78/97 | drm/i915/guc: Include scheduling policies in the debugfs state dumpdrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 79/97 | drm/i915/guc: Don't call ring_is_idle in GuC submissiondrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 80/97 | drm/i915/guc: Implement banned contexts for GuC submissiondrivers/ drivers/ drivers/ +5 more | +172 | 0 replies | |
| 81/97 | drm/i915/guc: Allow flexible number of context idsdrivers/ drivers/ | +11 | 0 replies | |
| 82/97 | drm/i915/guc: Connect the number of guc_ids to debugfsdrivers/ drivers/ | +33 | 0 replies | |
| 83/97 | drm/i915/guc: Don't return -EAGAIN to user when guc_ids exhausteddrivers/ drivers/ drivers/ +1 more | +754 | 0 replies | |
| 84/97 | drm/i915/guc: Don't allow requests not ready to consume all guc_idsdrivers/ drivers/ drivers/ +2 more | +65 | 0 replies | |
| 85/97 | drm/i915/guc: Introduce guc_submit_engine objectdrivers/ drivers/ drivers/ +3 more | +411 | 0 replies | |
| 86/97 | drm/i915/guc: Add golden context to GuC ADSdrivers/ drivers/ drivers/ +4 more | +199 | 0 replies | |
| 87/97 | drm/i915/guc: Implement GuC priority managementdrivers/ drivers/ drivers/ +7 more | +266 | 0 replies | |
| 88/97 | drm/i915/guc: Support request cancellationdrivers/ drivers/ drivers/ +4 more | +211 | 0 replies | |
| 89/97 | drm/i915/guc: Check return of __xa_store when registering a contextdrivers/ | +11 | 0 replies | |
| 90/97 | drm/i915/guc: Non-static lrc descriptor registration bufferdrivers/ drivers/ drivers/ | +150 | 0 replies | |
| 91/97 | drm/i915/guc: Take GT PM ref when deregistering contextdrivers/ drivers/ drivers/ +1 more | +101 | 0 replies | |
| 92/97 | drm/i915: Add GT PM delayed workerdrivers/ drivers/ drivers/ +7 more | +92 | 0 replies | |
| 93/97 | drm/i915/guc: Take engine PM when a context is pinned with GuC submissiondrivers/ | +33 | 0 replies | |
| 94/97 | drm/i915/guc: Don't call switch_to_kernel_context with GuC submissiondrivers/ | +4 | 0 replies | |
| 95/97 | drm/i915/guc: Selftest for GuC flow controldrivers/ drivers/ drivers/ +7 more | +793 | 0 replies | |
| 96/97 | drm/i915/guc: Update GuC documentationdrivers/ | +77 | 0 replies | |
| 97/97 | drm/i915/guc: Unblock GuC submission on Gen11+drivers/ drivers/ drivers/ +1 more | +19 | 0 replies |
Reviews trailers per patch
24 of 97 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Brost | Michal Wajdeczko | Michał Winiarski | Tvrtko Ursulin |
|---|---|---|---|---|
| 1/97 | R-b | R-b | ||
| 2/97 | R-b | R-b | ||
| 3/97 | R-b | R-b | ||
| 4/97 | R-b | |||
| 5/97 | R-b | |||
| 6/97 | R-b | |||
| 7/97 | R-b | A-b | ||
| 8/97 | R-b | |||
| 9/97 | R-b | |||
| 10/97 | R-b | |||
| 11/97 | R-b | |||
| 12/97 | R-b | |||
| 13/97 | R-b | |||
| 14/97 | R-b | |||
| 15/97 | ||||
| 16/97 | R-b R-b | |||
| 17/97 | R-b | |||
| 18/97 | R-b | |||
| 19/97 | R-b | |||
| 20/97 | ||||
| 21/97 | ||||
| 22/97 | ||||
| 23/97 | R-b | |||
| 24/97 | R-b | |||
| 25/97 | ||||
| 26/97 | ||||
| 27/97 | ||||
| 28/97 | R-b | |||
| 29/97 | ||||
| 30/97 | ||||
| 31/97 | R-b | |||
| 32/97 | ||||
| 33/97 | ||||
| 34/97 | R-b | |||
| 35/97 | ||||
| 36/97 | ||||
| 37/97 | ||||
| 38/97 | ||||
| 39/97 | ||||
| 40/97 | R-b | |||
| 41/97 | ||||
| 42/97 | ||||
| 43/97 | ||||
| 44/97 | ||||
| 45/97 | ||||
| 46/97 | ||||
| 47/97 | ||||
| 48/97 | ||||
| 49/97 | ||||
| 50/97 | ||||
| 51/97 | ||||
| 52/97 | ||||
| 53/97 | ||||
| 54/97 | ||||
| 55/97 | ||||
| 56/97 | ||||
| 57/97 | ||||
| 58/97 | ||||
| 59/97 | ||||
| 60/97 | ||||
| 61/97 | ||||
| 62/97 | ||||
| 63/97 | ||||
| 64/97 | ||||
| 65/97 | ||||
| 66/97 | ||||
| 67/97 | ||||
| 68/97 | ||||
| 69/97 | ||||
| 70/97 | ||||
| 71/97 | ||||
| 72/97 | ||||
| 73/97 | ||||
| 74/97 | ||||
| 75/97 | ||||
| 76/97 | ||||
| 77/97 | ||||
| 78/97 | ||||
| 79/97 | ||||
| 80/97 | ||||
| 81/97 | ||||
| 82/97 | ||||
| 83/97 | ||||
| 84/97 | ||||
| 85/97 | ||||
| 86/97 | ||||
| 87/97 | ||||
| 88/97 | ||||
| 89/97 | ||||
| 90/97 | ||||
| 91/97 | ||||
| 92/97 | ||||
| 93/97 | ||||
| 94/97 | ||||
| 95/97 | ||||
| 96/97 | ||||
| 97/97 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [RFC PATCH 00/97] Basic GuC submission support in the i915
Basic GuC submission support. This is the first bullet point in the upstreaming plan covered in the following RFC [1].
At a very high level the GuC is a piece of firmware which sits between the i915 and the GPU. It offloads some of the scheduling of contexts from the i915 and programs the GPU to submit contexts. The i915 communicates with the GuC and the GuC communicates with the GPU.
GuC submission will be disabled by default on all current upstream platforms behind a module parameter - enable_guc. A value of 3 will enable submission and HuC loading via the GuC. GuC submission should work on all gen11+ platforms assuming the GuC firmware is present.
This is a huge series and it is completely unrealistic to merge all of these patches at once. Fortunately I believe we can break down the series into different merges:
1. Merge Chris Wilson's patches. These have already been reviewed upstream and I fully agree with these patches as a precursor to GuC submission.
2. Update to GuC 60.1.2. These are largely Michal's patches.
3. Turn on GuC/HuC auto mode by default.
4. Additional patches needed to support GuC submission. This is any patch not covered by 1-3 in the first 34 patches. e.g. 'Engine relative MMIO'
5. GuC submission support. Patches number 35+. These all don't have to merge at once though as we don't actually allow GuC submission until the last patch of this series.
[1] https://patchwork.freedesktop.org/patch/432206/?series=89840&rev=1
Chris Wilson (3):
drm/i915/gt: Move engine setup out of set_default_submission drm/i915/gt: Move submission_method into intel_gt drm/i915/gt: Move CS interrupt handler to the backend
Daniele Ceraolo Spurio (6):
drm/i915/guc: skip disabling CTBs before sanitizing the GuC drm/i915/guc: use probe_error log for CT enablement failure drm/i915/guc: enable only the user interrupt when using GuC submission drm/i915/uc: turn on GuC/HuC auto mode by default drm/i915/guc: Use guc_class instead of engine_class in fw interface drm/i915/guc: Unblock GuC submission on Gen11+
John Harrison (13):
drm/i915/guc: Support per context scheduling policies drm/i915/guc: Update firmware to v60.1.2
drm/i915: Engine relative MMIO
drm/i915/guc: Module load failure test for CT buffer creation drm/i915: Track 'serial' counts for virtual engines drm/i915/guc: Provide mmio list to be saved/restored on engine reset drm/i915/guc: Don't complain about reset races drm/i915/guc: Enable GuC engine reset
drm/i915/guc: Fix for error capture after full GPU reset with GuC drm/i915/guc: Hook GuC scheduling policies up drm/i915/guc: Connect reset modparam updates to GuC policy flags drm/i915/guc: Include scheduling policies in the debugfs state dump drm/i915/guc: Add golden context to GuC ADS
Matthew Brost (53):
drm/i915: Introduce i915_sched_engine object
drm/i915/guc: Improve error message for unsolicited CT response drm/i915/guc: Add non blocking CTB send function drm/i915/guc: Add stall timer to non blocking CTB send function drm/i915/guc: Optimize CTB writes and reads
drm/i915/guc: Increase size of CTB buffers
drm/i915/guc: Add new GuC interface defines and structures drm/i915/guc: Remove GuC stage descriptor, add lrc descriptor drm/i915/guc: Add lrc descriptor context lookup array drm/i915/guc: Implement GuC submission tasklet drm/i915/guc: Add bypass tasklet submission path to GuC drm/i915/guc: Implement GuC context operations for new inteface drm/i915/guc: Insert fence on context when deregistering drm/i915/guc: Defer context unpin until scheduling is disabled drm/i915/guc: Disable engine barriers with GuC during unpin drm/i915/guc: Extend deregistration fence to schedule disable drm/i915: Disable preempt busywait when using GuC scheduling drm/i915/guc: Ensure request ordering via completion fences drm/i915/guc: Disable semaphores when using GuC scheduling drm/i915/guc: Ensure G2H response has space in buffer drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC drm/i915/guc: Update GuC debugfs to support new GuC drm/i915/guc: Add several request trace points
drm/i915: Add intel_context tracing
drm/i915/guc: GuC virtual engines
drm/i915: Hold reference to intel_context over life of i915_request drm/i915/guc: Disable bonding extension with GuC submission drm/i915/guc: Direct all breadcrumbs for a class to single breadcrumbs drm/i915/guc: Reset implementation for new GuC interface drm/i915: Reset GPU immediately if submission is disabled drm/i915/guc: Add disable interrupts to guc sanitize drm/i915/guc: Suspend/resume implementation for new interface drm/i915/guc: Handle context reset notification drm/i915/guc: Handle engine reset failure notification drm/i915/guc: Enable the timer expired interrupt for GuC drm/i915/guc: Capture error state on context reset drm/i915/guc: Don't call ring_is_idle in GuC submission drm/i915/guc: Implement banned contexts for GuC submission drm/i915/guc: Allow flexible number of context ids drm/i915/guc: Connect the number of guc_ids to debugfs drm/i915/guc: Don't return -EAGAIN to user when guc_ids exhausted drm/i915/guc: Don't allow requests not ready to consume all guc_ids drm/i915/guc: Introduce guc_submit_engine object drm/i915/guc: Implement GuC priority management drm/i915/guc: Support request cancellation
drm/i915/guc: Check return of __xa_store when registering a context drm/i915/guc: Non-static lrc descriptor registration buffer drm/i915/guc: Take GT PM ref when deregistering context drm/i915: Add GT PM delayed worker
drm/i915/guc: Take engine PM when a context is pinned with GuC
submission
drm/i915/guc: Don't call switch_to_kernel_context with GuC submission drm/i915/guc: Selftest for GuC flow control
drm/i915/guc: Update GuC documentation
Michal Wajdeczko (21):
drm/i915/guc: Keep strict GuC ABI definitions drm/i915/guc: Stop using fence/status from CTB descriptor drm/i915: Promote ptrdiff() to i915_utils.h drm/i915/guc: Only rely on own CTB size drm/i915/guc: Don't repeat CTB layout calculations drm/i915/guc: Replace CTB array with explicit members drm/i915/guc: Update sizes of CTB buffers drm/i915/guc: Relax CTB response timeout drm/i915/guc: Start protecting access to CTB descriptors drm/i915/guc: Stop using mutex while sending CTB messages drm/i915/guc: Don't receive all G2H messages in irq handler drm/i915/guc: Always copy CT message to new allocation drm/i915/guc: Introduce unified HXG messages drm/i915/guc: Update MMIO based communication drm/i915/guc: Update CTB response status drm/i915/guc: Add flag for mark broken CTB drm/i915/guc: New definition of the CTB descriptor drm/i915/guc: New definition of the CTB registration action drm/i915/guc: New CTB based communication drm/i915/guc: Kill guc_clients.ct_pool drm/i915/guc: Early initialization of GuC send registers
Rodrigo Vivi (1):
drm/i915/guc: Remove sample_forcewake h2g action
drivers/gpu/drm/i915/Makefile | 2 + drivers/gpu/drm/i915/gem/i915_gem_context.c | 39 +- drivers/gpu/drm/i915/gem/i915_gem_context.h | 1 + drivers/gpu/drm/i915/gem/i915_gem_mman.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_wait.c | 4 +- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 6 +- drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 44 +- drivers/gpu/drm/i915/gt/intel_breadcrumbs.h | 14 +- .../gpu/drm/i915/gt/intel_breadcrumbs_types.h | 7 + drivers/gpu/drm/i915/gt/intel_context.c | 50 +- drivers/gpu/drm/i915/gt/intel_context.h | 45 +- drivers/gpu/drm/i915/gt/intel_context_types.h | 76 +- drivers/gpu/drm/i915/gt/intel_engine.h | 96 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 320 +- .../gpu/drm/i915/gt/intel_engine_heartbeat.c | 75 +- .../gpu/drm/i915/gt/intel_engine_heartbeat.h | 4 + drivers/gpu/drm/i915/gt/intel_engine_pm.c | 14 +- drivers/gpu/drm/i915/gt/intel_engine_pm.h | 5 + drivers/gpu/drm/i915/gt/intel_engine_types.h | 71 +- drivers/gpu/drm/i915/gt/intel_engine_user.c | 6 +- .../drm/i915/gt/intel_execlists_submission.c | 693 +-- .../drm/i915/gt/intel_execlists_submission.h | 14 - drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 5 + drivers/gpu/drm/i915/gt/intel_gt.c | 23 + drivers/gpu/drm/i915/gt/intel_gt.h | 2 + drivers/gpu/drm/i915/gt/intel_gt_irq.c | 100 +- drivers/gpu/drm/i915/gt/intel_gt_irq.h | 23 + drivers/gpu/drm/i915/gt/intel_gt_pm.c | 14 +- drivers/gpu/drm/i915/gt/intel_gt_pm.h | 13 + .../drm/i915/gt/intel_gt_pm_delayed_work.c | 35 + .../drm/i915/gt/intel_gt_pm_delayed_work.h | 24 + drivers/gpu/drm/i915/gt/intel_gt_requests.c | 23 +- drivers/gpu/drm/i915/gt/intel_gt_requests.h | 7 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 10 + drivers/gpu/drm/i915/gt/intel_lrc_reg.h | 1 - drivers/gpu/drm/i915/gt/intel_reset.c | 58 +- .../gpu/drm/i915/gt/intel_ring_submission.c | 73 +- drivers/gpu/drm/i915/gt/intel_rps.c | 6 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 46 +- .../gpu/drm/i915/gt/intel_workarounds_types.h | 1 + drivers/gpu/drm/i915/gt/mock_engine.c | 58 +- drivers/gpu/drm/i915/gt/selftest_context.c | 10 + drivers/gpu/drm/i915/gt/selftest_execlists.c | 58 +- drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 6 +- drivers/gpu/drm/i915/gt/selftest_lrc.c | 6 +- drivers/gpu/drm/i915/gt/selftest_reset.c | 2 +- .../drm/i915/gt/selftest_ring_submission.c | 2 +- .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 177 + .../gt/uc/abi/guc_communication_ctb_abi.h | 192 + .../gt/uc/abi/guc_communication_mmio_abi.h | 35 + .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h | 13 + .../gpu/drm/i915/gt/uc/abi/guc_messages_abi.h | 247 + drivers/gpu/drm/i915/gt/uc/intel_guc.c | 194 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 131 +- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 484 +- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 1088 +++-- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h | 49 +- .../gpu/drm/i915/gt/uc/intel_guc_debugfs.c | 56 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 377 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 4037 +++++++++++++++-- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 20 +- .../i915/gt/uc/intel_guc_submission_types.h | 55 + drivers/gpu/drm/i915/gt/uc/intel_uc.c | 116 +- drivers/gpu/drm/i915/gt/uc/intel_uc.h | 11 + drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 25 +- .../i915/gt/uc/selftest_guc_flow_control.c | 589 +++ drivers/gpu/drm/i915/i915_active.c | 3 + drivers/gpu/drm/i915/i915_debugfs.c | 8 +- drivers/gpu/drm/i915/i915_debugfs_params.c | 31 + drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem_evict.c | 1 + drivers/gpu/drm/i915/i915_gpu_error.c | 28 +- drivers/gpu/drm/i915/i915_irq.c | 10 +- drivers/gpu/drm/i915/i915_params.h | 2 +- drivers/gpu/drm/i915/i915_perf.c | 16 +- drivers/gpu/drm/i915/i915_reg.h | 2 + drivers/gpu/drm/i915/i915_request.c | 218 +- drivers/gpu/drm/i915/i915_request.h | 37 +- drivers/gpu/drm/i915/i915_scheduler.c | 188 +- drivers/gpu/drm/i915/i915_scheduler.h | 74 +- drivers/gpu/drm/i915/i915_scheduler_types.h | 74 + drivers/gpu/drm/i915/i915_trace.h | 219 +- drivers/gpu/drm/i915/i915_utils.h | 5 + drivers/gpu/drm/i915/i915_vma.h | 5 - drivers/gpu/drm/i915/intel_wakeref.c | 5 + drivers/gpu/drm/i915/intel_wakeref.h | 1 + .../drm/i915/selftests/i915_live_selftests.h | 1 + .../gpu/drm/i915/selftests/igt_live_test.c | 2 +- .../i915/selftests/intel_scheduler_helpers.c | 101 + .../i915/selftests/intel_scheduler_helpers.h | 37 + .../gpu/drm/i915/selftests/mock_gem_device.c | 3 +- include/uapi/drm/i915_drm.h | 9 + 93 files changed, 8954 insertions(+), 2222 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm_delayed_work.c create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm_delayed_work.h create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_errors_abi.h create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_messages_abi.h create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_submission_types.h create mode 100644 drivers/gpu/drm/i915/gt/uc/selftest_guc_flow_control.c create mode 100644 drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.c create mode 100644 drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.h
Signature · 6 lines
2.28.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx