]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP3 DSS: Fixed FIFO buffer register field sizes
authorKalle Jokiniemi <ext-kalle.jokiniemi@nokia.com>
Wed, 22 Oct 2008 06:47:06 +0000 (09:47 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Oct 2008 19:36:09 +0000 (12:36 -0700)
commit1ac64c8fa124e401daf020cabd9d0bf5b032e4ec
treeb2c27e07addb48437dd3366054035d1f2555e838
parenta811d91ab820a31f65ce83b9d335ec2011bda1cd
OMAP3 DSS: Fixed FIFO buffer register field sizes

The size status field in DISPC_[GFX | VID1 | VID2]_FIFO_SIZE_STATUS
register is 11 bits wide in OMAP3, but only 9 bits were read. Similarly,
the threshold field in DISPC_[GFX | VID1 | VID2]_FIFO_THRESHOLD register
is 12 bits wide, while only 9 bits were written in it.

This patch extends the bit field sizes used in setup_plane_fifo to
correspond to ones in OMAP3. In OMAP2 the extra bits are reserved, so no
harm should come from extending the bit fields.

Signed-off-by: Kalle Jokiniemi <ext-kalle.jokiniemi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/dispc.c