Chris Wilson a4e7ccdac3 drm/i915: Move context management under GEM
Keep track of the GEM contexts underneath i915->gem.contexts and assign
them their own lock for the purposes of list management.

v2: Focus on lock tracking; ctx->vm is protected by ctx->mutex
v3: Correct split with removal of logical HW ID

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/20191004134015.13204-15-chris@chris-wilson.co.uk
2019-10-04 15:39:34 +01:00
..
2019-08-21 16:44:41 +10:00
2019-08-14 18:31:15 +02:00
2019-08-14 18:31:10 +02:00
2019-08-06 08:21:53 +02:00
2019-07-22 21:24:10 +02:00
2019-08-06 09:20:58 +02:00
2019-08-22 13:16:19 +10:00
2019-08-09 16:04:31 +10:00
2019-06-19 12:07:29 +02:00
2019-08-14 18:30:52 +02:00
2019-07-17 12:52:55 +02:00
2019-08-22 13:16:19 +10:00
2019-06-25 00:10:24 +02:00
2019-06-30 09:48:05 +02:00
2019-08-21 16:44:41 +10:00
2019-08-21 16:44:41 +10:00
2019-08-09 09:15:05 +02:00
2019-07-17 12:52:55 +02:00
2019-08-21 16:44:41 +10:00
2019-06-05 20:31:04 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:31 +02:00
2019-06-05 20:29:57 +02:00
2019-07-17 12:52:55 +02:00
2019-08-14 18:31:04 +02:00
2019-08-21 16:44:41 +10:00
2019-07-15 18:11:30 +02:00
2019-07-17 12:52:55 +02:00
2019-07-25 17:35:20 +02:00
2019-07-15 18:11:30 +02:00
2019-08-21 16:44:41 +10:00
2019-07-22 21:24:10 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-07-25 10:45:07 +02:00
2019-08-09 16:04:31 +10:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-08-09 16:04:31 +10:00
2019-07-31 15:17:03 +02:00