Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
n9: convert N9 to "portrait device"
Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com>
  • Loading branch information
filippz committed Oct 25, 2014
1 parent dcdf3b8 commit c81b181
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions arch/arm/mach-omap2/board-rm680.c
Expand Up @@ -1497,7 +1497,7 @@ static struct nokia_dsi_panel_data rm696_panel_data = {
.offset = 0,
.height = 854,
},
.rotate = 1,
.rotate = 0,
};

static struct omap_dss_device rm696_dsi_display_data = {
Expand Down Expand Up @@ -1597,10 +1597,10 @@ static struct omapfb_platform_data rm696_omapfb_data = {
.region_cnt = 1,
.region[0] = {
.format_used = true,
.format = OMAPFB_COLOR_RGB565,
.size = PAGE_ALIGN(856 * 512 * 2 * 3),
.xres_virtual = 856,
.yres_virtual = 512 * 3,
.format = OMAPFB_COLOR_ARGB32,
.size = PAGE_ALIGN(856 * 480 * 4 * 3),
.xres_virtual = 480,
.yres_virtual = 856 * 3,
}
}
};
Expand Down Expand Up @@ -2460,8 +2460,8 @@ static void __init rm680_init(void)

static void __init rx680_reserve(void)
{
omap_vram_set_sdram_vram(PAGE_ALIGN(856 * 512 * 2 * 3) +
PAGE_ALIGN(1280 * 720 * 2 * 6), 0);
omap_vram_set_sdram_vram(PAGE_ALIGN(856 * 480 * 4 * 3) +
PAGE_ALIGN(1280 * 720 * 4 * 6), 0);
omap_reserve();
}

Expand Down

0 comments on commit c81b181

Please sign in to comment.