diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2020-09-11 20:00:20 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2020-09-11 20:00:20 -0400 |
commit | 0ea8a56de21be24cb79abb03dee79aabcd60a316 (patch) | |
tree | 71ad6c51064e4948b5c90e84c86da52457e2cfb2 /drivers/gpu/drm/i915/i915_drv.c | |
parent | 0560c2173e3f12bc39ef5d61b26d43307cab8694 (diff) | |
parent | 166774a2c2c6b82da5d984f587567071ff00c1f3 (diff) | |
download | linux-0ea8a56de21be24cb79abb03dee79aabcd60a316.tar.gz linux-0ea8a56de21be24cb79abb03dee79aabcd60a316.tar.bz2 linux-0ea8a56de21be24cb79abb03dee79aabcd60a316.zip |
Merge drm/drm-next into drm-intel-next-queued
Sync drm-intel-gt-next here so we can have an unified fixes flow.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 873634931506..94e00e450683 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -972,6 +972,7 @@ static void i915_driver_release(struct drm_device *dev) intel_memory_regions_driver_release(dev_priv); i915_ggtt_driver_release(dev_priv); + i915_gem_drain_freed_objects(dev_priv); i915_driver_mmio_release(dev_priv); @@ -1016,7 +1017,6 @@ static void i915_driver_postclose(struct drm_device *dev, struct drm_file *file) struct drm_i915_file_private *file_priv = file->driver_priv; i915_gem_context_close(file); - i915_gem_release(dev, file); kfree_rcu(file_priv, rcu); |