diff options
author | Chen-Yu Tsai <[email protected]> | 2017-09-08 15:50:15 +0800 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2017-09-09 17:24:52 +0200 |
commit | 070badfab76711fc3a603237e3412f68b1bf5778 (patch) | |
tree | 33fe8ca128d69b06106d435ce7cea68928887ba4 /drivers/gpu/drm/tilcdc | |
parent | 27e18de78e7b9c1679778b40dfd991e6d1ba6595 (diff) |
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 <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
0 files changed, 0 insertions, 0 deletions