summaryrefslogtreecommitdiff
path: root/recipes/ti/bitblit
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-08-26 16:10:27 +0200
committerKoen Kooi <koen@openembedded.org>2009-08-26 16:10:27 +0200
commitb6235b4c2139c14093c76088dfc0eeb34c86d913 (patch)
tree650c4ddb040bf1236063572dfb105eed9c0c169a /recipes/ti/bitblit
parent59ddf7ef9b172d9db65af876b211f853746d470b (diff)
ti-codec: add missing.inc
bitblit: add svn recipe
Diffstat (limited to 'recipes/ti/bitblit')
-rw-r--r--recipes/ti/bitblit/recent-linux.diff41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/ti/bitblit/recent-linux.diff b/recipes/ti/bitblit/recent-linux.diff
new file mode 100644
index 0000000000..753438aa10
--- /dev/null
+++ b/recipes/ti/bitblit/recent-linux.diff
@@ -0,0 +1,41 @@
+Index: trunk/bitblit/packages/ti/sdo/apps/bitblit_test/linux/framebuffer.c
+===================================================================
+--- trunk/bitblit/packages/ti/sdo/apps/bitblit_test/linux/framebuffer.c (revision 2)
++++ trunk/bitblit/packages/ti/sdo/apps/bitblit_test/linux/framebuffer.c (working copy)
+@@ -53,9 +53,7 @@
+ #include <linux/fb.h>
+
+ /* Davinci/OMAP specific kernel headers */
+-#ifdef _omap3530
+-#include <video/omapfbdev.h>
+-#else
++#ifndef _omap3530
+ #include <video/davincifb_ioctl.h>
+ #endif
+
+@@ -248,9 +246,11 @@
+ if (waitForVsync) {
+ /* Wait for vertical sync */
+ /* Assumption is that rgb and alpha flip together - only wait on rgb */
++#if defined (FBIO_WAITFORVSYNC)
+ if (ioctl(hDisplay->fd, FBIO_WAITFORVSYNC, &dummy) == -1) {
+- printf("Failed FBIO_WAITFORVSYNC (%s)\n", strerror(errno));
++ printf("Failed FBIO_WAITFORVSYNC (%s)\n", strerror(errno));
+ }
++#endif
+ }
+ #endif /* #ifdef _DMAI */
+
+@@ -276,10 +276,12 @@
+
+ /* Wait for vertical sync */
+ /* Assumption is that rgb and alpha flip together - only wait on rgb */
++#if defined (FBIO_WAITFORVSYNC)
+ if (ioctl(hDisplay->fd, FBIO_WAITFORVSYNC, &dummy) == -1) {
+ printf("Failed FBIO_WAITFORVSYNC (%s)\n", strerror(errno));
+ }
+ #endif
++#endif
+ }
+
+