summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2016-11-07 11:20:02 +0200
committerImre Deak <imre.deak@intel.com>2016-11-07 14:48:04 +0200
commit5bd11a34e46afa1048bd5330673fb1508183f6a5 (patch)
tree540f2ab7d664d0d50613c5c25982113273b5dabe /scripts/gcc-plugins
parent767a222e47cc13239d38018887f911fec06169ea (diff)
downloadlinux-5bd11a34e46afa1048bd5330673fb1508183f6a5.tar.bz2
drm/i915: Avoid early GPU idling due to already pending idle work
Atm, in case an idle work handler is already pending but haven't yet started to run, retiring a new request will not extend the active period as required, rather simply leaves the pending idle work to be scheduled at the original expiration time. This may lead to idling the GPU too early. Fix this by using the delayed-work scheduler alternative which makes sure the handler's expiration time is extended in this case. Cc: Chris Wilson <chris@chris-wilson.co.uk> Requested-by: 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-1-git-send-email-imre.deak@intel.com
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions