summaryrefslogtreecommitdiff
path: root/drivers/gpu/imx/dcss
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>2018-03-01 10:36:51 +0200
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit03761d0bd724a2671fa7c5544732c03df0cac0a3 (patch)
treeba6bb1ab188e48cb0bea6c18da0c62bf7ff2e364 /drivers/gpu/imx/dcss
parent7bb08526deb69e550174dae16da30116f1dd3869 (diff)
MLK-17626: drm: imx: dcss: fix "ctxld error" messages
The problem arised because of a combination of 2 commits: Commit 1: "2a70f32 - MLK-17232-2: drm: imx: dcss: ignore SB_PEND_DISP_ACTIVE interrupt" disabled the SB_PEND_DISP_ACTIVE interrupt because of a problem in SOC. However, it did not remove the flag from CTXLD_IRQ_ERROR macro. Commit 2: "f0e3911 - MLK-17459-1: drm: imx: dcss: change ctxld irq handling" moved the bottom half interrupt handling to top half. By doing that, the top half did not exit immediately if IRQ_COMPLETION condition was met and continued evaluating if any interrupts in CTXLD_IRQ_ERROR flags were triggered. This patch removes SB_PEND_DISP_ACTIVE interrupt flag from CTXLD_IRQ_ERROR macro. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Diffstat (limited to 'drivers/gpu/imx/dcss')
-rw-r--r--drivers/gpu/imx/dcss/dcss-ctxld.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/imx/dcss/dcss-ctxld.c b/drivers/gpu/imx/dcss/dcss-ctxld.c
index 9ff141644e5f..c6c4eb3a1014 100644
--- a/drivers/gpu/imx/dcss/dcss-ctxld.c
+++ b/drivers/gpu/imx/dcss/dcss-ctxld.c
@@ -56,8 +56,7 @@
#define CTXLD_IRQ_NAME "ctx_ld" /* irq steer irq name */
#define CTXLD_IRQ_COMPLETION (DB_COMP | SB_HP_COMP | SB_LP_COMP)
-#define CTXLD_IRQ_ERROR (RD_ERR | DB_PEND_SB_REC | \
- SB_PEND_DISP_ACTIVE | AHB_ERR)
+#define CTXLD_IRQ_ERROR (RD_ERR | DB_PEND_SB_REC | AHB_ERR)
/* The following sizes are in entries, 8 bytes each */
#define CTXLD_DB_CTX_ENTRIES 1024 /* max 65536 */