]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit8d23ea403044efe97553dd64228b172c8ffca047
treea2a9244f5ed21c2a3732d7be14d04d069caaa767
parentb0a6af8b34c9ad20894aa46f85f4bf59d444f286
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