]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move i915_gem_init_contexts() earlier
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Dec 2019 20:01:09 +0000 (20:01 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Dec 2019 21:07:01 +0000 (21:07 +0000)
commit3874a0d236f3f249241842f79a39021369932b0f
treea4806919d1dd9e4323b4b1c3432774b49433c4e3
parent213b309259d91a331dda002be21af523f06e0467
drm/i915: Move i915_gem_init_contexts() earlier

As the GEM global context setup is now independent of the GT state
(although GT does currently still depend upon the global
i915->kernel_context), we can move its init earlier, leaving the gt init
ready to be extracted.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191221200109.1202310-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c