commit | 5ba899082cbffb779ccb39420fe1718850daf857 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 07 07:53:27 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 07 08:27:23 2016 +0100 |
tree | f1fd07aea949eac2782cd2f2939baa554d0ca3d1 | |
parent | ad07dfcddf1394e6fed094e7fb426b4242a6814e [diff] |
drm/i915/guc: Unwind GuC workqueue reservation if request construction fails We reserve space in the GuC workqueue for submitting the request in the future. However, if we fail to construct the request, we need to give that reserved space back to the system. Fixes: dadd481bfe55 ("drm/i915/guc: Prepare for nonblocking execbuf submission") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97978 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Michał Winiarski <michal.winiarski@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161007065327.24515-4-chris@chris-wilson.co.uk