From: Gustavo Sousa <gustavo.sousa@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>, <intel-xe@lists.freedesktop.org>
Cc: <matthew.d.roper@intel.com>
Subject: Re: [PATCH 2/2] drm/xe/xe3p_xpc: XeCore mask spans four registers
Date: Wed, 4 Feb 2026 17:10:34 -0300 [thread overview]
Message-ID: <875x8c6zid.fsf@intel.com> (raw)
In-Reply-To: <20260204002549.3888274-4-matthew.d.roper@intel.com>
Matt Roper <matthew.d.roper@intel.com> writes:
> On Xe3p_XPC, there are now four registers reserved to express the XeCore
> mask rather than just three. Define the new registers and update the IP
> descriptor accordingly.
>
> Note that this only applies to Xe3p_XPC for now; Xe3p_LPG still only
> uses three registers to express the mask.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
> ---
> drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 ++
> drivers/gpu/drm/xe/xe_gt_topology.c | 2 ++
> drivers/gpu/drm/xe/xe_gt_types.h | 2 +-
> drivers/gpu/drm/xe/xe_pci.c | 4 ++--
> 4 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> index 24fc64fc832e..1b7bd34dcc38 100644
> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> @@ -253,6 +253,8 @@
> #define XE2_GT_COMPUTE_DSS_2 XE_REG(0x914c)
> #define XE2_GT_GEOMETRY_DSS_1 XE_REG(0x9150)
> #define XE2_GT_GEOMETRY_DSS_2 XE_REG(0x9154)
> +#define XE3P_XPC_GT_GEOMETRY_DSS_3 XE_REG(0x915c)
> +#define XE3P_XPC_GT_COMPUTE_DSS_3 XE_REG(0x9160)
>
> #define SERVICE_COPY_ENABLE XE_REG(0x9170)
> #define FUSE_SERVICE_COPY_ENABLE_MASK REG_GENMASK(7, 0)
> diff --git a/drivers/gpu/drm/xe/xe_gt_topology.c b/drivers/gpu/drm/xe/xe_gt_topology.c
> index 575dcfd5eb9d..bfe87e682879 100644
> --- a/drivers/gpu/drm/xe/xe_gt_topology.c
> +++ b/drivers/gpu/drm/xe/xe_gt_topology.c
> @@ -212,11 +212,13 @@ xe_gt_topology_init(struct xe_gt *gt)
> XELP_GT_GEOMETRY_DSS_ENABLE,
> XE2_GT_GEOMETRY_DSS_1,
> XE2_GT_GEOMETRY_DSS_2,
> + XE3P_XPC_GT_GEOMETRY_DSS_3,
> };
> static const struct xe_reg compute_regs[] = {
> XEHP_GT_COMPUTE_DSS_ENABLE,
> XEHPC_GT_COMPUTE_DSS_ENABLE_EXT,
> XE2_GT_COMPUTE_DSS_2,
> + XE3P_XPC_GT_COMPUTE_DSS_3,
> };
> struct drm_printer p;
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_types.h b/drivers/gpu/drm/xe/xe_gt_types.h
> index bede105f37b4..bcb63dced7f9 100644
> --- a/drivers/gpu/drm/xe/xe_gt_types.h
> +++ b/drivers/gpu/drm/xe/xe_gt_types.h
> @@ -35,7 +35,7 @@ enum xe_gt_eu_type {
> XE_GT_EU_TYPE_SIMD16,
> };
>
> -#define XE_MAX_DSS_FUSE_REGS 3
> +#define XE_MAX_DSS_FUSE_REGS 4
> #define XE_MAX_DSS_FUSE_BITS (32 * XE_MAX_DSS_FUSE_REGS)
> #define XE_MAX_EU_FUSE_REGS 1
> #define XE_MAX_EU_FUSE_BITS (32 * XE_MAX_EU_FUSE_REGS)
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index e3a574835f35..42f15cd394f6 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -122,8 +122,8 @@ static const struct xe_graphics_desc graphics_xe3p_xpc = {
> GENMASK(XE_HW_ENGINE_CCS3, XE_HW_ENGINE_CCS0),
> .multi_queue_engine_class_mask = BIT(XE_ENGINE_CLASS_COPY) |
> BIT(XE_ENGINE_CLASS_COMPUTE),
> - .num_geometry_xecore_fuse_regs = 3,
> - .num_compute_xecore_fuse_regs = 3,
> + .num_geometry_xecore_fuse_regs = 4,
> + .num_compute_xecore_fuse_regs = 4,
> };
>
> static const struct xe_media_desc media_xem = {
> --
> 2.52.0
next prev parent reply other threads:[~2026-02-04 20:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 0:25 [PATCH 1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor Matt Roper
2026-02-04 0:25 ` [PATCH 2/2] drm/xe/xe3p_xpc: XeCore mask spans four registers Matt Roper
2026-02-04 20:10 ` Gustavo Sousa [this message]
2026-02-04 0:57 ` ✓ CI.KUnit: success for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor Patchwork
2026-02-04 1:31 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-02-04 14:53 ` ✓ CI.KUnit: success for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor (rev2) Patchwork
2026-02-04 15:48 ` ✗ Xe.CI.FULL: failure for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor Patchwork
2026-02-04 15:59 ` ✗ Xe.CI.BAT: failure for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor (rev2) Patchwork
2026-02-04 20:05 ` [PATCH 1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor Gustavo Sousa
2026-02-05 1:49 ` ✗ Xe.CI.FULL: failure for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor (rev2) Patchwork
2026-02-05 2:08 ` ✓ CI.KUnit: success for series starting with [1/2] drm/xe: Move number of XeCore fuse registers to graphics descriptor (rev3) Patchwork
2026-02-05 2:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-05 17:21 ` ✗ Xe.CI.FULL: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875x8c6zid.fsf@intel.com \
--to=gustavo.sousa@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.