summaryrefslogtreecommitdiff
path: root/kernel/entry
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2026-01-15 22:01:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2026-02-23 14:33:11 -0500
commita17ef941212bf26e9985ec31486a9606420d8257 (patch)
treec5303b066efcf4659942067e6f85c84210e0de31 /kernel/entry
parentb43effe1887aa5b5ce43ccdfc3b05b3a4bdc5d96 (diff)
drm/amdgpu: rework ring reset backup and reemit v9
Store the start wptr and ib size in the IB fence. On queue reset, save the ring contents of all IBs. For reemit, reemit the entire IB state for non-guilty contexts. For guilty contexts, replace the IB submission with nops, but reemit the rest. Split the reemit per fence and when we reemit, update the wptr with the new values from reemit. This allows us to reemit jobs repeatedly as the wptrs get properly updated each time. v2: further simplify the logic v3: reemit vm state, not just vm fence v4: just nop the IB and possibly the VM portion of the submission v5: simplify the vm fence check v6: split the vm and ib fences v7: fix commit message v8: use wptr rather than count_dw to calculate offsets v9: fix missing documenation update spotted by the kernel test robot Reviewed-by: Jesse Zhang <jesse.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/entry')
0 files changed, 0 insertions, 0 deletions