]> Git Repo - linux.git/commit
drm: Add a non-locking version of drm_kms_helper_poll_enable(), v2
authorEgbert Eich <[email protected]>
Wed, 23 Sep 2015 14:13:00 +0000 (16:13 +0200)
committerJani Nikula <[email protected]>
Wed, 30 Sep 2015 13:04:08 +0000 (16:04 +0300)
commit4ad640e99e5e5514d623210bc937e665ffd8f43f
tree67c1225743fac4977baf2067376603a4cd24c2a7
parentdfc53c5e73f8b73abf920241e45eab87335ae742
drm: Add a non-locking version of drm_kms_helper_poll_enable(), v2

drm_kms_helper_poll_enable() was converted to lock the mode_config
mutex in commit 8c4ccc4ab6f64e859d4ff8d7c02c2ed2e956e07f
("drm/probe-helper: Grab mode_config.mutex in poll_init/enable").

This disregarded the cases where this function is called from a context
where this mutex is already locked.

Add a non-locking version as well.

Changes since v1:
- use function name suffix '_locked' for the function that
  is to be called from a locked context.

Signed-off-by: Egbert Eich <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/drm_probe_helper.c
include/drm/drm_crtc_helper.h
This page took 0.055427 seconds and 4 git commands to generate.