]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Queue HPD helper work in attach/detach callbacks
authorArchit Taneja <architt@codeaurora.org>
Tue, 25 Oct 2016 06:47:59 +0000 (12:17 +0530)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Nov 2016 14:48:09 +0000 (10:48 -0400)
commit87506f3314a4570dc06e836c8789590dcaabcb51
treea2a9244f5ed21c2a3732d7be14d04d069caaa767
parent37c79b17a109591760702eab1a154d05c33b0c7a
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>
drivers/gpu/drm/msm/dsi/dsi_host.c