linux-stable/drivers/gpu/drm/i915/gvt
Chris Wilson c4d52feb2c drm/i915: Move over to intel_context_lookup()
In preparation for an ever growing number of engines and so ever
increasing static array of HW contexts within the GEM context, move the
array over to an rbtree, allocated upon first use.

Unfortunately, this imposes an rbtree lookup at a few frequent callsites,
but we should be able to mitigate those by moving over to using the HW
context as our primary type and so only incur the lookup on the boundary
with the user GEM context and engines.

v2: Check for no HW context in guc_stage_desc_init

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190308132522.21573-4-chris@chris-wilson.co.uk
2019-03-08 13:59:52 +00:00
..
aperture_gm.c drm/i915: Markup paired operations on wakerefs 2019-01-14 16:17:53 +00:00
cfg_space.c
cmd_parser.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
cmd_parser.h
debug.h
debugfs.c
display.c drm/i915/gvt: add hotplug emulation 2019-01-31 11:26:55 +08:00
display.h drm/i915/gvt: add functions to get default resolution 2019-01-31 11:26:48 +08:00
dmabuf.c drm/i915: Make object/vma allocation caches global 2019-02-28 11:08:02 +00:00
dmabuf.h
edid.c drm/i915/gvt: Refine port select logic for CFL platform 2019-01-10 11:38:04 +08:00
edid.h
execlist.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
execlist.h
fb_decoder.c Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08:00
fb_decoder.h
firmware.c
gtt.c Merge tag 'gvt-fixes-2018-11-26' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-26 11:19:48 +02:00
gtt.h Merge tag 'gvt-fixes-2018-11-07' of https://github.com/intel/gvt-linux into drm-intel-fixes 2018-11-07 15:34:10 +02:00
gvt.c drm/i915/gvt: add hotplug emulation 2019-01-31 11:26:55 +08:00
gvt.h Merge tag 'gvt-next-2019-02-01' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-02-01 09:03:24 -08:00
handlers.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
hypercall.h Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
interrupt.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
interrupt.h
kvmgt.c Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
Makefile drm/i915/gvt: Change KVMGT as self load module 2019-01-02 15:51:26 +08:00
mmio.c drm/i915/gvt: switch to kernel types 2019-01-23 13:56:14 +08:00
mmio.h drm/i915/gvt: Add coffeelake platform definition 2019-01-10 11:35:02 +08:00
mmio_context.c drm/i915: Move over to intel_context_lookup() 2019-03-08 13:59:52 +00:00
mmio_context.h
mpt.h Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
opregion.c
page_track.c
page_track.h
reg.h
sched_policy.c Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08:00
sched_policy.h
scheduler.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
scheduler.h Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
trace.h drm/i915/gvt: give the cmd parser cmd_info a const treatment 2019-01-10 11:29:02 +08:00
trace_points.c
vgpu.c Merge tag 'gvt-next-2019-02-01' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-02-01 09:03:24 -08:00