diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2021-09-09 19:47:30 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 11:49:04 +0300 |
| commit | ad583a961905f843c420279a8db230e2719f60d1 (patch) | |
| tree | e14fe0f3ba6dcb463e79d7cd51007b585fe929c8 /include/linux/debugobjects.h | |
| parent | 519bd9107ef60d1137ba48106925a7f861624fd8 (diff) | |
| download | linux-ad583a961905f843c420279a8db230e2719f60d1.tar.xz | |
drm/i915/guc: Don't enable scheduling on a banned context, guc_id invalid, not registered
commit 9888beaaf118b6878347e1fe2b369fc66d756d18 upstream.
When unblocking a context, do not enable scheduling if the context is
banned, guc_id invalid, or not registered.
v2:
(Daniele)
- Add helper for unblock
Fixes: 62eaf0ae217d ("drm/i915/guc: Support request cancellation")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-10-matthew.brost@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
