mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
drm/i915: Hold a reference on the request for its fence chain
Currently, we have an active reference for the request until it is retired. Though it cannot be retired before it has been executed by hardware, the request may be completed before we have finished processing the execute fence, i.e. we may continue to process that fence as we free the request. Fixes:5590af3e11("drm/i915: Drive request submission through fence callbacks") Fixes:23902e49c9("drm/i915: Split request submit/execute phase into two") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161125131718.20978-3-chris@chris-wilson.co.uk (cherry picked from commit48bc2a4a42) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
b9f16ff273
commit
0e932c080c
2 changed files with 32 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue