diff options
author | Laurentiu Palcu <laurentiu.palcu@nxp.com> | 2019-03-25 14:29:17 +0200 |
---|---|---|
committer | Laurentiu Palcu <laurentiu.palcu@nxp.com> | 2019-03-27 13:19:07 +0200 |
commit | cc56e4e07f623d0b831e0f8347f2f3198697ee20 (patch) | |
tree | 769abb3aa2a793b83d2c19e856fb880846ce835f /include | |
parent | 8073e87dce34548bea758c34d3b3557819c75551 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/imx-dcss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-dcss.h b/include/video/imx-dcss.h index 83a9796067f5..20b6daedd044 100644 --- a/include/video/imx-dcss.h +++ b/include/video/imx-dcss.h @@ -100,6 +100,7 @@ bool dcss_dtg_global_alpha_changed(struct dcss_soc *dcss, int ch_num, int use_global_alpha); void dcss_dtg_css_set(struct dcss_soc *dcss, u32 pix_format); void dcss_dtg_ctxld_kick_irq_enable(struct dcss_soc *dcss, bool en); +bool dcss_dtg_vblank_irq_valid(struct dcss_soc *dcss); /* SUBSAM */ void dcss_ss_sync_set(struct dcss_soc *dcss, struct videomode *vm, |