diff options
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch | 34 | ||||
-rw-r--r-- | recipes-graphics/gmmlib/gmmlib_22.3.18.bb (renamed from recipes-graphics/gmmlib/gmmlib_18.4.1.bb) | 11 | ||||
-rw-r--r-- | recipes-graphics/hdcp/hdcp/0001-main-fix-hdcpd-service-failure.patch | 42 | ||||
-rw-r--r-- | recipes-graphics/hdcp/hdcp_21.2.0.bb | 26 | ||||
-rw-r--r-- | recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb | 42 | ||||
-rw-r--r-- | recipes-graphics/libva/libva-intel-utils_2.21.0.bb | 35 | ||||
-rw-r--r-- | recipes-graphics/libva/libva-intel_2.21.0.bb | 56 | ||||
-rw-r--r-- | recipes-graphics/metrics-discovery/metrics-discovery_1.12.171.bb (renamed from recipes-graphics/metrics-discovery/metrics-discovery_1.5.100.bb) | 7 | ||||
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-ast_1.1.6.bb (renamed from recipes-graphics/xorg-driver/xf86-video-ast_1.1.5.bb) | 4 |
9 files changed, 207 insertions, 50 deletions
diff --git a/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch b/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch new file mode 100644 index 00000000..195b3c58 --- /dev/null +++ b/recipes-graphics/gmmlib/files/0001-Add-new-DG2-device-IDs-194.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 683f3552e7d5089601bb37952641b1c7691cf475 Mon Sep 17 00:00:00 2001 | ||
2 | From: John Machado <john.machado@intel.com> | ||
3 | Date: Mon, 25 Mar 2024 11:13:27 +0530 | ||
4 | Subject: [PATCH] Add new DG2 device IDs (#194) | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/intel/gmmlib/commit/dcc4b85ea3728c848b62fbb164c00f43b519b6fb] | ||
7 | |||
8 | Signed-off-by: Hoe, Sheng Yang <sheng.yang.hoe@intel.com> | ||
9 | --- | ||
10 | Source/inc/common/igfxfmid.h | 4 ++++ | ||
11 | 1 file changed, 4 insertions(+) | ||
12 | |||
13 | diff --git a/Source/inc/common/igfxfmid.h b/Source/inc/common/igfxfmid.h | ||
14 | index 1264087..e944e1e 100644 | ||
15 | --- a/Source/inc/common/igfxfmid.h | ||
16 | +++ b/Source/inc/common/igfxfmid.h | ||
17 | @@ -1934,6 +1934,8 @@ typedef enum __NATIVEGTTYPE | ||
18 | #define DEV_ID_56BB 0x56BB | ||
19 | #define DEV_ID_56BC 0x56BC | ||
20 | #define DEV_ID_56BD 0x56BD | ||
21 | +#define DEV_ID_56BE 0x56BE | ||
22 | +#define DEV_ID_56BF 0x56BF | ||
23 | #define DEV_ID_56C0 0x56C0 | ||
24 | #define DEV_ID_56C1 0x56C1 | ||
25 | #define DEV_ID_56C2 0x56C2 | ||
26 | @@ -2001,6 +2003,8 @@ typedef enum __NATIVEGTTYPE | ||
27 | ( d == DEV_ID_5690 ) || \ | ||
28 | ( d == DEV_ID_5691 ) || \ | ||
29 | ( d == DEV_ID_5692 ) || \ | ||
30 | + ( d == DEV_ID_56BE ) || \ | ||
31 | + ( d == DEV_ID_56BF ) || \ | ||
32 | ( d == DEV_ID_56C0 ) || \ | ||
33 | ( d == DEV_ID_56C2 ) || \ | ||
34 | ( d == DEV_ID_4F80 ) || \ | ||
diff --git a/recipes-graphics/gmmlib/gmmlib_18.4.1.bb b/recipes-graphics/gmmlib/gmmlib_22.3.18.bb index ad2d11af..134a6461 100644 --- a/recipes-graphics/gmmlib/gmmlib_18.4.1.bb +++ b/recipes-graphics/gmmlib/gmmlib_22.3.18.bb | |||
@@ -4,18 +4,23 @@ device specific and buffer management for the Intel(R) Graphics \ | |||
4 | Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI." | 4 | Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI." |
5 | 5 | ||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=d9a6e772cd4c362ee4c8ef87c5aad843" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=465fe90caea3edd6a2cecb3f0c28a654" |
8 | 8 | ||
9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
10 | git://github.com/intel/gmmlib.git;protocol=https \ | 10 | git://github.com/intel/gmmlib.git;protocol=https;branch=master \ |
11 | file://0001-Add-new-DG2-device-IDs-194.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | SRCREV = "413896ed8e7ead3dd1c0fea9a4fe7f8326b7b9ff" | 14 | SRCREV = "ac964bdffdda7730e8234511f61016071e63783b" |
14 | 15 | ||
15 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
16 | 17 | ||
18 | COMPATIBLE_HOST:x86-x32 = "null" | ||
19 | |||
17 | UPSTREAM_CHECK_GITTAGREGEX = "^intel-gmmlib-(?P<pver>(\d+(\.\d+)+))$" | 20 | UPSTREAM_CHECK_GITTAGREGEX = "^intel-gmmlib-(?P<pver>(\d+(\.\d+)+))$" |
18 | 21 | ||
19 | inherit pkgconfig cmake | 22 | inherit pkgconfig cmake |
20 | 23 | ||
21 | EXTRA_OECMAKE += "-DRUN_TEST_SUITE=OFF" | 24 | EXTRA_OECMAKE += "-DRUN_TEST_SUITE=OFF" |
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/recipes-graphics/hdcp/hdcp/0001-main-fix-hdcpd-service-failure.patch b/recipes-graphics/hdcp/hdcp/0001-main-fix-hdcpd-service-failure.patch new file mode 100644 index 00000000..6d32da43 --- /dev/null +++ b/recipes-graphics/hdcp/hdcp/0001-main-fix-hdcpd-service-failure.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 5cbcecff0bb7fa1c617d3082e7ad94c22e5f4eb1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
3 | Date: Wed, 3 Jul 2019 17:13:15 +0800 | ||
4 | Subject: [PATCH] main: fix hdcpd service failure | ||
5 | |||
6 | Child process not able to finish before parent process | ||
7 | exits, which causing hdcpd service failure. | ||
8 | |||
9 | Added wait function to block parent process | ||
10 | until child process exits. | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/intel/hdcp/pull/17] | ||
13 | |||
14 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
15 | --- | ||
16 | daemon/main.cpp | 3 +++ | ||
17 | 1 file changed, 3 insertions(+) | ||
18 | |||
19 | diff --git a/daemon/main.cpp b/daemon/main.cpp | ||
20 | index 9a028d7..ef1e047 100644 | ||
21 | --- a/daemon/main.cpp | ||
22 | +++ b/daemon/main.cpp | ||
23 | @@ -36,6 +36,7 @@ | ||
24 | #include <sys/ioctl.h> | ||
25 | #include <fcntl.h> | ||
26 | #include <iostream> | ||
27 | +#include <sys/wait.h> | ||
28 | |||
29 | #include "hdcpdef.h" | ||
30 | #include "srm.h" | ||
31 | @@ -93,6 +94,8 @@ int32_t daemon_init(void) | ||
32 | } | ||
33 | else if (pid != 0) | ||
34 | { | ||
35 | + int status; | ||
36 | + wait(&status); | ||
37 | exit(SUCCESS); // parent exit | ||
38 | } | ||
39 | |||
40 | -- | ||
41 | 2.17.1 | ||
42 | |||
diff --git a/recipes-graphics/hdcp/hdcp_21.2.0.bb b/recipes-graphics/hdcp/hdcp_21.2.0.bb new file mode 100644 index 00000000..8529b5ab --- /dev/null +++ b/recipes-graphics/hdcp/hdcp_21.2.0.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "Intel(R) unified HDCP SDK" | ||
2 | DESCRIPTION = "This is a user space implementation to prevent copying of \ | ||
3 | digital audio & video content across digital display interfaces. It provides \ | ||
4 | Linux user space implementation to enable the HDCP1.4 and HDCP2.2 protection \ | ||
5 | for external digital display interface" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c50969be4feb8b99c6baa3795ede4dce" | ||
8 | SECTION = "lib" | ||
9 | |||
10 | inherit pkgconfig cmake useradd systemd features_check | ||
11 | |||
12 | SRC_URI = "git://github.com/intel/hdcp.git;branch=master;protocol=https \ | ||
13 | file://0001-main-fix-hdcpd-service-failure.patch \ | ||
14 | " | ||
15 | SRCREV = "cacc352159c5bdaf1c21846cecdd1eb7b031e1d3" | ||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
19 | |||
20 | DEPENDS = "libdrm virtual/mesa systemd" | ||
21 | |||
22 | USERADD_PACKAGES = "${PN}" | ||
23 | USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false --gid nogroup media" | ||
24 | |||
25 | SYSTEMD_SERVICE:${PN} = "hdcpd.service" | ||
26 | SYSTEMD_AUTO_ENABLE = "disable" | ||
diff --git a/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb b/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb deleted file mode 100644 index 9fe2950a..00000000 --- a/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | require ${COREBASE}/meta/recipes-graphics/xorg-app/xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Intel GPU tools" | ||
4 | DESCRIPTION = "Variety of small tools for testing intel graphics." | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4b3dd344780e0400593b21b115a6947" | ||
7 | |||
8 | LICENSE_append = " & ISC" | ||
9 | |||
10 | inherit autotools gtk-doc | ||
11 | |||
12 | SRC_URI = "${XORG_MIRROR}/individual/app/${BP}.tar.xz" | ||
13 | |||
14 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr procps libunwind kmod openssl" | ||
15 | RDEPENDS_${PN} += "bash" | ||
16 | RDEPENDS_${PN}-tests += "bash" | ||
17 | |||
18 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | ||
19 | |||
20 | SRC_URI[md5sum] = "04c1f10d6fd85e079271540b0ea786e9" | ||
21 | SRC_URI[sha256sum] = "4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0" | ||
22 | |||
23 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger" | ||
24 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
25 | COMPATIBLE_HOST_libc-musl_class-target = "null" | ||
26 | |||
27 | PACKAGECONFIG ??= "" | ||
28 | PACKAGECONFIG[audio] = "--enable-audio,--disable-audio,alsa-lib gsl" | ||
29 | |||
30 | gputools_sysroot_preprocess() { | ||
31 | rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc | ||
32 | } | ||
33 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | ||
34 | |||
35 | FILES_${PN} += "${libdir}/intel_aubdump.so" | ||
36 | FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks" | ||
37 | FILES_${PN}-tests += "\ | ||
38 | ${libexecdir}/${BPN}/*\ | ||
39 | ${datadir}/${BPN}/1080p-right.png\ | ||
40 | ${datadir}/${BPN}/1080p-left.png\ | ||
41 | ${datadir}/${BPN}/pass.png\ | ||
42 | ${datadir}/${BPN}/test-list.txt" | ||
diff --git a/recipes-graphics/libva/libva-intel-utils_2.21.0.bb b/recipes-graphics/libva/libva-intel-utils_2.21.0.bb new file mode 100644 index 00000000..0407aa18 --- /dev/null +++ b/recipes-graphics/libva/libva-intel-utils_2.21.0.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "libva-utils is a collection of utilities from libva project" | ||
2 | |||
3 | DESCRIPTION = "libva-utils is a collection of utilities \ | ||
4 | and examples to exercise VA-API in accordance with the libva \ | ||
5 | project.VA-API is an open-source library and API specification, \ | ||
6 | which provides access to graphics hardware acceleration capabilities \ | ||
7 | for video processing. It consists of a main library and driver-specific \ | ||
8 | acceleration backends for each supported hardware vendor" | ||
9 | |||
10 | HOMEPAGE = "https://01.org/linuxmedia/vaapi" | ||
11 | BUGTRACKER = "https://github.com/intel/libva-utils/issues" | ||
12 | |||
13 | SECTION = "x11" | ||
14 | LICENSE = "MIT" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e" | ||
16 | |||
17 | SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.21-branch;protocol=https" | ||
18 | SRCREV = "5a59217d5d288f7671ca18d3764139289d83a93e" | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | ||
22 | |||
23 | DEPENDS = "libva" | ||
24 | |||
25 | inherit meson pkgconfig features_check | ||
26 | |||
27 | # depends on libva which requires opengl | ||
28 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
29 | |||
30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
31 | PACKAGECONFIG[x11] = "-Dx11=true, -Dx11=false,virtual/libx11 libxext libxfixes" | ||
32 | PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false,wayland-native wayland" | ||
33 | |||
34 | PROVIDES = "libva-utils" | ||
35 | RPROVIDES:${PN} += "libva-utils" | ||
diff --git a/recipes-graphics/libva/libva-intel_2.21.0.bb b/recipes-graphics/libva/libva-intel_2.21.0.bb new file mode 100644 index 00000000..83fb3646 --- /dev/null +++ b/recipes-graphics/libva/libva-intel_2.21.0.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | SUMMARY = "Video Acceleration (VA) API for Linux" | ||
2 | DESCRIPTION = "Video Acceleration API (VA API) is a library (libVA) \ | ||
3 | and API specification which enables and provides access to graphics \ | ||
4 | hardware (GPU) acceleration for video processing on Linux and UNIX \ | ||
5 | based operating systems. Accelerated processing includes video \ | ||
6 | decoding, video encoding, subpicture blending and rendering. The \ | ||
7 | specification was originally designed by Intel for its GMA (Graphics \ | ||
8 | Media Accelerator) series of GPU hardware, the API is however not \ | ||
9 | limited to GPUs or Intel specific hardware, as other hardware and \ | ||
10 | manufacturers can also freely use this API for hardware accelerated \ | ||
11 | video decoding." | ||
12 | |||
13 | HOMEPAGE = "https://01.org/linuxmedia/vaapi" | ||
14 | BUGTRACKER = "https://github.com/intel/libva/issues" | ||
15 | |||
16 | SECTION = "x11" | ||
17 | LICENSE = "MIT" | ||
18 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" | ||
19 | |||
20 | SRC_URI = "git://github.com/intel/libva.git;protocol=https;branch=v2.21-branch \ | ||
21 | " | ||
22 | |||
23 | SRCREV = "0b01aed44ef1a6ad660261284ff266fa812829ef" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases" | ||
28 | |||
29 | DEPENDS = "libdrm" | ||
30 | |||
31 | inherit meson pkgconfig | ||
32 | |||
33 | PACKAGECONFIG ??= " \ | ||
34 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', '', d)} \ | ||
35 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} \ | ||
36 | " | ||
37 | |||
38 | PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxext libxfixes" | ||
39 | PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/mesa" | ||
40 | |||
41 | PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland" | ||
42 | |||
43 | PACKAGES =+ "${PN}-x11 ${PN}-glx ${PN}-wayland" | ||
44 | |||
45 | RDEPENDS:${PN}-x11 =+ "${PN}" | ||
46 | RDEPENDS:${PN}-glx =+ "${PN}-x11" | ||
47 | |||
48 | FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}" | ||
49 | FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}" | ||
50 | FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}" | ||
51 | |||
52 | PROVIDES += "libva" | ||
53 | RPROVIDES:${PN} += "libva" | ||
54 | RPROVIDES:${PN}-x11 += "libva-x11" | ||
55 | RPROVIDES:${PN}-glx += "libva-glx" | ||
56 | RPROVIDES:${PN}-wayland += "libva-wayland" | ||
diff --git a/recipes-graphics/metrics-discovery/metrics-discovery_1.5.100.bb b/recipes-graphics/metrics-discovery/metrics-discovery_1.12.171.bb index 5320129f..d3f32c25 100644 --- a/recipes-graphics/metrics-discovery/metrics-discovery_1.5.100.bb +++ b/recipes-graphics/metrics-discovery/metrics-discovery_1.12.171.bb | |||
@@ -2,14 +2,15 @@ SUMMARY = "Intel Metrics Discovery Application Programming Interface" | |||
2 | DESCRIPTION = "This software is a user mode library that provides access to \ | 2 | DESCRIPTION = "This software is a user mode library that provides access to \ |
3 | GPU performance data." | 3 | GPU performance data." |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5ac9e51fb25f5d5b10a1bea412a4b74c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8c5c9ac8ffd04a5614befdf63fba6ba8" |
6 | SECTION = "lib" | 6 | SECTION = "lib" |
7 | 7 | ||
8 | inherit pkgconfig cmake | 8 | inherit pkgconfig cmake |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | SRCREV = "a6accaf9844d453177047866caaa9eda34582de9" | 11 | SRCREV = "24c4dfd45df1600ca83dfb03217675edc4633ffd" |
12 | SRC_URI = "git://github.com/intel/metrics-discovery.git" | 12 | SRC_URI = "git://github.com/intel/metrics-discovery.git;branch=master;protocol=https \ |
13 | " | ||
13 | 14 | ||
14 | EXTRA_OECMAKE += "-DMD_PLATFORM=linux" | 15 | EXTRA_OECMAKE += "-DMD_PLATFORM=linux" |
15 | EXTRA_OECMAKE += "-DMD_LIBDRM_SRC=${STAGING_INCDIR}" | 16 | EXTRA_OECMAKE += "-DMD_LIBDRM_SRC=${STAGING_INCDIR}" |
diff --git a/recipes-graphics/xorg-driver/xf86-video-ast_1.1.5.bb b/recipes-graphics/xorg-driver/xf86-video-ast_1.1.6.bb index 090efd62..d7e4eab4 100644 --- a/recipes-graphics/xorg-driver/xf86-video-ast_1.1.5.bb +++ b/recipes-graphics/xorg-driver/xf86-video-ast_1.1.6.bb | |||
@@ -7,6 +7,6 @@ DESCRIPTION = "ast is an Xorg driver for ASpeed Technologies video cards" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0b8c242f0218eea5caa949b7910a774b" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0b8c242f0218eea5caa949b7910a774b" |
8 | 8 | ||
9 | DEPENDS += "libpciaccess" | 9 | DEPENDS += "libpciaccess" |
10 | XORG_DRIVER_COMPRESSOR = ".tar.gz" | ||
10 | 11 | ||
11 | SRC_URI[md5sum] = "4f85febe48d51e53624550a96fc9e9ee" | 12 | SRC_URI[sha256sum] = "eeff52178ce2916a0e07b531bb23c8b105826b6e6e6c5f7c90e33f757827a7c7" |
12 | SRC_URI[sha256sum] = "1edbbc55d47d3fd71dec99b15c2483e22738c642623a0fb86ef4a81a9067a2de" | ||