From: "Kalvala, Haridhar" <haridhar.kalvala@intel.com>
To: Radhakrishna Sripada <radhakrishna.sripada@intel.com>,
<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
Date: Wed, 26 Apr 2023 18:27:31 +0530 [thread overview]
Message-ID: <05945246-ed8b-d18f-63bb-46c3c400ea80@intel.com> (raw)
In-Reply-To: <20230420221248.2511314-1-radhakrishna.sripada@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]
On 4/21/2023 3:42 AM, Radhakrishna Sripada wrote:
> CPU transcoder mask is used to iterate over the available
> CPU transcoders in the macro for_each_cpu_transcoder().
>
> The macro is broken on MTL and got highlighted when audio
> state was being tracked for each transcoder added in [1].
>
> Add the missing CPU transcoder mask which is similar to ADL-P
> mask but without DSI transcoders.
>
> [1]:https://patchwork.freedesktop.org/patch/523723/
>
> Fixes: 7835303982d1 ("drm/i915/mtl: Add MeteorLake PCI IDs")
> Cc: Ville Syrjälä<ville.syrjala@linux.intel.com>
> Signed-off-by: Radhakrishna Sripada<radhakrishna.sripada@intel.com>
Acked-by: Haridhar Kalvala <haridhar.kalvala@intel.com>
> ---
> drivers/gpu/drm/i915/i915_pci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index d64e074d7457..847057569796 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -1135,6 +1135,8 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {
> static const struct intel_device_info mtl_info = {
> XE_HP_FEATURES,
> XE_LPDP_FEATURES,
> + .__runtime.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) |
> + BIT(TRANSCODER_C) | BIT(TRANSCODER_D),
> /*
> * Real graphics IP version will be obtained from hardware GMD_ID
> * register. Value provided here is just for sanity checking.
--
Regards,
Haridhar Kalvala
[-- Attachment #2: Type: text/html, Size: 2736 bytes --]
prev parent reply other threads:[~2023-04-26 12:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 22:12 [Intel-gfx] [PATCH 1/2] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info Radhakrishna Sripada
2023-04-20 22:12 ` [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Copy c10 phy pll sw state from master to slave for bigjoiner Radhakrishna Sripada
2023-04-26 12:59 ` Kalvala, Haridhar
2023-04-26 13:13 ` Gustavo Sousa
2023-04-20 22:57 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info Patchwork
2023-04-20 22:57 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-04-20 23:08 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-04-21 8:39 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-04-26 12:48 ` [Intel-gfx] [PATCH 1/2] " Gustavo Sousa
2023-04-26 19:23 ` Gustavo Sousa
2023-04-26 12:57 ` Kalvala, Haridhar [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=05945246-ed8b-d18f-63bb-46c3c400ea80@intel.com \
--to=haridhar.kalvala@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=radhakrishna.sripada@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox