Patch "drm/panic: Do not select DRM_KMS_HELPER" has been added to the 6.10-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/panic: Do not select DRM_KMS_HELPER

to the 6.10-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-panic-do-not-select-drm_kms_helper.patch
and it can be found in the queue-6.10 subdirectory.

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



commit 0282f6934231b19151b7c34d0be3c9ced0545e50
Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Date:   Wed Jun 26 10:41:44 2024 +0200

    drm/panic: Do not select DRM_KMS_HELPER
    
    [ Upstream commit e044e707fc97dac693691178cdf41fe1a8da928f ]
    
    DRM core code cannot call into DRM helper code, as this would lead to
    circular references in the modular case.  Hence drop the selection of
    DRM_KMS_HELPER.  It was unused anyway, as v10 switched from using
    the DRM format helpers to its own color format conversion, cfr. commit
    9544309775c3 ("drm/panic: Add support for color format conversion").
    
    Remove the unneeded include of <drm/drm_format_helper.h>.
    
    Fixes: bf9fb17c6672 ("drm/panic: Add a drm panic handler")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
    Reviewed-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
    Signed-off-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/60155f8c939ed286e324a7c12a1daa69fe49fcf6.1719391132.git.geert+renesas@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 3e286236aa430..359b68adafc1b 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -107,7 +107,6 @@ config DRM_KMS_HELPER
 config DRM_PANIC
 	bool "Display a user-friendly message when a kernel panic occurs"
 	depends on DRM && !(FRAMEBUFFER_CONSOLE && VT_CONSOLE)
-	select DRM_KMS_HELPER
 	select FONT_SUPPORT
 	help
 	  Enable a drm panic handler, which will display a user-friendly message
diff --git a/drivers/gpu/drm/drm_panic.c b/drivers/gpu/drm/drm_panic.c
index e1c4796685692..831b214975a51 100644
--- a/drivers/gpu/drm/drm_panic.c
+++ b/drivers/gpu/drm/drm_panic.c
@@ -15,7 +15,6 @@
 #include <linux/types.h>
 
 #include <drm/drm_drv.h>
-#include <drm/drm_format_helper.h>
 #include <drm/drm_fourcc.h>
 #include <drm/drm_framebuffer.h>
 #include <drm/drm_modeset_helper_vtables.h>




[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