Patch "drm/i915: Remove __maybe_unused from mtl_info" has been added to the 6.1-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: Remove __maybe_unused from mtl_info

to the 6.1-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-remove-__maybe_unused-from-mtl_info.patch
and it can be found in the queue-6.1 subdirectory.

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



commit 236e0b78bcc1bb755fcc75586d8d266af822a41e
Author: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
Date:   Wed Dec 14 11:49:44 2022 -0800

    drm/i915: Remove __maybe_unused from mtl_info
    
    [ Upstream commit fff758698842fb6722be37498d8773e0fb47f000 ]
    
    The attribute __maybe_unused should remain only until the respective
    info is not in the pciidlist. The info can't be added together
    with its definition because that would cause the driver to automatically
    probe for the device, while it's still not ready for that. However once
    pciidlist contains it, the attribute can be removed.
    
    Fixes: 7835303982d1 ("drm/i915/mtl: Add MeteorLake PCI IDs")
    Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
    Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20221214194944.3670344-1-lucas.demarchi@xxxxxxxxx
    (cherry picked from commit 50490ce05b7a50b0bd4108fa7d6db3ca2972fa83)
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    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 34f2d9da201e2..fe4f279aaeb3e 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -1130,7 +1130,6 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {
 	{}
 };
 
-__maybe_unused
 static const struct intel_device_info mtl_info = {
 	XE_HP_FEATURES,
 	XE_LPDP_FEATURES,



[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