From: Jocelyn Falempe <jfalempe@redhat.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] drm/panic: Do not select DRM_KMS_HELPER
Date: Wed, 26 Jun 2024 16:19:20 +0200 [thread overview]
Message-ID: <f647756a-fa9b-4a97-8c33-826f7496821f@redhat.com> (raw)
In-Reply-To: <60155f8c939ed286e324a7c12a1daa69fe49fcf6.1719391132.git.geert+renesas@glider.be>
On 26/06/2024 10:41, Geert Uytterhoeven wrote:
> 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
> 9544309775c334c9 ("drm/panic: Add support for color format
> conversion")).
Thanks a lot for this cleanup,
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
>
> Remove the unneeded include of <drm/drm_format_helper.h>.
>
> Fixes: bf9fb17c6672868d ("drm/panic: Add a drm panic handler")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> drivers/gpu/drm/Kconfig | 1 -
> drivers/gpu/drm/drm_panic.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index b903a2c0b5e8f95c..ce9bf2b6e9d332d4 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -108,7 +108,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 8d2eded1fd19ff6c..67f78b5a76b61e3d 100644
> --- a/drivers/gpu/drm/drm_panic.c
> +++ b/drivers/gpu/drm/drm_panic.c
> @@ -20,7 +20,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>
next prev parent reply other threads:[~2024-06-26 14:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-26 8:41 [PATCH 0/2] drm/panic: Miscellaneous fixes Geert Uytterhoeven
2024-06-26 8:41 ` [PATCH 1/2] drm/panic: Do not select DRM_KMS_HELPER Geert Uytterhoeven
2024-06-26 14:19 ` Jocelyn Falempe [this message]
2024-06-26 8:41 ` [PATCH 2/2] drm/panic: Restrict graphical logo handling to built-in Geert Uytterhoeven
2024-06-26 14:20 ` Jocelyn Falempe
2024-06-27 9:46 ` [PATCH 0/2] drm/panic: Miscellaneous fixes Jocelyn Falempe
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=f647756a-fa9b-4a97-8c33-826f7496821f@redhat.com \
--to=jfalempe@redhat.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®