Patch "drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-i915-mtl-add-the-missing-cpu-transcoder-mask-in-.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0dc092ee4a80a03cf8cdf85e9e0bf4d951816c4b
Author: Radhakrishna Sripada <radhakrishna.sripada@xxxxxxxxx>
Date:   Thu Apr 20 15:12:47 2023 -0700

    drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
    
    [ Upstream commit 6ece90e3665a9b7fb2637fcca26cebd42991580b ]
    
    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@xxxxxxxxxxxxxxx>
    Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@xxxxxxxxx>
    Acked-by: Haridhar Kalvala <haridhar.kalvala@xxxxxxxxx>
    Reviewed-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20230420221248.2511314-1-radhakrishna.sripada@xxxxxxxxx
    (cherry picked from commit bddc18913bd44adae5c828fd514d570f43ba1576)
    Signed-off-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 4fada7ebe8d82..36cc4fc87c48c 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -1133,6 +1133,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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux