DISPC register values to eliminate the omapfb irq errors on 2430SDP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI

By changing the gfx fifo threshold and burst size values
i could able to completely eliminate the omapfb irq
error messages on 2430 SDP board.

I am pasting the changes here for anybody
who wants to try it out.

##########################################

diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
index 6aff476..4cf83b6 100644
--- a/drivers/video/omap/dispc.c
+++ b/drivers/video/omap/dispc.c
@@ -290,8 +290,8 @@ static void setup_plane_fifo(int plane, int ext_mode)
 		low = l * 3 / 4;
 		high = l;
 	} else {
-		low = l / 4;
-		high = l * 3 / 4;
+		low = l - 64;
+		high = l - 1;
 	}
 	MOD_REG_FLD(ftrs_reg[plane], FLD_MASK(16, 9) | FLD_MASK(0, 9),
 			(high << 16) | low);
@@ -409,7 +409,7 @@ static inline int _setup_plane(int plane, int channel_out,
 	l |= cconv_en << 9;

 	l &= ~(0x03 << burst_shift);
-	l |= DISPC_BURST_8x32 << burst_shift;
+	l |= DISPC_BURST_16x32 << burst_shift;

 	l &= ~(1 << chout_shift);
 	l |= chout_val << chout_shift;

###############################

Regards,
Arun C
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux