summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Boudet <x-boudet@ti.com>2012-07-30 12:53:53 +0800
committerAndy Green <andy.green@linaro.org>2012-07-30 12:53:53 +0800
commit180b5c412a6e2baad34bb8776f7c423b74582ad9 (patch)
tree6d1031bab013eced20edd8e8b3cd8c84713cc413
parent9ea3717dcf39fd4c7473287520834ffb50da8ab4 (diff)
Revert "dss: GLOBAL_BUFFER hack"
This reverts commit 7d8fd73d742489f63826f4f3166e837ad3bf1f76.
-rw-r--r--drivers/video/omap2/dss/dispc.c3
-rw-r--r--drivers/video/omap2/dss/dispc.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 0e3ad448e1e5..7827756b5437 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -2254,9 +2254,6 @@ int dispc_ovl_enable(enum omap_plane plane, bool enable)
{
DSSDBG("dispc_enable_plane %d, %d\n", plane, enable);
- // XXX quick hack.. give WB buffers to gfx:
- dispc_write_reg(DISPC_GLOBAL_BUFFER, 0x006D2240);
-
REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), enable ? 1 : 0, 0, 0);
return 0;
diff --git a/drivers/video/omap2/dss/dispc.h b/drivers/video/omap2/dss/dispc.h
index 318b76318ff4..f278080e1063 100644
--- a/drivers/video/omap2/dss/dispc.h
+++ b/drivers/video/omap2/dss/dispc.h
@@ -35,7 +35,6 @@
#define DISPC_GLOBAL_ALPHA 0x0074
#define DISPC_CONTROL2 0x0238
#define DISPC_CONFIG2 0x0620
-#define DISPC_GLOBAL_BUFFER 0x0800
#define DISPC_DIVISOR 0x0804
/* DISPC overlay registers */