MLK-20546-2: drm/imx/dcss: check status bit when handling interrupts
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Mon, 25 Mar 2019 12:29:17 +0000 (14:29 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit8f5c5dab65207a5b1cfbc4666c89114c4719acb8
tree6a5c9749d483c9dee0a03ffe8c75ee70517ce191
parent2125061f190dd6d1042c294b25111e7983f21314
MLK-20546-2: drm/imx/dcss: check status bit when handling interrupts

Double check that the DTG IRQ STATUS register bit is set when handling
the vblank and CTXLD kick interrupts to make sure we avoid spurious
interrupts and kick the CTXLD in a bad moment.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-crtc.c
drivers/gpu/imx/dcss/dcss-dtg.c
include/video/imx-dcss.h