From f9c23e3d7ccd2f4cbf958bb1e723485fea1eab9c Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 19 Sep 2013 11:39:25 +0200 Subject: Implement bgi This uses cuse to implement a fake framebuffer in userspace suitable for the i.MX5 3d blob driver. To make this work: - disable legacy framebuffer in kernel (to be able for cuse to create /dev/fb0 - Apply Philipps 'PHYS' hack patch to be able to pass the physical address of the framebuffer to userspace On i.MX53 with TV encoder the following works: kmsfb-manage -s -f xres=640,yres=480,bpp=32,3d=1 -s -c crtc=8,fbid=%0,connector=4,encoder=3,xres=640,yres=480 -s -b 8 -v Signed-off-by: Sascha Hauer --- Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4e09d77..76e01da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,7 +9,8 @@ AM_CPPFLAGS = \ -DLIBEXECDIR=\""$(libexecdir)"\" \ -I${top_srcdir}/src/kmsfbwrap \ -I${top_srcdir}/src \ - $(DRM_CFLAGS) + $(DRM_CFLAGS) \ + $(FUSE_CFLAGS) AM_CFLAGS = ${my_CFLAGS} \ -fvisibility=hidden \ @@ -53,7 +54,11 @@ src_libkmsfbwrap_la_DEPENDENCIES = ${top_srcdir}/src/libkmsfbwrap.sym bin_PROGRAMS = kmsfb-manage kmsfb_manage_SOURCES = \ - src/kmsfb-manage.c + src/kmsfb-manage.c \ + src/bgi.c + +kmsfb_manage_LDADD = \ + $(FUSE_LIBS) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = src/libkmsfbwrap.pc -- cgit v1.2.3