summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2025-02-21 00:41:41 +0100
committerHeiko Stuebner <heiko@sntech.de>2025-02-27 14:52:38 +0100
commit4444e4d789d64f053435713e5984f0ef31a7633b (patch)
treef2a436778f9a9b0cd9fa7e6f49c20bddb7d1d837 /tools/perf/scripts/python/export-to-postgresql.py
parenta6ba2dad0aa4f623ab0def8b6e6888ac00639055 (diff)
drm/rockchip: Fix shutdown when no drm-device is set up
When the drm-driver probes, it mainly creates the component device, where all the sub-drivers (vops, hdmi, etc) hook into. This will cause the shutdown handler to get called on shutdown, even though the drm-device might not have been set up, or the component bind might have failed. So use the new component helper to check whether the drm-device is up and only then call the drm-atomic helper to release all the drm magic. This prevents failures when the drm-device is never set, or has been freed up already for example by a probe-defer during the component bind. Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Tested-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20250220234141.2788785-3-heiko@sntech.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions