dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
To: Maciej Falkowski <maciej.falkowski@linux.intel.com>,
	dri-devel@lists.freedesktop.org
Cc: oded.gabbay@gmail.com, jeff.hugo@oss.qualcomm.com, lizhi.hou@amd.com
Subject: Re: [PATCH] accel/ivpu: Add initial Wildcat Lake support
Date: Mon, 16 Jun 2025 13:39:11 +0200	[thread overview]
Message-ID: <63067b4e-235a-4a27-af49-a67eabd99b06@linux.intel.com> (raw)
In-Reply-To: <20250605161947.1237727-1-maciej.falkowski@linux.intel.com>

Applied to drm-misc-next

On 6/5/2025 6:19 PM, Maciej Falkowski wrote:
> Add support for Wildcat Lake (WCL) CPUs.
> Wildcat Lake contains NPU5 just like Panther Lake
> hence the initial support is very simple and adds
> only PCI IDs.
> 
> Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
> ---
>  drivers/accel/ivpu/ivpu_drv.c   | 1 +
>  drivers/accel/ivpu/ivpu_drv.h   | 3 +++
>  drivers/accel/ivpu/ivpu_hw_ip.c | 1 +
>  3 files changed, 5 insertions(+)
> 
> diff --git a/drivers/accel/ivpu/ivpu_drv.c b/drivers/accel/ivpu/ivpu_drv.c
> index 0e7748c5e117..3d6d52492536 100644
> --- a/drivers/accel/ivpu/ivpu_drv.c
> +++ b/drivers/accel/ivpu/ivpu_drv.c
> @@ -704,6 +704,7 @@ static struct pci_device_id ivpu_pci_ids[] = {
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_ARL) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_LNL) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PTL_P) },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_WCL) },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(pci, ivpu_pci_ids);
> diff --git a/drivers/accel/ivpu/ivpu_drv.h b/drivers/accel/ivpu/ivpu_drv.h
> index b6d6b3238b59..17aa3532c76d 100644
> --- a/drivers/accel/ivpu/ivpu_drv.h
> +++ b/drivers/accel/ivpu/ivpu_drv.h
> @@ -26,6 +26,7 @@
>  #define PCI_DEVICE_ID_ARL	0xad1d
>  #define PCI_DEVICE_ID_LNL	0x643e
>  #define PCI_DEVICE_ID_PTL_P	0xb03e
> +#define PCI_DEVICE_ID_WCL	0xfd3e
>  
>  #define IVPU_HW_IP_37XX 37
>  #define IVPU_HW_IP_40XX 40
> @@ -241,6 +242,7 @@ static inline int ivpu_hw_ip_gen(struct ivpu_device *vdev)
>  	case PCI_DEVICE_ID_LNL:
>  		return IVPU_HW_IP_40XX;
>  	case PCI_DEVICE_ID_PTL_P:
> +	case PCI_DEVICE_ID_WCL:
>  		return IVPU_HW_IP_50XX;
>  	default:
>  		dump_stack();
> @@ -257,6 +259,7 @@ static inline int ivpu_hw_btrs_gen(struct ivpu_device *vdev)
>  		return IVPU_HW_BTRS_MTL;
>  	case PCI_DEVICE_ID_LNL:
>  	case PCI_DEVICE_ID_PTL_P:
> +	case PCI_DEVICE_ID_WCL:
>  		return IVPU_HW_BTRS_LNL;
>  	default:
>  		dump_stack();
> diff --git a/drivers/accel/ivpu/ivpu_hw_ip.c b/drivers/accel/ivpu/ivpu_hw_ip.c
> index 823f6a57dc54..2bf9882ab52e 100644
> --- a/drivers/accel/ivpu/ivpu_hw_ip.c
> +++ b/drivers/accel/ivpu/ivpu_hw_ip.c
> @@ -683,6 +683,7 @@ static void pwr_island_delay_set(struct ivpu_device *vdev)
>  		return;
>  
>  	switch (ivpu_device_id(vdev)) {
> +	case PCI_DEVICE_ID_WCL:
>  	case PCI_DEVICE_ID_PTL_P:
>  		post = high ? 18 : 0;
>  		post1 = 0;


      parent reply	other threads:[~2025-06-16 11:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-05 16:19 [PATCH] accel/ivpu: Add initial Wildcat Lake support Maciej Falkowski
2025-06-06 16:23 ` Jeff Hugo
2025-06-16 11:39 ` Jacek Lawrynowicz [this message]

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=63067b4e-235a-4a27-af49-a67eabd99b06@linux.intel.com \
    --to=jacek.lawrynowicz@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jeff.hugo@oss.qualcomm.com \
    --cc=lizhi.hou@amd.com \
    --cc=maciej.falkowski@linux.intel.com \
    --cc=oded.gabbay@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).