All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vivekanandan, Balasubramani" <balasubramani.vivekanandan@intel.com>
To: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>,
	<intel-xe@lists.freedesktop.org>
Cc: Matt Roper <matthew.d.roper@intel.com>
Subject: Re: [PATCH v6 3/9] drm/xe/xe3: Add support for media IP version 30.02
Date: Mon, 16 Jun 2025 15:17:08 +0530	[thread overview]
Message-ID: <aE_oHEybMDhsFWBj@bvivekan-mob1> (raw)
In-Reply-To: <20250613193146.3549862-4-dnyaneshwar.bhadane@intel.com>

On 14.06.2025 01:01, Dnyaneshwar Bhadane wrote:
> From: Matt Roper <matthew.d.roper@intel.com>
> 
> Media version 30.02 should be treated the same as other Xe3 IP, but
> will have a slightly different set of workarounds.
> 
> -v2: Extend the range in existing WA entry (Bala)
> -v3: Revert v2, Do not extend the range for the time being(Matt)

Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>

Regards,
Bala

> 
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_pci.c        |  1 +
>  drivers/gpu/drm/xe/xe_wa.c         | 12 ++++++++++++
>  drivers/gpu/drm/xe/xe_wa_oob.rules |  2 ++
>  3 files changed, 15 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 8bb698786334..5ff2169019ed 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -197,6 +197,7 @@ static const struct xe_ip media_ips[] = {
>  	{ 1301, "Xe2_HPM", &media_xelpmp },
>  	{ 2000, "Xe2_LPM", &media_xelpmp },
>  	{ 3000, "Xe3_LPM", &media_xelpmp },
> +	{ 3002, "Xe3_LPM", &media_xelpmp },
>  };
>  
>  static const struct xe_device_desc tgl_desc = {
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index 6baf369fb330..f51218a7a580 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -285,6 +285,18 @@ static const struct xe_rtp_entry_sr gt_was[] = {
>  	  XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F10(0), IECPUNIT_CLKGATE_DIS)),
>  	  XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
>  	},
> +	{ XE_RTP_NAME("16021865536"),
> +	  XE_RTP_RULES(MEDIA_VERSION(3002),
> +		       ENGINE_CLASS(VIDEO_DECODE)),
> +	  XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F10(0), IECPUNIT_CLKGATE_DIS)),
> +	  XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> +	},
> +	{ XE_RTP_NAME("16021867713"),
> +	  XE_RTP_RULES(MEDIA_VERSION(3002),
> +		       ENGINE_CLASS(VIDEO_DECODE)),
> +	  XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F1C(0), MFXPIPE_CLKGATE_DIS)),
> +	  XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> +	},
>  	{ XE_RTP_NAME("14021486841"),
>  	  XE_RTP_RULES(MEDIA_VERSION(3000), MEDIA_STEP(A0, B0),
>  		       ENGINE_CLASS(VIDEO_DECODE)),
> diff --git a/drivers/gpu/drm/xe/xe_wa_oob.rules b/drivers/gpu/drm/xe/xe_wa_oob.rules
> index 9a691045831e..d67202c07bc9 100644
> --- a/drivers/gpu/drm/xe/xe_wa_oob.rules
> +++ b/drivers/gpu/drm/xe/xe_wa_oob.rules
> @@ -59,9 +59,11 @@ no_media_l3	MEDIA_VERSION(3000)
>  		GRAPHICS_VERSION(1260), GRAPHICS_STEP(A0, B0)
>  16023105232	GRAPHICS_VERSION_RANGE(2001, 3001)
>  		MEDIA_VERSION_RANGE(1301, 3000)
> +		MEDIA_VERSION(3002)
>  		GRAPHICS_VERSION(3003)
>  16026508708	GRAPHICS_VERSION_RANGE(1200, 3001)
>  		MEDIA_VERSION_RANGE(1300, 3000)
> +		MEDIA_VERSION(3002)
>  		GRAPHICS_VERSION(3003)
>  
>  # SoC workaround - currently applies to all platforms with the following
> -- 
> 2.34.1
> 

  reply	other threads:[~2025-06-16  9:47 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 19:31 [PATCH v6 0/9] Add WildCat Lake support Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 1/9] drm/i915/xe3lpd: Add support for display version 30.02 Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 2/9] drm/xe/xe3: Add support for graphics IP version 30.03 Dnyaneshwar Bhadane
2025-06-16  8:36   ` Vivekanandan, Balasubramani
2025-06-13 19:31 ` [PATCH v6 3/9] drm/xe/xe3: Add support for media IP version 30.02 Dnyaneshwar Bhadane
2025-06-16  9:47   ` Vivekanandan, Balasubramani [this message]
2025-06-13 19:31 ` [PATCH v6 4/9] drm/i915/xe3lpd: Update bandwidth parameters for display " Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 5/9] drm/i915: Set max cdclk for display 30.02 Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 6/9] drm/xe: Add Wildcat Lake device IDs to PTL list Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 7/9] drm/i915/xe3lpd: Extend DMC load path for display Dnyaneshwar Bhadane
2025-06-13 19:31 ` [PATCH v6 8/9] drm/i915/wcl: C10 phy connected to port A and B Dnyaneshwar Bhadane
2025-06-16  8:38   ` Kandpal, Suraj
2025-06-16 16:01     ` Bhadane, Dnyaneshwar
2025-06-17  5:07       ` Kandpal, Suraj
2025-06-17  5:46         ` Bhadane, Dnyaneshwar
2025-06-17  5:58           ` Kandpal, Suraj
2025-06-13 19:31 ` [PATCH v6 9/9] drm/i915/xe3lpd: Extend WA 16023981245 for display 30.02 Dnyaneshwar Bhadane
2025-06-13 21:07 ` ✓ CI.KUnit: success for Add WildCat Lake support Patchwork
2025-06-13 21:22 ` ✗ CI.checksparse: warning " Patchwork
2025-06-13 21:47 ` ✓ Xe.CI.BAT: success " Patchwork
2025-06-15 20:06 ` ✗ Xe.CI.Full: failure " Patchwork
2025-06-18  6:47   ` Bhadane, Dnyaneshwar
2025-06-18 22:46     ` Matt Roper
  -- strict thread matches above, loose matches on Subject: below --
2025-06-13 10:22 [PATCH v6 0/9] " Dnyaneshwar Bhadane
2025-06-13 10:22 ` [PATCH v6 3/9] drm/xe/xe3: Add support for media IP version 30.02 Dnyaneshwar Bhadane

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=aE_oHEybMDhsFWBj@bvivekan-mob1 \
    --to=balasubramani.vivekanandan@intel.com \
    --cc=dnyaneshwar.bhadane@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.