]> Git Repo - linux.git/commit
drm/i915: Avoid early GPU idling due to race with new request
authorImre Deak <[email protected]>
Mon, 7 Nov 2016 09:20:03 +0000 (11:20 +0200)
committerImre Deak <[email protected]>
Mon, 7 Nov 2016 12:48:04 +0000 (14:48 +0200)
commit93c97dc17ffc4a0651b5a939d1ef34897513b252
tree03bf809e3a80fd4091f69c837eb4928127345d2c
parent5bd11a34e46afa1048bd5330673fb1508183f6a5
drm/i915: Avoid early GPU idling due to race with new request

There is a small race where a new request can be submitted and retired
after the idle worker started to run which leads to idling the GPU too
early. Fix this by deferring the idling to the pending instance of the
worker.

This scenario was pointed out by Chris.

Cc: Chris Wilson <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gem.c
This page took 0.05578 seconds and 4 git commands to generate.