linux_dsm_epyc7002/drivers/gpu/drm/i915
Chris Wilson f17b898009 drm/i915/gem: Drop local vma->vm_file reference
We use the global device inode, shared amongst all files, and not the
user's device filp to provide the backing storage for the mmap. The
vma->vm_file provides a redundant reference that breaks existing
expected behaviour that closing the user's device fd will release the
resources bound to it, if a mmap persists. (Even without the
vma->vm_file, the mmap will persist past the user's fd as the storage is
bound to the device, i.e. our reference is on the object not file.)

Fixes: cc662126b4 ("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET")
Closes: https://gitlab.freedesktop.org/drm/intel/issues/919
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200101141007.755429-1-chris@chris-wilson.co.uk
2020-01-01 14:49:26 +00:00
..
display drm/i915/dp: Disable Port sync mode correctly on teardown 2019-12-30 00:16:07 -08:00
gem drm/i915/gem: Drop local vma->vm_file reference 2020-01-01 14:49:26 +00:00
gt drm/i915/gt: Tweak flushes around ivb ppgtt 2019-12-31 17:13:27 +00:00
gvt drm/i915: prefer 3-letter acronym for broadwell 2019-12-28 13:38:06 -08:00
oa
selftests drm/i915/selftests: Flush the context worker 2019-12-30 20:32:06 +00:00
i915_active_types.h drm/i915: Serialise i915_active_fence_set() with itself 2019-11-27 17:02:14 +00:00
i915_active.c drm/i915: Remove i915->kernel_context 2019-12-21 16:37:10 +00:00
i915_active.h drm/i915: Specialise i915_active.work lock classes 2019-12-02 21:57:23 +00:00
i915_buddy.c drn/i915: Break up long i915_buddy_free_list() with a cond_resched() 2019-12-30 12:10:38 +00:00
i915_buddy.h
i915_cmd_parser.c Correct function name in comment 2019-12-16 23:13:12 +00:00
i915_debugfs.c drm/i915: prefer 3-letter acronym for broadwell 2019-12-28 13:38:06 -08:00
i915_debugfs.h
i915_drv.c drm/i915: Restore very early GPU reset 2019-12-28 11:52:07 +00:00
i915_drv.h drm/i915/gem: Drop local vma->vm_file reference 2020-01-01 14:49:26 +00:00
i915_fixed.h
i915_gem_evict.c drm/i915: Ignore most failures during evict-vm 2019-12-05 13:50:39 +00:00
i915_gem_fence_reg.c
i915_gem_fence_reg.h
i915_gem_gtt.c drm/i915: Introduce a vma.kref 2019-12-23 12:31:54 +00:00
i915_gem_gtt.h drm/i915/gen7: Re-enable full-ppgtt for ivb & hsw 2019-11-30 09:21:12 +00:00
i915_gem.c drm/i915/selftests: Flush the context worker 2019-12-30 20:32:06 +00:00
i915_gem.h drm/i915/gem: Manually dump the debug trace on GEM_BUG_ON 2019-11-19 17:44:39 +00:00
i915_getparam.c drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET 2019-12-04 15:11:44 +00:00
i915_globals.c drm/i915: Ratelimit i915_globals_park 2019-12-18 17:38:56 +00:00
i915_globals.h
i915_gpu_error.c drm/i915: Mark the GEM context link as RCU protected 2019-12-23 13:08:47 +00:00
i915_gpu_error.h
i915_ioc32.c
i915_irq.c drm/i915: prefer 3-letter acronym for ivybridge 2019-12-28 13:38:08 -08:00
i915_irq.h
i915_memcpy.c drm/i915: Align start for memcpy_from_wc 2019-12-11 22:40:41 +00:00
i915_memcpy.h drm/i915: Align start for memcpy_from_wc 2019-12-11 22:40:41 +00:00
i915_mm.c drm/i915: Introduce remap_io_sg() to prefault discontiguous objects 2019-12-31 20:41:50 +00:00
i915_params.c
i915_params.h
i915_pci.c drm/i915: simplify prefixes on device_info 2019-12-28 13:37:56 -08:00
i915_perf_types.h drm/i915/perf: Register sysctl path globally 2019-12-13 20:16:23 +00:00
i915_perf.c drm/i915: Remove i915->kernel_context 2019-12-21 16:37:10 +00:00
i915_perf.h drm/i915/perf: Register sysctl path globally 2019-12-13 20:16:23 +00:00
i915_pmu.c drm/i915/pmu: Ensure monotonic rc6 2019-12-18 15:23:41 +00:00
i915_pmu.h drm/i915/pmu: Ensure monotonic rc6 2019-12-18 15:23:41 +00:00
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915/query: Align flavour of engine data lookup 2019-11-25 15:08:24 +02:00
i915_query.h
i915_reg.h drm/i915: Add Wa_1407352427:icl,ehl 2019-12-31 18:46:38 -08:00
i915_request.c drm/i915: Mark the GEM context link as RCU protected 2019-12-23 13:08:47 +00:00
i915_request.h drm/i915: Add spaces before compound GEM_TRACE 2019-12-25 12:14:34 +00:00
i915_scatterlist.c
i915_scatterlist.h
i915_scheduler_types.h
i915_scheduler.c drm/i915: Drop GEM context as a direct link from i915_request 2019-12-20 10:52:21 +00:00
i915_scheduler.h drm/i915: Use a ctor for TYPESAFE_BY_RCU i915_request 2019-11-22 10:47:38 +00:00
i915_selftest.h
i915_suspend.c
i915_suspend.h
i915_sw_fence_work.c drm/i915: Unpin vma->obj on early error 2019-12-18 10:13:03 +00:00
i915_sw_fence_work.h
i915_sw_fence.c drm/i915: Propagate errors on awaiting already signaled dma-fences 2019-12-06 19:09:46 +00:00
i915_sw_fence.h drm/i915: Check for error before calling cmpxchg() 2019-12-06 19:09:33 +00:00
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c drm/i915/rps: Add frequency translation helpers 2019-12-13 22:22:05 +00:00
i915_sysfs.h
i915_trace_points.c
i915_trace.h drm/i915: Rename pipe update tracepoints 2019-12-19 22:29:58 +02:00
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c
i915_utils.h drm/i915: Improve i915_inject_probe_error macro 2019-12-12 12:35:17 +00:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c drm/i915: Introduce a vma.kref 2019-12-23 12:31:54 +00:00
i915_vma.h drm/i915: Introduce a vma.kref 2019-12-23 12:31:54 +00:00
intel_csr.c
intel_csr.h
intel_device_info.c drm/i915/tgl: Assume future platforms will inherit TGL's SFC capability 2019-12-31 09:37:35 -08:00
intel_device_info.h drm/i915: Flesh out device_info pretty printer 2019-12-09 09:58:51 +00:00
intel_gvt.c
intel_gvt.h
intel_memory_region.c drm/i915/lmem: debugfs for LMEM details 2019-12-28 17:54:43 +00:00
intel_memory_region.h drm/i915/lmem: debugfs for LMEM details 2019-12-28 17:54:43 +00:00
intel_pch.c drm/i915: Fix detection for a CMP-V PCH 2019-11-18 16:36:03 +02:00
intel_pch.h drm/i915: Fix detection for a CMP-V PCH 2019-11-18 16:36:03 +02:00
intel_pm.c drm/i915: Add Wa_1407352427:icl,ehl 2019-12-31 18:46:38 -08:00
intel_pm.h drm/i915: Pass dev_priv to ilk_disable_lp_wm() 2019-12-04 15:37:30 +02:00
intel_region_lmem.c drm/i915/lmem: debugfs for LMEM details 2019-12-28 17:54:43 +00:00
intel_region_lmem.h
intel_runtime_pm.c
intel_runtime_pm.h
intel_sideband.c
intel_sideband.h
intel_uncore.c
intel_uncore.h
intel_wakeref.c drm/i915: Mark up the calling context for intel_wakeref_put() 2019-11-25 15:29:17 +02:00
intel_wakeref.h drm/i915: Mark up the calling context for intel_wakeref_put() 2019-11-25 15:29:17 +02:00
intel_wopcm.c
intel_wopcm.h
Kconfig
Kconfig.debug Merge drm/drm-next into drm-intel-next-queued 2019-12-11 11:13:50 +02:00
Kconfig.profile drm/i915: Default to a more lenient forced preemption timeout 2019-11-27 10:12:14 +02:00
Kconfig.unstable
Makefile drm/i915/gt: Move pm debug files into a gt aware debugfs 2019-12-22 15:25:10 +00:00