From 35c19a774769071ede0bed4fff2e304d1f42f86b Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Thu, 22 Oct 2015 08:57:17 +0100 Subject: [PATCH 1/3] build: enable st/va with ilo aka i965 driver It is safe to enable it because having both vaapi intel driver (i965_drv_video.so) and vaapi gallium driver (gallium_drv_video.so), libva selects intel's driver first. LIBVA_DRIVER_NAME=gallium vainfo libva info: VA-API version 0.38.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'gallium' libva info: Trying to open /home/julien/gst/master/prefix/lib/dri/gallium_drv_video.so libva info: Found init function __vaDriverInit_0_38 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.38 (libva 1.6.2.pre1) vainfo: Driver version: mesa gallium vaapi vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc --- src/gallium/targets/va/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/targets/va/Makefile.am b/src/gallium/targets/va/Makefile.am index c8bb6fe..938b48f 100644 --- a/src/gallium/targets/va/Makefile.am +++ b/src/gallium/targets/va/Makefile.am @@ -42,6 +42,8 @@ TARGET_DRIVERS = TARGET_CPPFLAGS = TARGET_LIB_DEPS = $(top_builddir)/src/loader/libloader.la +include $(top_srcdir)/src/gallium/drivers/ilo/Automake.inc + include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc -- 1.9.1