diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-10-22 12:47:18 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-22 14:16:42 +0300 |
commit | 78f606033b6e48dbe382272ae0a18e2045a856b7 (patch) | |
tree | 6d7ae675539d88d130767b9ac830553335f81e68 /drivers/gpu/drm/i915/i915_gem.c | |
parent | b0258bf24252a487a03dfc94aeea72940ad3fe52 (diff) | |
download | linux-78f606033b6e48dbe382272ae0a18e2045a856b7.tar.xz |
drm/i915: Pass intel_gt to intel_engines_setup
Engines belong to the GT so make it indicative in the API.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022094726.3001-5-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index fcc35912e42a..fb45c7ecc607 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -1249,7 +1249,7 @@ int i915_gem_init(struct drm_i915_private *dev_priv) intel_gt_init(&dev_priv->gt); - ret = intel_engines_setup(dev_priv); + ret = intel_engines_setup(&dev_priv->gt); if (ret) { GEM_BUG_ON(ret == -EIO); goto err_unlock; |