diff options
author | Egbert Eich <eich@suse.de> | 2015-09-23 16:13:00 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-09-30 16:04:08 +0300 |
commit | 4ad640e99e5e5514d623210bc937e665ffd8f43f (patch) | |
tree | 67c1225743fac4977baf2067376603a4cd24c2a7 /lib | |
parent | dfc53c5e73f8b73abf920241e45eab87335ae742 (diff) | |
download | linux-4ad640e99e5e5514d623210bc937e665ffd8f43f.tar.bz2 |
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 <eich@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions