Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-07-10 03:11:17 +0200
committerAlexander Graf <agraf@suse.de>2012-07-10 03:11:17 +0200
commit0c6519ca6fd61e21b3ecc729236aaf5706feed21 (patch)
treec14cc6e516342802803771931e689cc34df6e3cd
parent076e2222ae7794216aeddc04665a78ca70b4defe (diff)
Refresh patches.arch/arm-omap-drm-fix-global-buffer.patch: Fix OMAP3
-rw-r--r--drivers/video/omap2/dss/dispc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index d5422c2bc8c3..fcaaae910f46 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -1939,7 +1939,8 @@ 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);
+ if (cpu_is_omap44xx)
+ dispc_write_reg(DISPC_GLOBAL_BUFFER, 0x006D2240);
REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), enable ? 1 : 0, 0, 0);