drm/sun4i: tcon: Add TRI finish interrupt for vblank
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 4 Apr 2018 09:57:09 +0000 (11:57 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Apr 2018 11:19:06 +0000 (13:19 +0200)
commita493ceae72ab21e6451fedb1a321862e51dc6cb7
treefea67134257eec305b298a8eb7cb0778bf5c4fe2
parent1d0397d6029d16671624ae74d388592f47073be4
drm/sun4i: tcon: Add TRI finish interrupt for vblank

The "CPU" (or Intel 8080) interface uses a different interrupt called
TRI_FINISH (most likely TRI being for trigger) to notify the end of frames,
and hence the VBLANK period.

And that interrupt to the possible VBLANK interrupts source.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/de6d6ad8959da77ea3a974a31a4c0c8391178748.1522835818.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/sun4i/sun4i_tcon.c
drivers/gpu/drm/sun4i/sun4i_tcon.h