Home
last modified time | relevance | path

Searched hist:"8 d23ea40" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c8d23ea40 Tue Oct 25 01:47:59 CDT 2016 Archit Taneja <architt@codeaurora.org> drm/msm/dsi: Queue HPD helper work in attach/detach callbacks

The msm/dsi host drivers calls drm_helper_hpd_irq_event in the
mipi_dsi_host attach/detatch callbacks.

mipi_dsi_attach()/mipi_dsi_detach() from a panel/bridge
driver could be called from a context where the drm_device's
mode_config.mutex is already held, resulting in a deadlock.
Queue it as work instead.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
8d23ea40 Tue Oct 25 01:47:59 CDT 2016 Archit Taneja <architt@codeaurora.org> drm/msm/dsi: Queue HPD helper work in attach/detach callbacks

The msm/dsi host drivers calls drm_helper_hpd_irq_event in the
mipi_dsi_host attach/detatch callbacks.

mipi_dsi_attach()/mipi_dsi_detach() from a panel/bridge
driver could be called from a context where the drm_device's
mode_config.mutex is already held, resulting in a deadlock.
Queue it as work instead.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>