Otherwise we cannot move most of plat/io.h to be a local
iomap.h for mach-omap2.
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/display.c | 3 +++
drivers/video/omap2/dss/dispc.c | 5 -----
2 files changed, 3 insertions(+), 5 deletions(-)
@@ -3272,11 +3272,6 @@ static void _omap_dispc_initial_config(void)if(dss_has_feature(FEAT_FUNCGATED))REG_FLD_MOD(DISPC_CONFIG,1,9,9);-/* L3 firewall setting: enable access to OCM RAM */-/* XXX this should be somewhere in plat-omap */-if(cpu_is_omap24xx())-__raw_writel(0x402000b0,OMAP2_L3_IO_ADDRESS(0x680050a0));-_dispc_setup_color_conv_coef();dispc_set_loadmode(OMAP_DSS_LOAD_FRAME_ONLY);
From: Tomi Valkeinen <hidden> Date: 2012-02-22 08:09:51
Hi,
On Tue, 2012-02-21 at 15:40 -0800, Tony Lindgren wrote:
quoted hunk
Otherwise we cannot move most of plat/io.h to be a local
iomap.h for mach-omap2.
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/display.c | 3 +++
drivers/video/omap2/dss/dispc.c | 5 -----
2 files changed, 3 insertions(+), 5 deletions(-)
@@ -3272,11 +3272,6 @@ static void _omap_dispc_initial_config(void)if(dss_has_feature(FEAT_FUNCGATED))REG_FLD_MOD(DISPC_CONFIG,1,9,9);-/* L3 firewall setting: enable access to OCM RAM */-/* XXX this should be somewhere in plat-omap */-if(cpu_is_omap24xx())-__raw_writel(0x402000b0,OMAP2_L3_IO_ADDRESS(0x680050a0));-_dispc_setup_color_conv_coef();dispc_set_loadmode(OMAP_DSS_LOAD_FRAME_ONLY);
I think the whole raw_writel line can be removed. It's been copied from
the old omapfb, and my understanding is that it's about using SRAM for
framebuffer. Using SRAM for fb is no longer supported, and I have a
patch set that removes the remaining SRAM code from omapfb/omapdss.
Tomi
Hi,
On Tue, 2012-02-21 at 15:40 -0800, Tony Lindgren wrote:
quoted
Otherwise we cannot move most of plat/io.h to be a local
iomap.h for mach-omap2.
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/display.c | 3 +++
drivers/video/omap2/dss/dispc.c | 5 -----
2 files changed, 3 insertions(+), 5 deletions(-)
@@ -3272,11 +3272,6 @@ static void _omap_dispc_initial_config(void)if(dss_has_feature(FEAT_FUNCGATED))REG_FLD_MOD(DISPC_CONFIG,1,9,9);-/* L3 firewall setting: enable access to OCM RAM */-/* XXX this should be somewhere in plat-omap */-if(cpu_is_omap24xx())-__raw_writel(0x402000b0,OMAP2_L3_IO_ADDRESS(0x680050a0));-_dispc_setup_color_conv_coef();dispc_set_loadmode(OMAP_DSS_LOAD_FRAME_ONLY);
I think the whole raw_writel line can be removed. It's been copied from
the old omapfb, and my understanding is that it's about using SRAM for
framebuffer. Using SRAM for fb is no longer supported, and I have a
patch set that removes the remaining SRAM code from omapfb/omapdss.
OK, I'll remove those from drivers/video/omap2/dss/dispc.c so this
series keeps building.
Tony
Hi,
On Tue, 2012-02-21 at 15:40 -0800, Tony Lindgren wrote:
quoted
Otherwise we cannot move most of plat/io.h to be a local
iomap.h for mach-omap2.
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/display.c | 3 +++
drivers/video/omap2/dss/dispc.c | 5 -----
2 files changed, 3 insertions(+), 5 deletions(-)
@@ -3272,11 +3272,6 @@ static void _omap_dispc_initial_config(void)if(dss_has_feature(FEAT_FUNCGATED))REG_FLD_MOD(DISPC_CONFIG,1,9,9);-/* L3 firewall setting: enable access to OCM RAM */-/* XXX this should be somewhere in plat-omap */-if(cpu_is_omap24xx())-__raw_writel(0x402000b0,OMAP2_L3_IO_ADDRESS(0x680050a0));-_dispc_setup_color_conv_coef();dispc_set_loadmode(OMAP_DSS_LOAD_FRAME_ONLY);
I think the whole raw_writel line can be removed. It's been copied from
the old omapfb, and my understanding is that it's about using SRAM for
framebuffer. Using SRAM for fb is no longer supported, and I have a
patch set that removes the remaining SRAM code from omapfb/omapdss.
OK, I'll remove those from drivers/video/omap2/dss/dispc.c so this
series keeps building.
Here's this one updated.
Tony
From: Tony Lindgren <tony@atomide.com>
Date: Mon, 20 Feb 2012 12:55:07 -0800
Subject: [PATCH] ARM: OMAP2+: Drop DISPC L3 firewall code
This is only needed when using SRAM for framebuffer,
and the support for SRAM framebuffer is about to get
removed.
Otherwise we cannot move most of plat/io.h to be a local
iomap.h for mach-omap2.
Cc: Tomi Valkeinen <redacted>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
@@ -3272,11 +3272,6 @@ static void _omap_dispc_initial_config(void)if(dss_has_feature(FEAT_FUNCGATED))REG_FLD_MOD(DISPC_CONFIG,1,9,9);-/* L3 firewall setting: enable access to OCM RAM */-/* XXX this should be somewhere in plat-omap */-if(cpu_is_omap24xx())-__raw_writel(0x402000b0,OMAP2_L3_IO_ADDRESS(0x680050a0));-_dispc_setup_color_conv_coef();dispc_set_loadmode(OMAP_DSS_LOAD_FRAME_ONLY);