[PATCH 0/2] Fix the shutdown callback of a drm component device

Heiko Stuebner posted 2 patches 9 months, 4 weeks ago
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(-)
[PATCH 0/2] Fix the shutdown callback of a drm component device
Posted by Heiko Stuebner 9 months, 4 weeks ago
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
Re: [PATCH 0/2] Fix the shutdown callback of a drm component device
Posted by Heiko Stuebner 9 months, 3 weeks ago
On Fri, 21 Feb 2025 00:41:39 +0100, Heiko Stuebner wrote:
> 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
> 
> [...]

Applied, thanks!

[1/2] drivers: base: component: add function to query the bound status
      commit: a6ba2dad0aa4f623ab0def8b6e6888ac00639055
[2/2] drm/rockchip: Fix shutdown when no drm-device is set up
      commit: 4444e4d789d64f053435713e5984f0ef31a7633b

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>