mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 03:34:46 +07:00
75e39688f3
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 |
||
---|---|---|
.. | ||
aperture_gm.c | ||
cfg_space.c | ||
cmd_parser.c | ||
cmd_parser.h | ||
debug.h | ||
debugfs.c | ||
display.c | ||
display.h | ||
dmabuf.c | ||
dmabuf.h | ||
edid.c | ||
edid.h | ||
execlist.c | ||
execlist.h | ||
fb_decoder.c | ||
fb_decoder.h | ||
firmware.c | ||
gtt.c | ||
gtt.h | ||
gvt.c | ||
gvt.h | ||
handlers.c | ||
hypercall.h | ||
interrupt.c | ||
interrupt.h | ||
kvmgt.c | ||
Makefile | ||
mmio_context.c | ||
mmio_context.h | ||
mmio.c | ||
mmio.h | ||
mpt.h | ||
opregion.c | ||
page_track.c | ||
page_track.h | ||
reg.h | ||
sched_policy.c | ||
sched_policy.h | ||
scheduler.c | ||
scheduler.h | ||
trace_points.c | ||
trace.h | ||
vgpu.c |