drm/vc4: Enable/Disable vblanks properly in crtc en/disable.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Tue, 19 Jul 2016 18:59:01 +0000 (20:59 +0200)
committerEric Anholt <eric@anholt.net>
Sat, 20 Aug 2016 02:05:59 +0000 (19:05 -0700)
commite941f05d3c1155b5cee65e146324219c6a72be27
treea444e7c871d6a15eb2c7241c91899e0ffcde071b
parente538092cb15cf2978cb661af3382d71601bed539
drm/vc4: Enable/Disable vblanks properly in crtc en/disable.

Add missing drm_crtc_vblank_on/off() calls so vblank irq
handling/updating/timestamping never runs with a crtc shut down
or during its shutdown/startup, as that causes large jumps in
vblank count and trouble for compositors.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_crtc.c