Files
linux/drivers
Chris Wilson 2d0fb25136 drm/i915: Serialise with remote retirement
Since retirement may be running in a worker on another CPU, it may be
skipped in the local intel_gt_wait_for_idle(). To ensure the state is
consistent for our sanity checks upon load, serialise with the remote
retirer by waiting on the timeline->mutex.

Outside of this use case, e.g. on suspend or module unload, we expect the
slack to be picked up by intel_gt_pm_wait_for_idle() and so prefer to
put the special case serialisation with retirement in its single user,
for now at least.

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/20191121071044.97798-2-chris@chris-wilson.co.uk
2019-11-21 11:53:55 +00:00
..
2019-08-27 09:43:59 +02:00
2019-08-16 11:33:56 -07:00
2019-10-27 15:57:19 +00:00
2019-10-23 12:10:05 +02:00
2019-10-23 12:10:05 +02:00
2019-11-06 21:48:29 -08:00
2019-09-23 17:20:40 -04:00
2019-10-15 23:51:36 +02:00
2019-10-22 17:55:51 +02:00
2019-08-18 12:56:10 +02:00
2019-10-26 19:47:31 +08:00
2019-10-15 14:07:01 -06:00
2019-11-14 05:53:10 +10:00