forked from Minki/linux
44fe9f90eb
Our hotplug handler will currently call the drm_kms_helper_hotplug_event
every time a hotplug interrupt is called.
However, since the device is registered after all the drivers have
finished their bind callback, we have a window between when we install
our interrupt handler and when drm_dev_register() is eventually called
where our handler can run and call drm_kms_helper_hotplug_event but the
device hasn't been registered yet, causing a null pointer dereference.
Fix this by making sure we only call drm_kms_helper_hotplug_event if our
device has been properly registered.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vc4_bo.c | ||
vc4_crtc.c | ||
vc4_debugfs.c | ||
vc4_dpi.c | ||
vc4_drv.c | ||
vc4_drv.h | ||
vc4_dsi.c | ||
vc4_fence.c | ||
vc4_gem.c | ||
vc4_hdmi_phy.c | ||
vc4_hdmi_regs.h | ||
vc4_hdmi.c | ||
vc4_hdmi.h | ||
vc4_hvs.c | ||
vc4_irq.c | ||
vc4_kms.c | ||
vc4_packet.h | ||
vc4_perfmon.c | ||
vc4_plane.c | ||
vc4_qpu_defines.h | ||
vc4_regs.h | ||
vc4_render_cl.c | ||
vc4_trace_points.c | ||
vc4_trace.h | ||
vc4_txp.c | ||
vc4_v3d.c | ||
vc4_validate_shaders.c | ||
vc4_validate.c | ||
vc4_vec.c |