summaryrefslogtreecommitdiff
path: root/scripts/get_dvb_firmware
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-06-04 11:37:30 +0100
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2020-06-08 12:52:44 +0300
commitd7466a5adbd61d79610981903eec19aaf8ac935d (patch)
tree4e9f5894faddceef53c6e0b3b1b7a3d120ac0990 /scripts/get_dvb_firmware
parent8d286e2ff4400d313955b4203fc640ca6fd9228b (diff)
drm/i915/gem: Mark the buffer pool as active for the cmdparser
If the execbuf is interrupted after building the cmdparser pipeline, and before we commit to submitting the request to HW, we would attempt to clean up the cmdparser early. While we held active references to the vma being parsed and constructed, we did not hold an active reference for the buffer pool itself. The result was that an interrupted execbuf could still have run the cmdparser pipeline, but since the buffer pool was idle, its target vma could have been recycled. Note this problem only occurs if the cmdparser is running async due to pipelined waits on busy fences, and the execbuf is interrupted. Fixes: 686c7c35abc2 ("drm/i915/gem: Asynchronous cmdparser") Fixes: 16e87459673a ("drm/i915/gt: Move the batch buffer pool from the engine to the gt") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200604103751.18816-1-chris@chris-wilson.co.uk (cherry picked from commit 57a78ca4eceab1ecb0299fba8a10211289329889) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'scripts/get_dvb_firmware')
0 files changed, 0 insertions, 0 deletions