aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-11-14 04:38:25 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-30 09:14:15 -0500
commit29fceeebb6ad55dd0e27f6f7b8f10aa039315cde (patch)
treeca9e3d9b6ab73562b014476b68d2f81c79790ddc /drivers/video/omap2/dss/dispc.c
parent7a53df2c08119c1a7008d8480205fb3e6859c721 (diff)
OMAPDSS: DISPC: Add MFLAG defines
OMAP5 has MFLAG feature in DISPC. Add the register definition and dump it. The register is not used yet, though. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r--drivers/video/omap2/dss/dispc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index d8f4aeeaeec4..533539e51cf5 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -3213,6 +3213,8 @@ static void dispc_dump_regs(struct seq_file *s)
3213 DUMPREG(DISPC_CONTROL3); 3213 DUMPREG(DISPC_CONTROL3);
3214 DUMPREG(DISPC_CONFIG3); 3214 DUMPREG(DISPC_CONFIG3);
3215 } 3215 }
3216 if (dss_has_feature(FEAT_MFLAG))
3217 DUMPREG(DISPC_GLOBAL_MFLAG_ATTRIBUTE);
3216 3218
3217#undef DUMPREG 3219#undef DUMPREG
3218 3220
@@ -3287,6 +3289,8 @@ static void dispc_dump_regs(struct seq_file *s)
3287 DUMPREG(i, DISPC_OVL_ATTRIBUTES2); 3289 DUMPREG(i, DISPC_OVL_ATTRIBUTES2);
3288 if (dss_has_feature(FEAT_PRELOAD)) 3290 if (dss_has_feature(FEAT_PRELOAD))
3289 DUMPREG(i, DISPC_OVL_PRELOAD); 3291 DUMPREG(i, DISPC_OVL_PRELOAD);
3292 if (dss_has_feature(FEAT_MFLAG))
3293 DUMPREG(i, DISPC_OVL_MFLAG_THRESHOLD);
3290 } 3294 }
3291 3295
3292#undef DISPC_REG 3296#undef DISPC_REG