OpenCloudOS-Kernel/drivers/gpu/drm/i915/gvt
Deepak R Varma 64e65f443a drm/i915/gvt: replace idr_init() by idr_init_base()
idr_init() uses base 0 which is an invalid identifier. The new function
idr_init_base allows IDR to set the ID lookup from base 1. This avoids
all lookups that otherwise starts from 0 since 0 is always unused.

References: commit 6ce711f275 ("idr: Make 1-based IDRs more efficient")

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201104121532.GA48202@localhost
2020-11-11 10:30:07 +08:00
..
Makefile
aperture_gm.c drm/i915: Move GGTT fence registers under gt/ 2020-03-16 20:28:26 +00:00
cfg_space.c drm/i915/gvt: Do not destroy ppgtt_mm during vGPU D3->D0. 2020-07-29 14:18:16 +08:00
cmd_parser.c Merge tag 'gvt-next-2020-09-10' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2020-09-14 14:34:20 -04:00
cmd_parser.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
debug.h
debugfs.c drm/i915/gvt: Use GFP_ATOMIC instead of GFP_KERNEL in atomic context 2020-06-17 12:36:19 +08:00
display.c drm/i915/gvt: Fix virtual display setup for BXT/APL 2020-11-10 14:46:00 +08:00
display.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
dmabuf.c drm/i915/gem: Give each object class a friendly name 2020-05-29 23:38:29 +01:00
dmabuf.h
edid.c drm/i915: Identify Cometlake platform 2020-06-02 23:15:34 +01:00
edid.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
execlist.c drm/i915/gvt: move workload destroy out of execlist complete 2020-05-08 12:34:12 +08:00
execlist.h drm/i915/gvt: Wean gvt off dev_priv->engine[] 2020-03-06 09:56:15 +08:00
fb_decoder.c drm/i915/gvt: Wean gvt off using dev_priv 2020-03-06 10:08:10 +08:00
fb_decoder.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
firmware.c Merge tag 'gvt-next-2020-03-10' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2020-03-10 15:46:29 -07:00
gtt.c drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
gtt.h drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
gvt.c drm/i915/gvt: replace idr_init() by idr_init_base() 2020-11-11 10:30:07 +08:00
gvt.h drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
handlers.c drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
hypercall.h i915/gvt: remove unused xen bits 2020-04-14 16:40:42 +08:00
interrupt.c drm/i915: Use the gt in HAS_ENGINE 2020-07-08 21:07:09 +01:00
interrupt.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
kvmgt.c kernel: move use_mm/unuse_mm to kthread.c 2020-06-10 19:14:18 -07:00
mmio.c drm/i915/gvt: Fix virtual display setup for BXT/APL 2020-11-10 14:46:00 +08:00
mmio.h drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
mmio_context.c drm/i915/gvt: rename F_IN_CTX flag to F_SR_IN_CTX 2020-09-10 13:47:07 +08:00
mmio_context.h drm/i915/gvt: Fix incorrect check of enabled bits in mask registers 2020-06-17 12:36:01 +08:00
mpt.h drm/i915/gvt: Pin vgpu dma address before using 2019-12-13 11:24:01 +08:00
opregion.c drm/i915/gvt: Fix emulated vbt size issue 2020-03-06 09:35:30 +08:00
page_track.c
page_track.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
reg.h drm/i915: Rename FORCEWAKE_BLITTER to FORCEWAKE_GT 2020-10-09 18:51:27 -07:00
sched_policy.c drm/i915/gvt: Wean gvt off using dev_priv 2020-03-06 10:08:10 +08:00
sched_policy.h drm/i915: make more headers self-contained 2019-11-08 10:16:13 +00:00
scheduler.c drm/i915/gt: Switch to object allocations for page directories 2020-09-07 14:24:08 +03:00
scheduler.h drm/i915/gvt: Drop redundant prepare_write/pin_pages 2020-06-20 09:57:09 +01:00
trace.h
trace_points.c drm/i915/gvt: remove duplicate include of trace.h 2019-07-30 14:26:30 +08:00
vgpu.c drm/i915/gvt: replace idr_init() by idr_init_base() 2020-11-11 10:30:07 +08:00