Commit Graph

68 Commits

Author SHA1 Message Date
Anuj Mittal
de071ac96b intel-mediasdk: upgrade 20.2.0 -> 20.2.1
Release notes:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-20.2.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-08-14 14:47:57 +08:00
Naveen Saini
085ba92a59 layer.conf: drop zeus compatibility
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Naveen Saini
32d63c14b8 intel-mediasdk: upgrade 20.1.1 -> 20.2.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Naveen Saini
cf8f34f3a8 intel-media-driver: upgrade 20.1.1 -> 20.2.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-07-22 12:32:46 +08:00
Anuj Mittal
eb0a9c9412 intel-mediasdk: upgrade 20.1.0 -> 20.1.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-22 13:59:04 +08:00
Anuj Mittal
03c0b880ae intel-vaapi-driver: upgrade 2.4.0 -> 2.4.1
Drop the backported patches as the fixes are in this release.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-22 13:59:04 +08:00
Anuj Mittal
698bb64c32 intel-media-driver: enable build for 32 bit
Make sure that we can build for 32 bit and remove obsolete comment
about the packaging too. The libraries are now versioned and packaged
properly.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-01 15:21:58 +08:00
Anuj Mittal
3faba391c8 intel-vaapi-driver: backport fixes for gcc10 failures
Backport fixes from upstream for gcc 10 failures. This should help when
oe-core reverts back to using the default of -fno-common with gcc10.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-20 07:44:30 +08:00
Naveen Saini
c248917f50 libva-utils-intel: drop recipe
libva-utils in oe-core moved to latest release, so no need
to carry in meta-intel anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-18 11:38:24 +08:00
Naveen Saini
bc9973a90d libva-intel: drop recipe
libva in oe-core moved to latest release, so no need to
carry in meta-intel anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-18 11:38:24 +08:00
Naveen Saini
8be4ad8bc2 libva-utils-intel: keep compatible with zeus as well
To avoid recipe version confilicts with oe-core recipes from dunfell and zeus,
better to carry full recipe instead of require libva-utils recipe.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 16:26:57 +08:00
Naveen Saini
61fc299113 libva-intel: keep compatible with zeus
To avoid recipe version confilicts with oe-core recipes from dunfell and zeus,
better to carry full recipe instead of require libva recipe.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 16:26:48 +08:00
Naveen Saini
3f99053c64 layer.conf: allow to build with zeus
Class 'distro_features_check' has moved to 'features_check', which
does not allow dunfell and latest releases to build against zeus
release.

Inherit class based on LAYERSERIES_CORENAMES.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-27 16:26:43 +08:00
Naveen Saini
ee68102442 libva-utils-intel: keep upgraded libva-utils version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva-utils
only when using MACHINE value from meta-intel.
For all other cases, libva-utils from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
Naveen Saini
67f781be89 libva-intel: keep upgraded libva version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva
only when using MACHINE value from meta-intel.
For all other cases, libva from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
Naveen Saini
07485f0671 intel-mediasdk: upgrade 19.4.0 -> 20.1.0
For more information:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-20.1.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
0ee54e5646 intel-media-driver: upgrade 19.4.0 -> 20.1.1
For more info please check here:
https://github.com/intel/media-driver/releases/tag/intel-media-20.1.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
0fa20c4869 libva-utils: add recipe v2.7.1
OE-Core libva-utils version is v2.6.0, where as media
stack components depends upon libva-utils v2.7.1.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
6588d1e491 libva: add recipe v2.7.0
OE-Core libva version is v2.6.1, where as number of media
stack components depends upon libva v2.7.0.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
759b79be5a itt: fix upstream release checking
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-07 16:58:20 +08:00
Naveen Saini
aebebe3ae6 itt: upgrade to release tag
Ref:
https://github.com/intel/ittapi/releases/tag/v3.15.12

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-07 16:58:20 +08:00
Naveen Saini
f42efebc3a itt: switch git repo
Use new git repo maintained by Intel
https://github.com/intel/ittapi

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-04 15:05:01 +08:00
Yeoh Ee Peng
d725250ca0 itt: Add missing header and library
While trying to compile itt sample from https://github.com/intel/IntelSEAPI,
it was initially facing header file error.

$gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify
InstrumentationExample.cpp:53:10: fatal error: itt_notify.hpp: No such file or directory
   53 | #include "itt_notify.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
main.cpp:18:10: fatal error: itt_notify.hpp: No such file or directory
   18 | #include "itt_notify.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

While mannually added the missing itt_notify.hpp header to the image, it
was facing the compilation errors while using the only available
library (libittnotify64.a) provided by itt.

$gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify
In file included from /usr/include/ittnotify/itt_notify.hpp:8,
                 from InstrumentationExample.cpp:53:
/usr/include/ittnotify/ittnotify.h:253:6: warning: #warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro" [-Wcpp]
  253 | #    warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro"
      |      ^~~~~~~
/usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../x86_64-poky-linux/bin/ld: /usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../lib/libittnotify64.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
/usr/src/debug/itt/17.01.28-r0/git/ittnotify/src/ittnotify/ittnotify_static.c:1189: undefined reference to `dlerror'
collect2: error: ld returned 1 exit status

Found that it was missing the required libIntelSEAPI64.so library.
Compilation of itt sample succeeded after adding both missing header and library.
Enhanced the itt recipe to provide both the itt_notify.hpp and libIntelSEAPI64.so.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-02 06:59:22 +08:00
Trevor Woerner
be73afe9fe intel-vaapi-driver: fix meson build
Change the configure strings to satisfy meson.

	| meson.build:1:0: ERROR: Value "false" for combo option is not one of the choices. Possible choices are: "yes", "no", "auto".

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
dc7deea1d2 intel-mediasdk: upgrade 19.3.1 -> 19.4.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
2731c96999 intel-media-driver: upgrade 19.3.1 -> 19.4.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
494a6074f0 intel-mediasdk: upgrade 19.2.1 -> 19.3.1
Release notes can be found here:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-19.3.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
1615feb0b1 intel-media-driver: upgrade 19.2.1 > 19.3.1
Release against:
GmmLib intel-gmmlib-19.3.2
Libva 2.6.0.pre1

Dropped patch which is not required anymore.

For more details:
https://github.com/intel/media-driver/releases/tag/intel-media-19.3.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Anuj Mittal
e1b373f3cb intel-vaapi-driver: upgrade 2.3.0 -> 2.4.0
* For release notes, see:
https://github.com/intel/intel-vaapi-driver/releases/tag/2.4.0

* Switch to using meson instead.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-12 14:09:01 +08:00
Ross Burton
62166cee76 recipes: use features_check instead of deprecated distro_features_check
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-22 11:57:57 +08:00
Ross Burton
fcd70c2a9a mediasdk: set CVE_PRODUCT
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-13 06:02:59 +08:00
Khem Raj
f247a8a3b6 intel-media-driver: Use -fno-tree-pre when using gcc alone
Fixes
clang-9: error: unknown argument: '-fno-tree-pre'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:27 +08:00
Ross Burton
63e3cdcc6e intel-mediasdk: disable git-lfs fetching
The git-lfs content is only used by the samples which we don't use or
install. Set lfs=0 so that git-lfs isn't a requirement on the build host.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-21 09:25:00 +08:00
Anuj Mittal
065895e2c5 intel-media-driver: dont mark warnings as errors
Switch the driver configuration MEDIA_BUILD_FATAL_WARNINGS to OFF so
-Werror is not used. Also patch out the use of
-Werror=implicit-function-declaration to prevent errors when building
with gcc9.

| cc1plus: error: '-Werror=' argument
'-Werror=implicit-function-declaration' is not valid for C++ [-Werror]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-21 12:27:06 +08:00
Anuj Mittal
0b2625349d intel-mediasdk: upgrade 19.2.0 -> 19.2.1
For release notes, see:
https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-15 08:23:07 +08:00
Anuj Mittal
2b736619e7 intel-media-driver: upgrade 19.2.0 -> 19.2.1
For release notes, see:
https://github.com/intel/media-driver/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-15 08:23:07 +08:00
Anuj Mittal
5657949d39 libyami: upgrade 1.3.1 -> 1.3.2
For changes, see:
https://github.com/intel/libyami/blob/1.3.2/NEWS

Remove all the patches fixing warnings converted to errors when using
clang. Most of these have been fixed and others are trivial enough to be
ignored. Pass -Wno-error to CXXFLAGS to ignore these.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-09 15:17:58 +08:00
Naveen Saini
699bbf66a7 itt: install header files to package specific directory
Also installing other supported header files.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-09 15:13:18 +08:00
Naveen Saini
adbbf921d2 intel-mediasdk: disable x32 build
Upstream doesn't support building for x32. Instread of
patching makefile for x32 and risk runtime failures,
disable the build.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-08 07:08:32 +08:00
Naveen Saini
ec39e48582 intel-media-driver: disable x32 build
Upstream doesn't support building for x32. Instread of
patching makefile for x32 and risk runtime failures,
disable the build.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-08 07:08:32 +08:00
Naveen Saini
a82be9779c itt: upgrade v17.0 -> v17.01.28
More info can be found here:
https://github.com/intel/IntelSEAPI/releases/tag/17.01.28

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-03 21:52:29 +08:00
Hongxu Jia
36e22226d9 intel-mediasdk: check for "opengl" feature
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core,
and intel-mediasdk depends on libva, it should check for "opengl"
feature too.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-25 12:24:58 +08:00
Hongxu Jia
89472e2b87 intel-media-driver: check for "opengl" feature
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core,
and intel-media-driver depends on libva, it should check for "opengl"
feature too.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-25 12:24:54 +08:00
Anuj Mittal
e92b588839 intel-mediasdk: upgrade 19.1.0 -> 19.2.0
For changes in this release, see:

https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-10 21:59:40 +08:00
Anuj Mittal
11e5b4ed29 intel-media-driver: upgrade 19.1.0 -> 19.2.0
Also remove the upstreamed patch. For changes in this release, see:

https://github.com/intel/media-driver/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-10 21:59:40 +08:00
Naveen Saini
a7748e0cad libyami: fix build error with gcc9
GCC9 causing multiple build failures:

| ../../git/codecparsers/h264Parser.cpp: In constructor 'YamiParser::H264::PPS::PPS()':
| ../../git/codecparsers/h264Parser.cpp:140:41: error: 'void* memset(void*, int, size_t)' clearing an object of type 'struct YamiParser::H264::PPS' with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]
|   140 |     memset(this, 0, offsetof(PPS, m_sps));
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-13 16:11:25 +08:00
Naveen Saini
e160f52a45 itt: add recipe
Introduce Intel® Single Event API (Intel® SEAPI), which is the
translator of itt_notify calls into several OS specific and
third party tracing formats. It can be use as memory/performance/
whatever profile.

Wiki:
https://github.com/intel/IntelSEAPI/wiki

Signed-off-by: Lim, Raynald <raynald.lim@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-17 11:20:01 +08:00
Naveen Saini
40225d8c61 intel-mediasdk: upgrade 18.4.1 -> 19.1.0
For changes, see:
https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:52:00 +08:00
Naveen Saini
288835d26f intel-media-driver: upgrade 18.4.1 -> 19.1.0
For changes, see:
https://github.com/intel/media-driver/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:52:00 +08:00
Naveen Saini
25aae87c4e intel-mediasdk: upgrade 18.4.0 -> 18.4.1
For changes, see:

https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-04 14:13:23 +08:00