1config BR2_PACKAGE_INTEL_MEDIADRIVER
2	bool "intel-mediadriver"
3	depends on BR2_x86_64
4	depends on !BR2_STATIC_LIBS # mesa3d, libva
5	depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # mesa3d
7	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
8	depends on BR2_TOOLCHAIN_HAS_THREADS # intel-gmmlib, libva
9	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d
10	select BR2_PACKAGE_INTEL_GMMLIB
11	select BR2_PACKAGE_LIBPCIACCESS
12	select BR2_PACKAGE_LIBVA
13	select BR2_PACKAGE_MESA3D
14	help
15	  The Intel(R) Media Driver for VAAPI is a new VA-API (Video
16	  Acceleration API) user mode driver supporting hardware
17	  accelerated decoding, encoding, and video post processing for
18	  GEN based graphics hardware.
19
20	  https://github.com/intel/media-driver
21
22if BR2_PACKAGE_INTEL_MEDIADRIVER
23
24config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN8
25	bool "Gen8 support"
26	default y
27	help
28	  Enable support for Gen8 GPUs (Coffee Lake)
29
30endif # BR2_PACKAGE_INTEL_MEDIADRIVER
31
32comment "intel-mediadriver needs a toolchain w/ dynamic library, gcc >= 8, C++, NPTL"
33	depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1
34	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
35		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
36