commit | 373f27f24c19ad2629e636b699bc76965ca31e4d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Mar 03 08:05:45 2020 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Mar 03 17:30:20 2020 +0000 |
tree | 9eacf9d304c9e5d95966d7d27859bc3eb087734d | |
parent | 130a95e9098e91117164b1ba52c3f8f43bb6f28a [diff] |
drm/i915/gt: Prevent allocation on a banned context If a context is banned even before we submit our first request to it, report the failure before we attempt to allocate any resources for the context. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200303080546.1140508-2-chris@chris-wilson.co.uk