aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2022-06-15 00:42:53 -0500
committerMaxime Ripard <[email protected]>2022-06-16 09:49:28 +0200
commit1342b5b23da9559a1578978eaff7f797d8a87d91 (patch)
tree9becfd6ea20f39616eff19281fd735a9c4c93dc7 /tools/perf/scripts/python/export-to-postgresql.py
parent920169041baa0a7497ed702aa97d6a2d6285efd3 (diff)
drm/sun4i: Fix crash during suspend after component bind failure
If the component driver fails to bind, or is unbound, the driver data for the top-level platform device points to a freed drm_device. If the system is then suspended, the driver passes this dangling pointer to drm_mode_config_helper_suspend(), which crashes. Fix this by only setting the driver data while the platform driver holds a reference to the drm_device. Fixes: 624b4b48d9d8 ("drm: sun4i: Add support for suspending the display driver") Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions