diff options
author | Samuel Holland <samuel@sholland.org> | 2020-02-17 09:09:06 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-02-19 18:56:57 +0300 |
commit | 80579bf36c11a01c618d43ec6eb8056ef974c9cb (patch) | |
tree | 4b6c8229d0153acc3955d27553f6803b81d37fe9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91ea83306bfa1fb0784ca09e55886a58345e0323 (diff) | |
download | linux-80579bf36c11a01c618d43ec6eb8056ef974c9cb.tar.xz |
drm/sun4i: dsi: Avoid hotplug race with DRM driver bind
We need to make sure that the DRM driver is fully registered before
allowing the panel to be attached. Otherwise, we may trigger a hotplug
event before sun4i_framebuffer_init() sets up drm->mode_config.funcs,
causing a NULL pointer dereference.
Fixes: 1a2703bd7356 ("drm/sun4i: dsi: Allow binding the host without a panel")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200217060906.15152-1-samuel@sholland.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions