OpenCloudOS-Kernel/drivers/gpu/drm/sun4i
Chen-Yu Tsai 070badfab7 drm/sun4i: call drm_vblank_init with correct number of crtcs
If we want to have vblank on both pipelines at the same time, we need
to call drm_vblank_init with num_crtcs = 2.

Instead, since the crtc init calls correctly set mode_config.num_crtc,
we can move the drm_vblank_init call to after the crtc init code is
called, which is the component bind part. Then we can just pass
mode_config.num_crtc in.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170908075016.18657-8-wens@csie.org
2017-09-09 17:24:52 +02:00
..
Kconfig drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
Makefile drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_backend.c drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_backend.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_crtc.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
sun4i_crtc.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_dotclock.c drm/sun4i: dotclock: Round to closest clock rate 2016-09-20 09:19:31 +02:00
sun4i_dotclock.h
sun4i_drv.c drm/sun4i: call drm_vblank_init with correct number of crtcs 2017-09-09 17:24:52 +02:00
sun4i_drv.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_framebuffer.c drm/sun4i: Move drm_mode_config_cleanup call to main driver 2017-03-07 22:15:14 +01:00
sun4i_framebuffer.h
sun4i_hdmi.h drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_hdmi_ddc_clk.c drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_hdmi_enc.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sun4i_hdmi_tmds_clk.c drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_layer.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
sun4i_layer.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_rgb.c drm/sun4i: make drm_connector_funcs structures const 2017-08-09 18:37:17 +02:00
sun4i_rgb.h drm/sun4i: rgb: Pass tcon pointer when initializing RGB encoder 2017-03-07 22:18:24 +01:00
sun4i_tcon.c drm/sun4i: tcon: Support backend input mux 2017-09-09 17:24:46 +02:00
sun4i_tcon.h drm/sun4i: tcon: Support backend input mux 2017-09-09 17:24:46 +02:00
sun4i_tv.c drm/sun4i: make drm_connector_funcs structures const 2017-08-09 18:37:17 +02:00
sun6i_drc.c Merge tag 'drm-misc-next-2016-11-16' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2016-11-17 08:02:46 +10:00
sun8i_layer.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
sun8i_layer.h drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sun8i_mixer.c drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sun8i_mixer.h drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sunxi_engine.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00