From 6173cc19c45d92ef0b7bc6aa008aa89bb29abbda Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 27 Oct 2012 11:07:34 -0500 Subject: freedreno: gallium driver for adreno Currently works on a220. Others in the a2xx family look pretty similar and should be pretty straightforward to support with the same driver. The a3xx has a new shader ISA, and while many registers appear similar, the register addresses have been completely shuffled around. I am not sure yet whether it is best to support with the same driver, but different compiler, or whether it should be split into a different driver. v1: original v2: build file updates from review comments, and remove GPL licensed header files from msm kernel v3: smarter temp/pred register assignment, fix clear and depth/stencil format issues, resource_transfer fixes, scissor fixes Signed-off-by: Rob Clark --- src/gallium/targets/egl-static/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gallium/targets/egl-static/Makefile.am') diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index 5c40ae8e145..31dbc791ddc 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -191,6 +191,15 @@ egl_gallium_la_LIBADD += \ $(top_builddir)/src/gallium/drivers/svga/libsvga.la endif +if HAVE_GALLIUM_FREEDRENO +AM_CPPFLAGS += -D_EGL_PIPE_FREEDRENO=1 +egl_gallium_la_LIBADD += \ + $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ + $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ + $(FREEDRENO_LIBS) + +endif + if HAVE_GALLIUM_SOFTPIPE AM_CPPFLAGS += -DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE egl_gallium_la_LIBADD += \ -- cgit v1.2.3