OpenCloudOS-Kernel/drivers/gpu/drm/i915/gvt
Chris Wilson 85fd4f58d7 drm/i915: Mark all non-vma being inserted into the address spaces
We need to distinguish between full i915_vma structs and simple
drm_mm_nodes when considering eviction (i.e. we must be careful not to
treat a mere drm_mm_node as a much larger i915_vma causing memory
corruption, if we are lucky). To do this, color these not-a-vma with -1
(I915_COLOR_UNEVICTABLE).

v2...v200: New name for -1.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161205142941.21965-1-chris@chris-wilson.co.uk
2016-12-05 20:49:17 +00:00
..
Makefile drm/i915/gvt: add KVMGT support 2016-11-10 15:45:39 +08:00
aperture_gm.c drm/i915: Mark all non-vma being inserted into the address spaces 2016-12-05 20:49:17 +00:00
cfg_space.c drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops 2016-11-10 15:45:15 +08:00
cmd_parser.c drm/i915: Make GEM object create and create from data take dev_priv 2016-12-01 18:01:08 +00:00
cmd_parser.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
debug.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
display.c drm/i915/gvt: mark symbols static where possible 2016-10-20 17:31:36 +08:00
display.h drm/i915/gvt: vGPU display virtualization 2016-10-14 18:13:06 +08:00
edid.c drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
edid.h drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
execlist.c drm/i915/gvt: fix crash in vgpu_reset_execlist 2016-11-14 18:06:43 +08:00
execlist.h drm/i915/gvt: fix crash in vgpu_reset_execlist 2016-11-14 18:06:43 +08:00
firmware.c drm/i915/gvt: fix sparse warnings on different address spaces 2016-10-20 17:31:35 +08:00
gtt.c drm/i915/gvt: don't rely on guest PPGTT entry to free old shadow data 2016-11-10 15:39:46 +08:00
gtt.h drm/i915/gvt: implement scratch page table tree for shadow PPGTT 2016-11-07 14:17:02 +08:00
gvt.c drm/i915/gvt: add KVMGT support 2016-11-10 15:45:39 +08:00
gvt.h drm/i915/gvt: add KVMGT support 2016-11-10 15:45:39 +08:00
handlers.c drm/i915: rename OACONTROL GEN7_OACONTROL 2016-11-22 14:29:29 +01:00
hypercall.h drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops 2016-11-10 15:45:15 +08:00
interrupt.c drm/i915/gvt: mark symbols static where possible 2016-10-20 17:31:36 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
kvmgt.c drm/i915/gvt: remove unresolved vfio pin/unpin pages interface dependency 2016-11-17 15:51:16 +08:00
mmio.c drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops 2016-11-10 15:45:15 +08:00
mmio.h drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops 2016-11-10 15:45:15 +08:00
mpt.h drm/i915/gvt: allow several MPT methods to be NULL 2016-11-10 15:45:14 +08:00
opregion.c drm/i915/gvt: remove obsolete code for old kvmgt opregion 2016-11-10 15:45:12 +08:00
reg.h drm/i915/gvt: vGPU workload submission 2016-10-14 18:14:37 +08:00
render.c drm/i915/gvt: correct the emulation in TLB control handler 2016-11-07 14:16:59 +08:00
render.h drm/i915/gvt: vGPU context switch 2016-10-14 18:15:13 +08:00
sched_policy.c drm/i915/gvt: remove unused variable 'execlist' 2016-11-07 14:16:57 +08:00
sched_policy.h drm/i915/gvt: vGPU schedule policy framework 2016-10-14 18:15:02 +08:00
scheduler.c drm/i915/gvt: fix deadlock in workload_thread 2016-11-14 18:02:57 +08:00
scheduler.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
vgpu.c drm/i915/gvt: clear guest opregion 2016-11-14 18:06:44 +08:00