]> 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)
commita5ff8cbf2a8928a938dd48a27088a29622c54801
tree71cb1eb685ed3f5af0baf54ac89b9af517d2a8f7
parent1d2d846619d01dab8e64a1c4a83013a58fce9ad3
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: 13f9e9c69e72 ("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