linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Imre Deak 75e39688f3 drm/i915/ddi: Use power well CTL IDX instead of ID
Similarly to the previous patch use a separate request/status HW flag
index defined right after the corresponding control registers instead of
depending for this on the power well IDs. Since the set of
control/status registers varies among the different power wells (on a
single platform), also add a new i915_power_well_registers struct that
we populate and assign to each DDI power well as needed.

Also clarify a bit the code comment describing the function and layout
of the control registers.

This also fixes a problem on ICL, where we incorrectly read the KVMR
control register in hsw_power_well_requesters() even for DDI and AUX
power wells.

v2:
- Clarify platform range tags in code comments. (Paulo)
- Fix line over 80 chars checkpatch warning.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806095843.13294-7-imre.deak@intel.com
2018-08-08 13:51:19 +03:00
..
aperture_gm.c drm/i915/gtt: Rename i915_hw_ppgtt base member 2018-06-05 21:11:20 +01:00
cfg_space.c
cmd_parser.c Chris is doing many reworks that allow us to get full-ppgtt supported 2018-06-28 13:10:44 +10:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c drm/i915/gvt: Enable virtual display support for BXT. 2018-06-13 10:57:29 +08:00
display.h drm/i915/gvt: Fix the validation on size field of dp aux header 2018-04-12 11:29:01 +08:00
dmabuf.c drm/i915/gvt: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +08:00
dmabuf.h
edid.c drm/i915/gvt: Enable virtual display support for BXT. 2018-06-13 10:57:29 +08:00
edid.h
execlist.c
execlist.h drm/i915/gvt: use array to avoid potential buffer overflow 2018-06-11 15:04:45 +08:00
fb_decoder.c drm/i915/gvt: Enable dma_buf support for BXT. 2018-06-13 10:57:29 +08:00
fb_decoder.h
firmware.c drm/i915/gvt: Use offsetofend() rather than offsetof + sizeof 2018-05-17 22:05:10 +08:00
gtt.c On GEM side: 2018-07-20 12:29:24 +10:00
gtt.h drm/i915/gvt: Add GTT clear_pse operation 2018-07-09 10:23:27 +08:00
gvt.c drm/i915/gvt: declare gvt as i915's soft dependency 2018-07-10 11:13:11 +08:00
gvt.h - Ice Lake's display enabling patches (Jose, Mahesh, Dhinakaran, Paulo, Manasi, Anusha, Arkadiusz) 2018-06-07 10:24:50 +08:00
handlers.c drm/i915/ddi: Use power well CTL IDX instead of ID 2018-08-08 13:51:19 +03:00
hypercall.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
interrupt.c drm/i915/gvt: Enable irq initialization for BXT. 2018-06-13 10:57:29 +08:00
interrupt.h
kvmgt.c drm/i915/kvmgt: Fix compilation error 2018-07-23 15:52:02 -07:00
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
mmio_context.c drm/i915/gvt: Enable mmio context init and switch for BXT. 2018-06-13 10:57:29 +08:00
mmio_context.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
mmio.c Chris is doing many reworks that allow us to get full-ppgtt supported 2018-06-28 13:10:44 +10:00
mmio.h drm/i915/gvt: Add D_BXT device type define for BXT. 2018-06-13 10:57:29 +08:00
mpt.h drm/i915/kvmgt: Support setting dma map for huge pages 2018-07-09 10:34:28 +08:00
opregion.c
page_track.c drm/i915/gvt: Use vgpu_lock to protect per vgpu access 2018-05-18 12:39:02 +08:00
page_track.h drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
reg.h
sched_policy.c drm/i915/gvt: Use sched_lock to protect gvt scheduler logic. 2018-05-18 12:39:26 +08:00
sched_policy.h
scheduler.c drm/i915: Start returning an error from i915_vma_move_to_active() 2018-07-06 18:22:37 +01:00
scheduler.h drm/i915: Store a pointer to intel_context in i915_request 2018-05-18 09:35:22 +01:00
trace_points.c
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
vgpu.c On GEM side: 2018-07-20 12:29:24 +10:00