On Thu, Feb 05, 2026 at 08:39:29PM -0300, Gustavo Sousa wrote:
> From: Shekhar Chauhan <[email protected]>
> 
> Add Xe3p_LPG graphics IP version 35.10. Xe3p_LPG supports all features
> described by XE2_GFX_FEATURES and also multi-queue feature on BCS and
> CCS engines.  As such, create a new struct xe_graphics_desc named
> graphics_xe3p_lpg that inherits from XE2_GFX_FEATURES and also includes
> the necessary .multi_queue_engine_class_mask.
> 
> Here is a list of fields and associated Bspec references for the members
> of the IP descriptor:
> 
>  .hw_engine_mask (Bspec 60149)
>  .multi_queue_engine_class_mask (Bspec 74110)
>  .has_asid (Bspec 71132)
>  .has_atomic_enable_pte_bit (Bspec 59510, 74675)
>  .has_indirect_ring_state (Bspec 67296)
>  .has_range_tlb_inval (Bspec 71126)
>  .has_usm (Bspec 59651)
>  .has_64bit_timestamp (Bspec 60318)
> 
> v2:
>   - Drop non-existing fields from the list in the commit message. (Matt)
>   - Squash patch adding .multi_queue_engine_class_mask here. (Matt)
>   - Rename graphics_xe3p to graphics_xe3p_lpg. (Matt)
> 
> Cc: Matt Roper <[email protected]>
> Signed-off-by: Shekhar Chauhan <[email protected]>
> Signed-off-by: Gustavo Sousa <[email protected]>

Reviewed-by: Matt Roper <[email protected]>

> ---
>  drivers/gpu/drm/xe/xe_pci.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index b5e8935fff1d..08e0ff9f75e8 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -106,6 +106,11 @@ static const struct xe_graphics_desc graphics_xe2 = {
>       XE2_GFX_FEATURES,
>  };
>  
> +static const struct xe_graphics_desc graphics_xe3p_lpg = {
> +     XE2_GFX_FEATURES,
> +     .multi_queue_engine_class_mask = BIT(XE_ENGINE_CLASS_COPY) | 
> BIT(XE_ENGINE_CLASS_COMPUTE),
> +};
> +
>  static const struct xe_graphics_desc graphics_xe3p_xpc = {
>       XE2_GFX_FEATURES,
>       .has_indirect_ring_state = 1,
> @@ -148,6 +153,7 @@ static const struct xe_ip graphics_ips[] = {
>       { 3003, "Xe3_LPG", &graphics_xe2 },
>       { 3004, "Xe3_LPG", &graphics_xe2 },
>       { 3005, "Xe3_LPG", &graphics_xe2 },
> +     { 3510, "Xe3p_LPG", &graphics_xe3p_lpg },
>       { 3511, "Xe3p_XPC", &graphics_xe3p_xpc },
>  };
>  
> 
> -- 
> 2.52.0
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation

Reply via email to