]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Free request pool from virtual engines
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Apr 2020 20:33:03 +0000 (21:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Apr 2020 20:50:24 +0000 (21:50 +0100)
commitaab6fcd2bc80c5c26407ae69cb34a0407c8aa296
tree71cb1eb685ed3f5af0baf54ac89b9af517d2a8f7
parent59844cea49c0bbb9036ff0b0177ede611d0b6095
drm/i915/gt: Free request pool from virtual engines

While extremely unlikely to be populated, we could capture a request on
the virtual engine which we should free along with the virtual engine.

Fixes: 1b976ace1542 ("drm/i915: Keep a per-engine request pool")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403203303.10903-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine.h
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_lrc.c