<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/21/2023 3:42 AM, Radhakrishna
Sripada wrote:<br>
</div>
<blockquote type="cite" cite="mid:20230420221248.2511314-1-radhakrishna.sripada@intel.com">
<pre class="moz-quote-pre" wrap="">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]: <a class="moz-txt-link-freetext" href="https://patchwork.freedesktop.org/patch/523723/">https://patchwork.freedesktop.org/patch/523723/</a>
Fixes: 7835303982d1 ("drm/i915/mtl: Add MeteorLake PCI IDs")
Cc: Ville Syrjälä <a class="moz-txt-link-rfc2396E" href="mailto:ville.syrjala@linux.intel.com"><ville.syrjala@linux.intel.com></a>
Signed-off-by: Radhakrishna Sripada <a class="moz-txt-link-rfc2396E" href="mailto:radhakrishna.sripada@intel.com"><radhakrishna.sripada@intel.com></a></pre>
</blockquote>
<p>Acked-by: Haridhar Kalvala <a class="moz-txt-link-rfc2396E" href="mailto:haridhar.kalvala@intel.com"><haridhar.kalvala@intel.com></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times
New Roman";
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA"></span></p>
<blockquote type="cite" cite="mid:20230420221248.2511314-1-radhakrishna.sripada@intel.com">
<pre class="moz-quote-pre" wrap="">
---
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.
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Regards,
Haridhar Kalvala</pre>
</body>
</html>