commit | 387758298bfdec9fbb74406207eb648bb6391670 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 08 12:06:11 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 08 15:45:34 2019 +0100 |
tree | 8e33bbf7b4b3c6f95db7f01a06656fb745cedeec | |
parent | ca883c304f54a5b2fc83c2729691e9eae3a1226e [diff] |
drm/i915: Allocate kernel_contexts directly Ignore the central i915->kernel_context for allocating an engine, as that GEM context is being phased out. For internal clients, we just need the per-engine logical state, so allocate it at the point of use. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190808110612.23539-1-chris@chris-wilson.co.uk