video: tegra: set up high priority on all overlays
authorErik Gilling <konkers@android.com>
Wed, 1 Dec 2010 21:31:36 +0000 (13:31 -0800)
committerErik Gilling <konkers@android.com>
Wed, 1 Dec 2010 21:33:26 +0000 (13:33 -0800)
this drastically reduces display controller underruns

Change-Id: I7d57c53cf61db4aac5d1baeb0e31b3a5d6fe9e67
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/video/tegra/dc/dc.c

index 7ca78cd7c247f226dcb200db794b89994c52c3ec..2427f6098ae276e55ba705a42b8f2b7ea1c42986 100644 (file)
@@ -928,8 +928,8 @@ static void tegra_dc_init(struct tegra_dc *dc)
        tegra_dc_writel(dc, 0x00000100 | vblank_syncpt, DC_CMD_CONT_SYNCPT_VSYNC);
        tegra_dc_writel(dc, 0x00004700, DC_CMD_INT_TYPE);
        tegra_dc_writel(dc, 0x0001c700, DC_CMD_INT_POLARITY);
-       tegra_dc_writel(dc, 0x00000020, DC_DISP_MEM_HIGH_PRIORITY);
-       tegra_dc_writel(dc, 0x00000001, DC_DISP_MEM_HIGH_PRIORITY_TIMER);
+       tegra_dc_writel(dc, 0x00202020, DC_DISP_MEM_HIGH_PRIORITY);
+       tegra_dc_writel(dc, 0x00010101, DC_DISP_MEM_HIGH_PRIORITY_TIMER);
 
        tegra_dc_writel(dc, 0x00000002, DC_CMD_INT_MASK);
        tegra_dc_writel(dc, 0x00000000, DC_CMD_INT_ENABLE);