Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
To: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>,
	<intel-xe@lists.freedesktop.org>,
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915/xe3lpd: Load DMC for xe3lpd 3002
Date: Fri, 17 Oct 2025 16:08:19 +0530	[thread overview]
Message-ID: <a547b633-40fd-4998-acdb-91679e35270f@intel.com> (raw)
In-Reply-To: <20251016131517.2032684-1-dnyaneshwar.bhadane@intel.com>



On 10/16/2025 6:45 PM, Dnyaneshwar Bhadane wrote:
> Load the DMC for Xe3LPD for display version 3002.

LGTM
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>

> 
> Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_dmc.c | 10 +++++++---
>   1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dmc.c b/drivers/gpu/drm/i915/display/intel_dmc.c
> index 77a0199f9ea5..f3f10f97a573 100644
> --- a/drivers/gpu/drm/i915/display/intel_dmc.c
> +++ b/drivers/gpu/drm/i915/display/intel_dmc.c
> @@ -127,6 +127,9 @@ static bool dmc_firmware_param_disabled(struct intel_display *display)
>   #define DISPLAY_VER13_DMC_MAX_FW_SIZE	0x20000
>   #define DISPLAY_VER12_DMC_MAX_FW_SIZE	ICL_DMC_MAX_FW_SIZE
>   
> +#define XE3LPD_3002_DMC_PATH		DMC_PATH(xe3lpd_3002)
> +MODULE_FIRMWARE(XE3LPD_3002_DMC_PATH);
> +
>   #define XE3LPD_DMC_PATH			DMC_PATH(xe3lpd)
>   MODULE_FIRMWARE(XE3LPD_DMC_PATH);
>   
> @@ -183,9 +186,10 @@ static const char *dmc_firmware_default(struct intel_display *display, u32 *size
>   {
>   	const char *fw_path = NULL;
>   	u32 max_fw_size = 0;
> -
> -	if (DISPLAY_VERx100(display) == 3002 ||
> -	    DISPLAY_VERx100(display) == 3000) {
> +	if (DISPLAY_VERx100(display) == 3002) {
> +		fw_path = XE3LPD_3002_DMC_PATH;
> +		max_fw_size = XE2LPD_DMC_MAX_FW_SIZE;
> +	} else if (DISPLAY_VERx100(display) == 3000) {
>   		fw_path = XE3LPD_DMC_PATH;
>   		max_fw_size = XE2LPD_DMC_MAX_FW_SIZE;
>   	} else if (DISPLAY_VERx100(display) == 2000) {


  parent reply	other threads:[~2025-10-17 10:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-16 13:15 [PATCH] drm/i915/xe3lpd: Load DMC for xe3lpd 3002 Dnyaneshwar Bhadane
2025-10-16 19:19 ` ✓ i915.CI.BAT: success for " Patchwork
2025-10-17  3:31 ` ✗ i915.CI.Full: failure " Patchwork
2025-10-20 16:21   ` Gustavo Sousa
2025-10-17 10:38 ` Borah, Chaitanya Kumar [this message]
2025-10-20 16:32 ` [PATCH] " Gustavo Sousa
2025-10-20 17:05   ` Gustavo Sousa

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=a547b633-40fd-4998-acdb-91679e35270f@intel.com \
    --to=chaitanya.kumar.borah@intel.com \
    --cc=dnyaneshwar.bhadane@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /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