summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>2018-09-14 08:33:01 +0300
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:04 +0800
commit6038fc9d37645c45046ed6787a197fa7f5b2f6d6 (patch)
tree62db70b460b1a7fd38a524c08167b9bccd685bd1 /include/video
parent359b621212ba13b4745b534706b170207c5cbf5c (diff)
MLK-18848-3: drm: imx: dcss: split vblank irq enable routine
Currently, when enabling/disabling vblank interrupt, we also enable/disable the CTXLD kick interrupt. Most of the time this is fine, because when vblank gets disabled user-space does not submit any buffers and CTXLD kick interrupt is not needed. There is one case when we actually need to be able to have the CTXLD kick interrupt enabled: when disabling CRTC. Vblank interrupt, in this case, is disabled before the crtc_atomic_disable routine is called. However, we still need CTXLD to push the changes to SUBSAM and DTG. This patch will create a routine just for enabling/disabling CTXLD kick interrupt and move the code from vblank routine to the new one. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/imx-dcss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-dcss.h b/include/video/imx-dcss.h
index 232f125cd022..ef2f0a739101 100644
--- a/include/video/imx-dcss.h
+++ b/include/video/imx-dcss.h
@@ -97,6 +97,7 @@ bool dcss_dtg_global_alpha_changed(struct dcss_soc *dcss, int ch_num,
u32 pix_format, int alpha,
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);
/* SUBSAM */
void dcss_ss_sync_set(struct dcss_soc *dcss, struct videomode *vm,