linux-sg2042/include/drm
Daniel Vetter 3846fd9b86 drm/probe-helpers: Drop locking from poll_enable
It was only needed to protect the connector_list walking, see

commit 8c4ccc4ab6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jul 9 23:44:26 2015 +0200

    drm/probe-helper: Grab mode_config.mutex in poll_init/enable

Unfortunately the commit message of that patch fails to mention that
the new locking check was for the connector_list.

But that requirement disappeared in

commit c36a3254f7
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Dec 15 16:58:43 2016 +0100

    drm: Convert all helpers to drm_connector_list_iter

and so we can drop this again.

This fixes a locking inversion on nouveau, where the rpm code needs to
re-enable. But in other places the rpm_get() calls are nested within
the big modeset locks.

While at it, also improve the kerneldoc for these two functions a
notch.

v2: Update the kerneldoc even more to explain that these functions
can't be called concurrently, or bad things happen (Chris).

Cc: Dave Airlie <airlied@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Lyude <lyude@redhat.com>
Reviewed-by: Lyude <lyude@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170111090117.5134-1-daniel.vetter@ffwll.ch
2017-01-12 20:31:17 +01:00
..
bridge
i2c
ttm
ati_pcigart.h
drmP.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
drm_agpsupport.h
drm_atomic.h drm/atomic: Constify drm_atomic_crtc_needs_modeset() 2016-11-28 17:48:58 +02:00
drm_atomic_helper.h
drm_auth.h
drm_blend.h
drm_bridge.h
drm_cache.h
drm_color_mgmt.h
drm_connector.h This pull request brings in VEC (TV-out) support for vc4, along with a 2016-12-13 12:05:12 +10:00
drm_crtc.h drm/fence: add fence timeline to drm_crtc 2016-11-16 10:42:48 +01:00
drm_crtc_helper.h drm/probe-helpers: Drop locking from poll_enable 2017-01-12 20:31:17 +01:00
drm_debugfs_crc.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h
drm_dp_mst_helper.h
drm_drv.h Merge tag 'drm-misc-next-2016-11-29' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2016-11-30 14:28:20 +10:00
drm_edid.h drm/edid: Remove drm_select_eld 2016-11-09 13:55:13 +01:00
drm_encoder.h
drm_encoder_slave.h
drm_fb_cma_helper.h drm/fb_cma_helper: Add missing forward declaration 2016-11-15 12:24:08 +01:00
drm_fb_helper.h drm/fb-helper: add fb_debug_* to DRM_FB_HELPER_DEFAULT_OPS 2016-11-14 07:47:46 +01:00
drm_fixed.h
drm_flip_work.h
drm_fourcc.h drm: move allocation out of drm_get_format_name() 2016-11-12 14:19:38 +01:00
drm_framebuffer.h drm: Introduce drm_framebuffer_assign() 2016-11-29 10:22:08 +01:00
drm_gem.h
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_irq.h drm: drm_irq.h header cleanup 2016-11-15 23:33:48 +01:00
drm_legacy.h
drm_mem_util.h
drm_mipi_dsi.h
drm_mm.h drm: Fix conflicting macro parameter in drm_mm_for_each_node_in_range() 2016-11-28 08:07:58 +01:00
drm_mode_config.h drm/fence: add out-fences support 2016-11-16 14:36:27 +01:00
drm_mode_object.h
drm_modes.h
drm_modeset_helper.h
drm_modeset_helper_vtables.h drm/atomic: Unconfuse the old_state mess in commmit_tail 2016-11-22 11:11:57 +01:00
drm_modeset_lock.h drm: don't let crtc_ww_class leak out 2016-11-15 08:33:35 +01:00
drm_of.h
drm_os_linux.h
drm_panel.h
drm_pciids.h
drm_plane.h drm: fix possible_crtc's type 2016-12-08 13:42:57 +02:00
drm_plane_helper.h
drm_print.h drm/print: Move kerneldoc next to definition 2016-11-15 12:55:24 +01:00
drm_property.h
drm_rect.h
drm_simple_kms_helper.h
drm_sysfs.h
drm_vma_manager.h
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h