Commit b5b55d09 authored by Matt Roper's avatar Matt Roper
Browse files

drm/xe/xe3p_xpc: Add new XeCore fuse registers to VF runtime regs



SRIOV VFs do not automatically have access to the XeCore fuse registers.
Add the two new registers that show up on Xe3p_XPC to the runtime
register list to grant VFs access.  Since there's a single runtime
register list for all Xe3p, this will technically also grant access on
Xe3p_LPG platforms where the registers don't exist, but that should be
harmless since even if a VF tries to read a non-existent register on
those platforms it will just get back a sensible value of 0x0.

Fixes: e8100643 ("drm/xe/xe3p_xpc: XeCore mask spans four registers")
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarNgai-Mint Kwan <ngai-mint.kwan@linux.intel.com>
Link: https://patch.msgid.link/20260210182519.206952-2-matthew.d.roper@intel.com


Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
parent 6d83ef1a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -111,6 +111,8 @@ static const struct xe_reg ver_35_runtime_regs[] = {
	XE2_GT_COMPUTE_DSS_2,		/* _MMIO(0x914c) */
	XE2_GT_GEOMETRY_DSS_1,		/* _MMIO(0x9150) */
	XE2_GT_GEOMETRY_DSS_2,		/* _MMIO(0x9154) */
	XE3P_XPC_GT_GEOMETRY_DSS_3,	/* _MMIO(0x915c) */
	XE3P_XPC_GT_COMPUTE_DSS_3,	/* _MMIO(0x9160) */
	SERVICE_COPY_ENABLE,		/* _MMIO(0x9170) */
};