diff options
author | Chris Wilson <[email protected]> | 2019-09-23 12:00:55 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-09-23 16:21:37 +0100 |
commit | c0bb487dc19fc45dbeede7dcf8f513df51a3cd33 (patch) | |
tree | 9f23871f9b660fa60565c7aa1d1089dc9a5e8d85 /lib/mpi/mpiutil.c | |
parent | 3231f8c01121ee1febfd82398ee22f7ff9dc5d76 (diff) |
drm/i915: Only enqueue already completed requests
If we are asked to submit a completed request, just move it onto the
active-list without modifying it's payload. If we try to emit the
modified payload of a completed request, we risk racing with the
ring->head update during retirement which may advance the head past our
breadcrumb and so we generate a warning for the emission being behind
the RING_HEAD.
v2: Commentary for the sneaky, shared responsibility between functions.
v3: Spelling mistakes and bonus assertion
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions