diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-06 17:49:54 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-07 21:44:02 +0100 |
| commit | a1b58ee3cb34c433167b7b7d3465ab3ca0e3daf1 (patch) | |
| tree | 0395426f78d9d651821f1d35b1fd01e7195bf599 /include/linux/timerqueue.h | |
| parent | 1664f35aa718815527368e57b0d4ed5bc80e889c (diff) | |
| download | cachepc-linux-a1b58ee3cb34c433167b7b7d3465ab3ca0e3daf1.tar.gz cachepc-linux-a1b58ee3cb34c433167b7b7d3465ab3ca0e3daf1.zip | |
drm/i915/gt: Treat a busy timeline as 'active' while waiting
If we cannot claim the timeline->mutex while preparing for a wait on it,
we have to skip the timeline. In doing so, treat it as active so that
under a intel_gt_wait_for_idle() loop, we repeat the wait after
scheduling away.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191006165002.30312-4-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
