drm/i915/guc: Take enable_guc_loading check out of GEM core code
authorOscar Mateo <oscar.mateo@intel.com>
Tue, 28 Mar 2017 16:53:47 +0000 (09:53 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Thu, 30 Mar 2017 10:11:40 +0000 (13:11 +0300)
commitb8991403ea0f3e5b59e08e37a7ac0af8ef4264e3
tree9b1f2784b334e44e1b8f077ccc3e650534eaeded
parent2e5fec5f621410f6b71403ff6794b115c79a9d6f
drm/i915/guc: Take enable_guc_loading check out of GEM core code

The should happen as soon as possible, but always within the logic that
depends on it (and not interrupting the top-level driver control flow).

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1490720027-23234-1-git-send-email-oscar.mateo@intel.com
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_uc.c