From: Heiko Stuebner <heiko@sntech.de>
To: gregkh@linuxfoundation.org, heiko@sntech.de
Cc: rafael@kernel.org, dakr@kernel.org, hjc@rock-chips.com,
andy.yan@rock-chips.com, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, quentin.schulz@cherry.de
Subject: [PATCH 0/2] Fix the shutdown callback of a drm component device
Date: Fri, 21 Feb 2025 00:41:39 +0100 [thread overview]
Message-ID: <20250220234141.2788785-1-heiko@sntech.de> (raw)
Probe deferral can cause the platform-data we access to be freed already
causing ugly splats on system shutdown.
Fix this via a small component-helper and adapting the rockchip-drm
shutdown handler.
Heiko Stuebner (2):
drivers: base: component: add function to query the bound status
drm/rockchip: Fix shutdown when no drm-device is set up
drivers/base/component.c | 14 ++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 6 ++++--
include/linux/component.h | 4 +++-
3 files changed, 21 insertions(+), 3 deletions(-)
--
2.47.2
next reply other threads:[~2025-02-20 23:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 23:41 Heiko Stuebner [this message]
2025-02-20 23:41 ` [PATCH 1/2] drivers: base: component: add function to query the bound status Heiko Stuebner
2025-02-21 6:14 ` Greg KH
2025-02-27 8:44 ` Heiko Stübner
2025-02-27 11:20 ` Greg KH
2025-02-20 23:41 ` [PATCH 2/2] drm/rockchip: Fix shutdown when no drm-device is set up Heiko Stuebner
2025-02-26 20:28 ` Nicolas Frattaroli
2025-02-27 14:02 ` [PATCH 0/2] Fix the shutdown callback of a drm component device Heiko Stuebner
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=20250220234141.2788785-1-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=andy.yan@rock-chips.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=hjc@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=quentin.schulz@cherry.de \
--cc=rafael@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