diff options
Diffstat (limited to 'recipes-graphics/igt-gpu-tools')
-rw-r--r-- | recipes-graphics/igt-gpu-tools/files/0001-lib-fb-Fix-rgb24-to-nv12-conversion.patch | 40 | ||||
-rw-r--r-- | recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb | 44 |
2 files changed, 0 insertions, 84 deletions
diff --git a/recipes-graphics/igt-gpu-tools/files/0001-lib-fb-Fix-rgb24-to-nv12-conversion.patch b/recipes-graphics/igt-gpu-tools/files/0001-lib-fb-Fix-rgb24-to-nv12-conversion.patch deleted file mode 100644 index 46b2eef5..00000000 --- a/recipes-graphics/igt-gpu-tools/files/0001-lib-fb-Fix-rgb24-to-nv12-conversion.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From f01796214bbde31e37b0593e547ad9436fdd02ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Petri Latvala <petri.latvala@intel.com> | ||
3 | Date: Wed, 9 Jan 2019 14:28:29 +0200 | ||
4 | Subject: [PATCH] lib/fb: Fix rgb24 to nv12 conversion | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | A typo fix in 1x2 pixel block conversion code, revealed by GCC 9 | ||
10 | |||
11 | Fixes: 1c7ef3890045 ("lib: Use igt_matrix for ycbcr<->rgb conversion") | ||
12 | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109257 | ||
13 | Reported-by: Martin Liska <mliska@suse.cz> | ||
14 | Signed-off-by: Petri Latvala <petri.latvala@intel.com> | ||
15 | Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> | ||
16 | Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | ||
17 | Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | ||
18 | |||
19 | Upstream-Status: Backport | ||
20 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
21 | --- | ||
22 | lib/igt_fb.c | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/lib/igt_fb.c b/lib/igt_fb.c | ||
26 | index 8244e517..5cd1829a 100644 | ||
27 | --- a/lib/igt_fb.c | ||
28 | +++ b/lib/igt_fb.c | ||
29 | @@ -1779,7 +1779,7 @@ static void convert_rgb24_to_nv12(struct fb_convert *cvt) | ||
30 | struct igt_vec4 yuv[2]; | ||
31 | |||
32 | read_rgb(&rgb[0], &rgb24[j * 8 + 0]); | ||
33 | - read_rgb(&rgb[2], &rgb24[j * 8 + 0 + rgb24_stride]); | ||
34 | + read_rgb(&rgb[1], &rgb24[j * 8 + 0 + rgb24_stride]); | ||
35 | |||
36 | yuv[0] = igt_matrix_transform(&m, &rgb[0]); | ||
37 | yuv[1] = igt_matrix_transform(&m, &rgb[1]); | ||
38 | -- | ||
39 | 2.20.1 | ||
40 | |||
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 33c04e77..00000000 --- a/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.23.bb +++ /dev/null | |||
@@ -1,44 +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 | file://0001-lib-fb-Fix-rgb24-to-nv12-conversion.patch \ | ||
14 | " | ||
15 | |||
16 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr procps libunwind kmod openssl" | ||
17 | RDEPENDS_${PN} += "bash" | ||
18 | RDEPENDS_${PN}-tests += "bash" | ||
19 | |||
20 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | ||
21 | |||
22 | SRC_URI[md5sum] = "04c1f10d6fd85e079271540b0ea786e9" | ||
23 | SRC_URI[sha256sum] = "4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0" | ||
24 | |||
25 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger" | ||
26 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
27 | COMPATIBLE_HOST_libc-musl_class-target = "null" | ||
28 | |||
29 | PACKAGECONFIG ??= "" | ||
30 | PACKAGECONFIG[audio] = "--enable-audio,--disable-audio,alsa-lib gsl" | ||
31 | |||
32 | gputools_sysroot_preprocess() { | ||
33 | rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc | ||
34 | } | ||
35 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | ||
36 | |||
37 | FILES_${PN} += "${libdir}/intel_aubdump.so" | ||
38 | FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks" | ||
39 | FILES_${PN}-tests += "\ | ||
40 | ${libexecdir}/${BPN}/*\ | ||
41 | ${datadir}/${BPN}/1080p-right.png\ | ||
42 | ${datadir}/${BPN}/1080p-left.png\ | ||
43 | ${datadir}/${BPN}/pass.png\ | ||
44 | ${datadir}/${BPN}/test-list.txt" | ||