drm/i915/guc: Use intel_guc_init_misc to hide GuC internals
We will add more init steps to misc phase and there is no need to expose them separately for use in uc_init_misc function. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Michel Thierry <michel.thierry@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180628141522.62788-1-michal.wajdeczko@intel.com
This commit is contained in:

committed by
Chris Wilson

parent
e3be4079ea
commit
c39d2e7e35
@@ -257,9 +257,7 @@ int intel_uc_init_misc(struct drm_i915_private *i915)
|
||||
if (!USES_GUC(i915))
|
||||
return 0;
|
||||
|
||||
intel_guc_init_ggtt_pin_bias(guc);
|
||||
|
||||
ret = intel_guc_init_wq(guc);
|
||||
ret = intel_guc_init_misc(guc);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
@@ -273,7 +271,7 @@ void intel_uc_fini_misc(struct drm_i915_private *i915)
|
||||
if (!USES_GUC(i915))
|
||||
return;
|
||||
|
||||
intel_guc_fini_wq(guc);
|
||||
intel_guc_fini_misc(guc);
|
||||
}
|
||||
|
||||
int intel_uc_init(struct drm_i915_private *i915)
|
||||
|
Reference in New Issue
Block a user