MLK-18848-1: drm: imx: dcss: do not turn off DTG LINE0/1 interrupts
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 31 Aug 2018 14:00:01 +0000 (17:00 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit8a883e64b44b15f167599b410eb21c87620c8d3a
treed266e1e021b3004e3332d3a969b03580a27c5f2f
parent6d73abd5029ffd0b422fb30dd0d3920bf5418864
MLK-18848-1: drm: imx: dcss: do not turn off DTG LINE0/1 interrupts

DTG registers are double bufferred. Hence, enabling LINE0/1 interrupts
in DTG in frame 0 will actually activate them in frame 1. Hence, the
LINE0/1 interrupts (vblank and ctxld kick) will be missed in frame 0.

This patch will permanently activate the LINE0/1 interrupts in DTG and
only mask/unmask them at irq_steer controller level (disable_irq/enable_irq).

While at it, do the same change for DPR completion interrupts. Since, these are
only used for tracing purposes, the change is not supposed to affect
driver functionality in any way.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-dpr.c
drivers/gpu/imx/dcss/dcss-dtg.c