]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mcde: Provide vblank handling unconditionally
authorStephan Gerhold <stephan@gerhold.net>
Wed, 6 Nov 2019 16:58:29 +0000 (17:58 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Nov 2019 21:18:21 +0000 (22:18 +0100)
commita508b0306de8f274a6bb52505e3f58466f0924fd
tree6068a3bc6d9f3e6971347948a0bcfcd25bd6e953
parent89e08ded306690d5a556bea27e80ce4f2a99016e
drm/mcde: Provide vblank handling unconditionally

At the moment, vblank handling is only enabled together with
TE synchronization. However, the vblank IRQ is also working with
on displays without TE synchronization (e.g. DSI video mode panels).
It seems like the vblank IRQ is actually generated by the
MCDE hardware for the channel.

Therefore, the vblank handling should be working correctly in
all the cases and we can enable it unconditionally.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106165835.2863-2-stephan@gerhold.net
drivers/gpu/drm/mcde/mcde_display.c
drivers/gpu/drm/mcde/mcde_drv.c