diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-07 07:53:27 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-10 16:06:44 +0300 |
commit | 449f6615473db3a0d16cbafcbe0572ef81872db0 (patch) | |
tree | 4c267377bbbae105e16cfd021d8436fe5392a8fe /Documentation | |
parent | 61a05870b939b9c5551817ad65b74194ea84140c (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
(cherry picked from commit 5ba899082cbffb779ccb39420fe1718850daf857)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions