diff options
author | 2016-11-16 08:55:34 +0000 | |
---|---|---|
committer | 2016-11-17 13:56:12 +0000 | |
commit | 275a991c038aaa1c1ba09e96b7add46e4712daff (patch) | |
tree | 75c57d1325eacf848728ee1a1e71190a2d600629 /drivers/gpu/drm/i915/i915_gem.c | |
parent | drm/i915: Use dev_priv in INTEL_INFO in i915_gem_fence_reg.c (diff) | |
download | linux-dev-275a991c038aaa1c1ba09e96b7add46e4712daff.tar.xz linux-dev-275a991c038aaa1c1ba09e96b7add46e4712daff.zip |
drm/i915: dev_priv cleanup in i915_gem_gtt.c
Started with removing INTEL_INFO(dev) and cascaded into a quite
big trickle of function prototype changes. Still, I think it is
for the better.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
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 c3b2fa4e5cdb..17c538f55adb 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -4230,7 +4230,7 @@ void i915_gem_resume(struct drm_device *dev) WARN_ON(dev_priv->gt.awake); mutex_lock(&dev->struct_mutex); - i915_gem_restore_gtt_mappings(dev); + i915_gem_restore_gtt_mappings(dev_priv); /* As we didn't flush the kernel context before suspend, we cannot * guarantee that the context image is complete. So let's just reset |