diff options
author | Matthew Auld <matthew.auld@intel.com> | 2016-07-05 13:00:19 +0100 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2016-07-14 16:11:55 +0300 |
commit | 3fef3a5be3caa0710fd29f8ba4d5f08ba8f6ecda (patch) | |
tree | d7205fbb37b76c545d76358be425080e94a3f113 /drivers/gpu/drm/i915/i915_gem.c | |
parent | bb10d4ec3be4b069bfb61c60ca4f708f58f440f1 (diff) | |
download | lwn-3fef3a5be3caa0710fd29f8ba4d5f08ba8f6ecda.tar.gz lwn-3fef3a5be3caa0710fd29f8ba4d5f08ba8f6ecda.zip |
drm/i915: remove superfluous i915_gem_object_free_mmap_offset call
This should already be handled by drm_gem_object_release, which is
called later on.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@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/1467720019-31876-1-git-send-email-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index b788f97cd4cf..ead0e48d3dc0 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -4901,7 +4901,6 @@ void i915_gem_free_object(struct drm_gem_object *gem_obj) if (discard_backing_storage(obj)) obj->madv = I915_MADV_DONTNEED; i915_gem_object_put_pages(obj); - i915_gem_object_free_mmap_offset(obj); BUG_ON(obj->pages); |