summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_lrc.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2016-11-07 12:20:03 +0300
committerImre Deak <imre.deak@intel.com>2016-11-07 15:48:04 +0300
commit93c97dc17ffc4a0651b5a939d1ef34897513b252 (patch)
tree03bf809e3a80fd4091f69c837eb4928127345d2c /drivers/gpu/drm/i915/intel_lrc.h
parent5bd11a34e46afa1048bd5330673fb1508183f6a5 (diff)
downloadlinux-93c97dc17ffc4a0651b5a939d1ef34897513b252.tar.xz
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 <chris@chris-wilson.co.uk> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1478510405-11799-2-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lrc.h')
0 files changed, 0 insertions, 0 deletions