From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Vinod Govindapillai <vinod.govindapillai@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>,
<stanislav.lisovskiy@intel.com>, <lucas.demarchi@intel.com>,
<matthew.d.roper@intel.com>
Subject: Re: [PATCH v1 5/6] drm/i915/xe2lpd: Load DMC
Date: Thu, 22 Feb 2024 16:11:05 -0500 [thread overview]
Message-ID: <Zde4aVGzPtk08p9j@intel.com> (raw)
In-Reply-To: <20240222125634.275047-6-vinod.govindapillai@intel.com>
On Thu, Feb 22, 2024 at 02:56:33PM +0200, Vinod Govindapillai wrote:
> From: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
>
> Load DMC for XE2LPD. The value 0x8000 is the maximum payload size for
> any xe2lpd dmc firmware.
>
> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
> Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Please always sign-off whenever sending someone's else patch. Even when there
was no modification on the original patch. The sign-off is needed when handling
the patches.
> ---
> drivers/gpu/drm/i915/display/intel_dmc.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dmc.c b/drivers/gpu/drm/i915/display/intel_dmc.c
> index 835781624482..54c5909de293 100644
> --- a/drivers/gpu/drm/i915/display/intel_dmc.c
> +++ b/drivers/gpu/drm/i915/display/intel_dmc.c
> @@ -89,10 +89,14 @@ static struct intel_dmc *i915_to_dmc(struct drm_i915_private *i915)
> __stringify(major) "_" \
> __stringify(minor) ".bin"
>
> +#define XE2LPD_MAX_FW_SIZE 0x8000
> #define XELPDP_DMC_MAX_FW_SIZE 0x7000
> #define DISPLAY_VER13_DMC_MAX_FW_SIZE 0x20000
> #define DISPLAY_VER12_DMC_MAX_FW_SIZE ICL_DMC_MAX_FW_SIZE
>
> +#define XE2LPD_DMC_PATH DMC_PATH(xe2lpd)
> +MODULE_FIRMWARE(XE2LPD_DMC_PATH);
> +
> #define MTL_DMC_PATH DMC_PATH(mtl)
> MODULE_FIRMWARE(MTL_DMC_PATH);
>
> @@ -987,7 +991,10 @@ void intel_dmc_init(struct drm_i915_private *i915)
>
> INIT_WORK(&dmc->work, dmc_load_work_fn);
>
> - if (DISPLAY_VER_FULL(i915) == IP_VER(14, 0)) {
> + if (DISPLAY_VER_FULL(i915) == IP_VER(20, 0)) {
> + dmc->fw_path = XE2LPD_DMC_PATH;
> + dmc->max_fw_size = XE2LPD_MAX_FW_SIZE;
> + } else if (DISPLAY_VER_FULL(i915) == IP_VER(14, 0)) {
> dmc->fw_path = MTL_DMC_PATH;
> dmc->max_fw_size = XELPDP_DMC_MAX_FW_SIZE;
> } else if (IS_DG2(i915)) {
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-02-22 21:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 12:56 [PATCH v1 0/6] LNL display Vinod Govindapillai
2024-02-22 12:56 ` [PATCH v1 1/6] drm/i915/lnl: Introduce MDCLK_CDCLK ratio to DBuf Vinod Govindapillai
2024-02-22 12:56 ` [PATCH v1 2/6] drm/i915/lnl: Add programming for CDCLK change Vinod Govindapillai
2024-02-22 12:56 ` [PATCH v1 3/6] drm/i915/xe2lpd: Write DBuf after CDCLK change in post plane Vinod Govindapillai
2024-02-22 12:56 ` [PATCH v1 4/6] drm/i915/xe2lpd: Update mbus on post plane updates Vinod Govindapillai
2024-02-22 12:56 ` [PATCH v1 5/6] drm/i915/xe2lpd: Load DMC Vinod Govindapillai
2024-02-22 14:26 ` Lucas De Marchi
2024-02-22 20:39 ` Gustavo Sousa
2024-02-22 21:11 ` Rodrigo Vivi [this message]
2024-02-22 12:56 ` [PATCH v1 6/6] drm/xe/lnl: Enable the display support Vinod Govindapillai
2024-02-22 14:02 ` [PATCH v1 0/6] LNL display Lucas De Marchi
2024-02-22 14:39 ` Govindapillai, Vinod
2024-02-22 15:52 ` Gustavo Sousa
2024-02-22 16:04 ` Gustavo Sousa
2024-02-22 17:18 ` Govindapillai, Vinod
2024-03-04 18:50 ` Gustavo Sousa
2024-02-22 22:31 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
2024-02-22 22:41 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-23 11:02 ` ✗ Fi.CI.IGT: 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=Zde4aVGzPtk08p9j@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=stanislav.lisovskiy@intel.com \
--cc=vinod.govindapillai@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.