linux_dsm_epyc7002/drivers/gpu/drm/exynos
Thierry Reding 10a2310265 drm: Introduce drm_fb_helper_prepare()
To implement hotplug detection in a race-free manner, drivers must call
drm_kms_helper_poll_init() before hotplug events can be triggered. Such
events can be triggered right after any of the encoders or connectors
are initialized. At the same time, if the drm_fb_helper_hotplug_event()
helper is used by a driver, then the poll helper requires some parts of
the FB helper to be initialized to prevent a crash.

At the same time, drm_fb_helper_init() requires information that is not
necessarily available at such an early stage (number of CRTCs and
connectors), so it cannot be used yet.

Add a new helper, drm_fb_helper_prepare(), that initializes the bare
minimum needed to allow drm_kms_helper_poll_init() to execute and any
subsequent hotplug events to be processed properly.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-07-08 11:31:28 +10:00
..
exynos_dp_core.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
exynos_dp_core.h
exynos_dp_reg.c
exynos_dp_reg.h
exynos_drm_buf.c
exynos_drm_buf.h
exynos_drm_connector.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
exynos_drm_connector.h
exynos_drm_core.c
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dmabuf.c
exynos_drm_dmabuf.h
exynos_drm_dpi.c Merge tag 'topic/core-stuff-2014-06-30' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-07-08 11:04:35 +10:00
exynos_drm_drv.c Merge tag 'topic/core-stuff-2014-06-30' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-07-08 11:04:35 +10:00
exynos_drm_drv.h Merge tag 'topic/core-stuff-2014-06-30' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-07-08 11:04:35 +10:00
exynos_drm_dsi.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
exynos_drm_encoder.c
exynos_drm_encoder.h
exynos_drm_fb.c
exynos_drm_fb.h
exynos_drm_fbdev.c drm: Introduce drm_fb_helper_prepare() 2014-07-08 11:31:28 +10:00
exynos_drm_fbdev.h
exynos_drm_fimc.c
exynos_drm_fimc.h
exynos_drm_fimd.c drm/exynos: disable unused windows on apply 2014-06-24 11:11:54 +09:00
exynos_drm_g2d.c
exynos_drm_g2d.h
exynos_drm_gem.c
exynos_drm_gem.h
exynos_drm_gsc.c
exynos_drm_gsc.h
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c
exynos_drm_ipp.h
exynos_drm_plane.c
exynos_drm_plane.h
exynos_drm_rotator.c
exynos_drm_rotator.h
exynos_drm_vidi.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
exynos_drm_vidi.h
exynos_hdmi.c Merge tag 'topic/core-stuff-2014-06-30' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-07-08 11:04:35 +10:00
exynos_mixer.c drm/exynos: enable vsync interrupt while waiting for vblank 2014-06-24 23:44:50 +09:00
exynos_mixer.h
Kconfig
Makefile
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h drm/exynos: stop mixer before gating clocks during poweroff 2014-06-24 11:27:29 +09:00
regs-rotator.h
regs-vp.h