diff options
Diffstat (limited to 'common/recipes-graphics')
20 files changed, 0 insertions, 840 deletions
diff --git a/common/recipes-graphics/drm/libdrm/amdgpu.ids b/common/recipes-graphics/drm/libdrm/amdgpu.ids deleted file mode 100644 index d8867ea6..00000000 --- a/common/recipes-graphics/drm/libdrm/amdgpu.ids +++ /dev/null @@ -1,204 +0,0 @@ -# List of AMDGPU ID's -# -# Syntax: -# device_id, revision_id, product_name <-- single tab after comma - -1.0.0 -6600, 0, AMD Radeon HD 8600/8700M -6600, 81, AMD Radeon (TM) R7 M370 -6601, 0, AMD Radeon (TM) HD 8500M/8700M -6604, 0, AMD Radeon R7 M265 Series -6604, 81, AMD Radeon (TM) R7 M350 -6605, 0, AMD Radeon R7 M260 Series -6605, 81, AMD Radeon (TM) R7 M340 -6606, 0, AMD Radeon HD 8790M -6607, 0, AMD Radeon (TM) HD8530M -6608, 0, AMD FirePro W2100 -6610, 0, AMD Radeon HD 8600 Series -6610, 81, AMD Radeon (TM) R7 350 -6610, 83, AMD Radeon (TM) R5 340 -6611, 0, AMD Radeon HD 8500 Series -6613, 0, AMD Radeon HD 8500 series -6617, C7, AMD Radeon R7 240 Series -6640, 0, AMD Radeon HD 8950 -6640, 80, AMD Radeon (TM) R9 M380 -6646, 0, AMD Radeon R9 M280X -6646, 80, AMD Radeon (TM) R9 M470X -6647, 0, AMD Radeon R9 M270X -6647, 80, AMD Radeon (TM) R9 M380 -6649, 0, AMD FirePro W5100 -6658, 0, AMD Radeon R7 200 Series -665C, 0, AMD Radeon HD 7700 Series -665D, 0, AMD Radeon R7 200 Series -665F, 81, AMD Radeon (TM) R7 300 Series -6660, 0, AMD Radeon HD 8600M Series -6660, 81, AMD Radeon (TM) R5 M335 -6660, 83, AMD Radeon (TM) R5 M330 -6663, 0, AMD Radeon HD 8500M Series -6663, 83, AMD Radeon (TM) R5 M320 -6664, 0, AMD Radeon R5 M200 Series -6665, 0, AMD Radeon R5 M200 Series -6665, 83, AMD Radeon (TM) R5 M320 -6667, 0, AMD Radeon R5 M200 Series -666F, 0, AMD Radeon HD 8500M -6780, 0, ATI FirePro V (FireGL V) Graphics Adapter -678A, 0, ATI FirePro V (FireGL V) Graphics Adapter -6798, 0, AMD Radeon HD 7900 Series -679A, 0, AMD Radeon HD 7900 Series -679B, 0, AMD Radeon HD 7900 Series -679E, 0, AMD Radeon HD 7800 Series -67A0, 0, AMD Radeon FirePro W9100 -67A1, 0, AMD Radeon FirePro W8100 -67B0, 0, AMD Radeon R9 200 Series -67B0, 80, AMD Radeon (TM) R9 390 Series -67B1, 0, AMD Radeon R9 200 Series -67B1, 80, AMD Radeon (TM) R9 390 Series -67B9, 0, AMD Radeon R9 200 Series -67DF, C1, Radeon RX 580 Series -67DF, C2, Radeon RX 570 Series -67DF, C3, Radeon RX 580 Series -67DF, C4, AMD Radeon (TM) RX 480 Graphics -67DF, C5, AMD Radeon (TM) RX 470 Graphics -67DF, C6, Radeon RX 570 Series -67DF, C7, AMD Radeon (TM) RX 480 Graphics -67DF, CF, AMD Radeon (TM) RX 470 Graphics -67DF, D7, Radeon(TM) RX 470 Graphics -67DF, E3, Radeon RX Series -67DF, E7, Radeon RX 580 Series -67DF, EF, Radeon RX 570 Series -67C2, 0, 67C2:00 -67C2, 01, AMD Radeon (TM) Pro V7350x2 -67C2, 02, AMD Radeon (TM) Pro V7300X -67C4, 00, AMD Radeon (TM) Pro WX 7100 Graphics -67C7, 00, AMD Radeon (TM) Pro WX 5100 Graphics -67C0, 00, AMD Radeon (TM) Pro WX 7100 Graphics -67D0, 0, 67D0:00 -67D0, 01, AMD Radeon (TM) Pro V7350x2 -67D0, 02, AMD Radeon (TM) Pro V7300X -67E0, 00, AMD Radeon (TM) Pro WX Series -67E3, 00, AMD Radeon (TM) Pro WX 4100 -67E8, 00, AMD Radeon (TM) Pro WX Series -67E8, 01, AMD Radeon (TM) Pro WX Series -67E8, 80, AMD Radeon (TM) E9260 Graphics -67EB, 00, AMD Radeon (TM) Pro V5300X -67EF, C0, AMD Radeon (TM) RX Graphics -67EF, C1, AMD Radeon (TM) RX 460 Graphics -67EF, C3, Radeon RX Series -67EF, C5, AMD Radeon (TM) RX 460 Graphics -67EF, C7, AMD Radeon (TM) RX Graphics -67EF, CF, AMD Radeon (TM) RX 460 Graphics -67EF, E0, 67EF:E0 -67EF, E1, Radeon RX Series -67EF, E3, Radeon RX Series -67EF, E5, 67EF:E5 -67EF, E7, 67EF:E7 -67EF, EF, AMD Radeon (TM) RX Graphics -67EF, FF, Radeon(TM) RX 460 Graphics -67FF, C0, AMD Radeon (TM) RX Graphics -67FF, C1, AMD Radeon (TM) RX Graphics -67FF, CF, 67FF:CF -67FF, EF, 67FF:EF -67FF, FF, Radeon RX 550 Series -6800, 0, AMD Radeon HD 7970M -6801, 0, AMD Radeon(TM) HD8970M -6808, 0, ATI FirePro V(FireGL V) Graphics Adapter -6809, 0, ATI FirePro V(FireGL V) Graphics Adapter -6810, 0, AMD Radeon(TM) HD 8800 Series -6810, 81, AMD Radeon (TM) R7 370 Series -6811, 0, AMD Radeon(TM) HD8800 Series -6811, 81, AMD Radeon (TM) R7 300 Series -6818, 0, AMD Radeon HD 7800 Series -6819, 0, AMD Radeon HD 7800 Series -6820, 0, AMD Radeon HD 8800M Series -6820, 81, AMD Radeon (TM) R9 M375 -6820, 83, AMD Radeon (TM) R9 M375X -6821, 0, AMD Radeon HD 8800M Series -6821, 87, AMD Radeon (TM) R7 M380 -6821, 83, AMD Radeon R9 (TM) M370X -6822, 0, AMD Radeon E8860 -6823, 0, AMD Radeon HD 8800M Series -6825, 0, AMD Radeon HD 7800M Series -6827, 0, AMD Radeon HD 7800M Series -6828, 0, ATI FirePro V(FireGL V) Graphics Adapter -682B, 0, AMD Radeon HD 8800M Series -682B, 87, AMD Radeon (TM) R9 M360 -682C, 0, AMD FirePro W4100 -682D, 0, AMD Radeon HD 7700M Series -682F, 0, AMD Radeon HD 7700M Series -6835, 0, AMD Radeon R7 Series / HD 9000 Series -6837, 0, AMD Radeon HD7700 Series -683D, 0, AMD Radeon HD 7700 Series -683F, 0, AMD Radeon HD 7700 Series -6860, 00, Radeon Instinct MI25 -6860, 01, Radeon Pro V320 -6860, 02, Radeon Instinct MI25 -6860, 03, Radeon Pro V340 -6860, 04, Radeon Instinct MI25x2 -6860, C0, 6860:C0 -6861, 00, Radeon(TM) Pro WX9100 -6862, 00, Radeon Pro SSG -6863, 00, Radeon Vega Frontier Edition -6864, 00, 6864:00 -6864, 03, Radeon Pro V340 -6864, 04, Instinct MI25x2 -6867, 00, 6867:00 -6868, 00, Radeon(TM) Pro WX8100 -686C, 00, GLXT (Radeon Instinct MI25) MxGPU VFID -686C, 01, GLXT (Radeon Pro V320) MxGPU -686C, 02, GLXT (Radeon Instinct MI25) MxGPU -686C, 03, GLXT (Radeon Pro V340) MxGPU -686C, 04, GLXT (Radeon Instinct MI25x2) MxGPU -686C, C1, 686C:C1 -687F, C0, Radeon RX Vega -687F, C1, Radeon RX Vega -687F, C3, Radeon RX Vega -687F, C7, 687F:C7 -6900, 0, AMD Radeon R7 M260 -6900, 81, AMD Radeon (TM) R7 M360 -6900, 83, AMD Radeon (TM) R7 M340 -6901, 0, AMD Radeon R5 M255 -6907, 0, AMD Radeon R5 M255 -6907, 87, AMD Radeon (TM) R5 M315 -6920, 0, AMD RADEON R9 M395X -6920, 1, AMD RADEON R9 M390X -6921, 0, AMD Radeon R9 M295X -6929, 0, AMD FirePro S7150 -692B, 0, AMD FirePro W7100 -6938, 0, AMD Radeon R9 200 Series -6938, F0, AMD Radeon R9 200 Series -6938, F1, AMD Radeon (TM) R9 380 Series -6939, F0, AMD Radeon R9 200 Series -6939, 0, AMD Radeon R9 200 Series -6939, F1, AMD Radeon (TM) R9 380 Series -6980, 00, Radeon Pro WX3100 -6981, C0, 6981:C0 -6985, 00, AMD Radeon Pro WX3100 -6987, 80, AMD Embedded Radeon E9171 -6995, 00, AMD Radeon Pro WX2100 -6997, 00, Radeon Pro WX2100 -699F, 81, AMD Embedded Radeon E9170 Series -699F, C0, Radeon 500 Series -699F, C1, 699F:C1 -699F, C3, Radeon 500 Series -699F, C7, Radeon RX 550 Series -7300, C1, AMD FirePro (TM) S9300 x2 -7300, C8, AMD Radeon (TM) R9 Fury Series -7300, C9, Radeon (TM) Pro Duo -7300, CB, AMD Radeon (TM) R9 Fury Series -7300, CA, AMD Radeon (TM) R9 Fury Series -9874, C4, AMD Radeon R7 Graphics -9874, C5, AMD Radeon R6 Graphics -9874, C6, AMD Radeon R6 Graphics -9874, C7, AMD Radeon R5 Graphics -9874, 81, AMD Radeon R6 Graphics -9874, 87, AMD Radeon R5 Graphics -9874, 85, AMD Radeon R6 Graphics -9874, 84, AMD Radeon R7 Graphics -15DD, 81, AMD Radeon(TM) RX Vega 11 Graphics -15DD, 82, AMD Radeon(TM) RX Vega 8 Graphics -15DD, 83, AMD Radeon(TM) RX Vega 8 Graphics -15DD, 84, AMD Radeon(TM) RX Vega 6 Graphics -15DD, 85, AMD Radeon(TM) RX Vega 3 Graphics -15DD, 86, AMD Radeon(TM) RX Vega 11 Graphics -15DD, 88, AMD Radeon(TM) RX Vega 8 Graphics -15DD, C1, AMD Radeon(TM) RX Vega 11 Graphics
\ No newline at end of file diff --git a/common/recipes-graphics/drm/libdrm_git.bb b/common/recipes-graphics/drm/libdrm_git.bb deleted file mode 100644 index d516c526..00000000 --- a/common/recipes-graphics/drm/libdrm_git.bb +++ /dev/null @@ -1,56 +0,0 @@ -SUMMARY = "Userspace interface to the kernel DRM services" -DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \ -stands for \"Direct Rendering Manager\", which is the kernel portion of the \ -\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \ -accelerated OpenGL drivers." - -HOMEPAGE = "http://dri.freedesktop.org" -SECTION = "x11/base" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" -PROVIDES = "drm" -DRM_VERSION = "2.4.96" -PV = "${DRM_VERSION}+git${SRCPV}" - -inherit autotools pkgconfig - -SRCREV = "5a3bdc7add2f30f7673052376514c91dbcd1b64a" -DEPENDS = "libpthread-stubs udev libpciaccess freetype libxext cairo fontconfig libxrender libpng pixman" - -SRC_URI = "git://anongit.freedesktop.org/mesa/drm;branch=master \ - file://amdgpu.ids \ -" - -S = "${WORKDIR}/git" - -EXTRA_OECONF = "--disable-cairo-tests \ - --enable-omap-experimental-api \ - --enable-install-test-programs \ - --disable-manpages \ - --disable-valgrind \ - --enable-amdgpu \ - --enable-radeon \ - " - -ALLOW_EMPTY_${PN}-drivers = "1" -PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ - ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu" - -RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ - ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu" - -FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test" -FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*" -FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" -FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*" -FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" -FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*" -FILES_${PN}-kms = "${libdir}/libkms*.so.*" -FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" -FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.*" - -do_install_append() { - cp ${S}/include/drm/amdgpu_drm.h ${D}/usr/include/libdrm - install -vd ${D}/usr/share/libdrm - cp ${WORKDIR}/amdgpu.ids ${D}/usr/share/libdrm -} diff --git a/common/recipes-graphics/libva/libva-utils_2.1.0.bbappend b/common/recipes-graphics/libva/libva-utils_2.1.0.bbappend deleted file mode 100644 index 08c41975..00000000 --- a/common/recipes-graphics/libva/libva-utils_2.1.0.bbappend +++ /dev/null @@ -1 +0,0 @@ -DEPENDS_append_amd = " libva-x11" diff --git a/common/recipes-graphics/libva/libva-x11_2.1.0.bb b/common/recipes-graphics/libva/libva-x11_2.1.0.bb deleted file mode 100644 index fe8c7427..00000000 --- a/common/recipes-graphics/libva/libva-x11_2.1.0.bb +++ /dev/null @@ -1,43 +0,0 @@ -SUMMARY = "Package for dependency resolution between Mesa and Libva" -DESCRIPTION = "There exists a cyclic dependency between Mesa and Libva \ - when libva is built with glx enabled and mesa \ - is enabling its vaapi backend. This package strives \ - to cover up the dependency chain, by building the x11 components \ - of libva separately. So, libva-x11 -> mesa -> libva" - -HOMEPAGE = "https://01.org/linuxmedia/vaapi" -BUGTRACKER = "https://github.com/intel/libva/issues" - -SECTION = "x11" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" - -inherit autotools pkgconfig - -SRC_URI = "https://github.com/intel/${BPN}/releases/download/libva/libva-${PV}.tar.bz2" - -SRC_URI[md5sum] = "9d6e4f1d36c407566343e9dde5a972b8" -SRC_URI[sha256sum] = "f3fa953a11d3210c3a4ee79031abdbe0863d5ce13d9b3f93f315f1eec60a4b0f" - -S = "${WORKDIR}/libva-${PV}" - -DEPENDS = "libdrm virtual/mesa virtual/libx11 libxext libxfixes" - -EXTRA_OECONF = "--disable-wayland --disable-drm --enable-x11 --enable-glx" - -FILES_${PN}-dbg += "${libdir}/dri/.debug" - -do_install_append(){ - # Remove all the additional components that can cause a conflict with the - # actual libva package. - rm -rf ${D}${libdir}/libva.* - rm -rf ${D}${libdir}/pkgconfig/libva.* - cd ${D}${includedir}/va - rm -f va_dec_hevc.h va_enc_h264.h va_enc_vp8.h va_fei_hevc.h \ - va_tpi.h va_backend.h va_dec_jpeg.h va_enc_hevc.h \ - va_enc_vp9.h va_version.h va_backend_vpp.h va_dec_vp8.h \ - va_drmcommon.h va_enc_jpeg.h va_fei.h va.h va_vpp.h \ - va_compat.h va_dec_vp9.h va_egl.h va_enc_mpeg2.h \ - va_fei_h264.h va_str.h - cd - -} diff --git a/common/recipes-graphics/libva/libva_2.1.0.bbappend b/common/recipes-graphics/libva/libva_2.1.0.bbappend deleted file mode 100644 index f8ffae4a..00000000 --- a/common/recipes-graphics/libva/libva_2.1.0.bbappend +++ /dev/null @@ -1,8 +0,0 @@ -# Remove everything related to x11 -# we provide that through libva-x11 -PACKAGECONFIG_remove_amd = "x11" -EXTRA_OECONF_append_amd = " --disable-glx" -PACKAGES_remove_amd = "libva-x11 libva-glx" -# This package (without x11) is no more dependent on mesa -DEPENDS_remove_amd = "virtual/mesa" -RRECOMMENDS_${PN}_append_amd = " libva-utils" diff --git a/common/recipes-graphics/mesa-demos/mesa-demos_%.bbappend b/common/recipes-graphics/mesa-demos/mesa-demos_%.bbappend deleted file mode 100644 index fb3ac604..00000000 --- a/common/recipes-graphics/mesa-demos/mesa-demos_%.bbappend +++ /dev/null @@ -1,2 +0,0 @@ -DEPENDS_append_amd = " mesa-glut glew" -PACKAGECONFIG_append_amd = " glut glew glu" diff --git a/common/recipes-graphics/mesa/mesa/0001-configure.ac-adjust-usage-of-LLVM-flags.patch b/common/recipes-graphics/mesa/mesa/0001-configure.ac-adjust-usage-of-LLVM-flags.patch deleted file mode 100644 index a6599648..00000000 --- a/common/recipes-graphics/mesa/mesa/0001-configure.ac-adjust-usage-of-LLVM-flags.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 223ffdb659ceb8628e38003495b5c6550833b673 Mon Sep 17 00:00:00 2001 -From: Awais Belal <awais_belal@mentor.com> -Date: Thu, 26 Jul 2018 17:13:32 +0500 -Subject: [PATCH] configure.ac: adjust usage of LLVM flags - -The llvm-config is provided through a native build -so using flags from there creates conflicts between -mesa and llvm on the target. - -Signed-off-by: Awais Belal <awais_belal@mentor.com> ---- - configure.ac | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d1c8bb82da..290cc5f9f8 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1064,6 +1064,7 @@ strip_unwanted_llvm_flags() { - -e 's/[[[:space:]]]+-pedantic[[[:space:]]]/ /g' \ - -e 's/[[[:space:]]]+-W[[^[:space:]]]*//g' \ - -e 's/[[[:space:]]]+-O[[^[:space:]]]*//g' \ -+ -e 's/[[[:space:]]]+-D_GLIBCXX_USE_CXX11_ABI[[^[:space:]]]*//g' \ - -e 's/[[[:space:]]]+-g[[^[:space:]]]*//g' \ - -e 's/-fno-rtti[[[:space:]]]/-Fno-rtti /g' \ - -e 's/[[[:space:]]]+-f[[^[:space:]]]*//g' \ -@@ -2808,7 +2809,7 @@ dnl - if test "x$enable_llvm" = xyes; then - DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DMESA_LLVM_VERSION_PATCH=$LLVM_VERSION_PATCH" - -- LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags` -+ LLVM_LDFLAGS= - LLVM_CFLAGS=$LLVM_CPPFLAGS # CPPFLAGS seem to be sufficient - LLVM_CXXFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cxxflags"` - --- -2.11.1 diff --git a/common/recipes-graphics/mesa/mesa/0001-configure.ac-obey-llvm_prefix-if-available.patch b/common/recipes-graphics/mesa/mesa/0001-configure.ac-obey-llvm_prefix-if-available.patch deleted file mode 100644 index 76e152e7..00000000 --- a/common/recipes-graphics/mesa/mesa/0001-configure.ac-obey-llvm_prefix-if-available.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 8dc29db401030725ca0201ba03feb6238ec258f7 Mon Sep 17 00:00:00 2001 -From: Awais Belal <awais_belal@mentor.com> -Date: Fri, 20 Jul 2018 17:58:45 +0500 -Subject: [PATCH] configure.ac: obey llvm_prefix if available - -Signed-off-by: Awais Belal <awais_belal@mentor.com> ---- - configure.ac | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d1c8bb82da..92a83fec4a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2821,7 +2821,11 @@ if test "x$enable_llvm" = xyes; then - - if test $LLVM_VERSION_MAJOR -ge 4 -o $LLVM_VERSION_MAJOR -eq 3 -a $LLVM_VERSION_MINOR -ge 9; then - if test "x$enable_llvm_shared_libs" = xyes; then -- LLVM_LIBS="`$LLVM_CONFIG --link-shared --libs ${LLVM_COMPONENTS}`" -+ if test "x${llvm_prefix}" == "x"; then -+ LLVM_LIBS="`$LLVM_CONFIG --link-shared --libs ${LLVM_COMPONENTS}`" -+ else -+ LLVM_LIBS="`$LLVM_CONFIG --link-shared --libs ${LLVM_COMPONENTS} --tgtlibdir ${llvm_prefix}`" -+ fi - else - dnl Invoking llvm-config with both -libs and --system-libs produces the - dnl two separate lines - each for the set of libraries. --- -2.11.1 - diff --git a/common/recipes-graphics/mesa/mesa/0001-gallium-add-missing-PIPE_CAP_SURFACE_SAMPLE_COUNT-de.patch b/common/recipes-graphics/mesa/mesa/0001-gallium-add-missing-PIPE_CAP_SURFACE_SAMPLE_COUNT-de.patch deleted file mode 100644 index d40aaa98..00000000 --- a/common/recipes-graphics/mesa/mesa/0001-gallium-add-missing-PIPE_CAP_SURFACE_SAMPLE_COUNT-de.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ad0ef93a61be1ccd00e3b48bf6913bc2bffb3143 Mon Sep 17 00:00:00 2001 -From: Samuel Pitoiset <samuel.pitoiset@gmail.com> -Date: Fri, 7 Dec 2018 10:08:38 +0100 -Subject: [PATCH] gallium: add missing PIPE_CAP_SURFACE_SAMPLE_COUNT default - value -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes: 2710c40e3c8 ("gallium: Add new PIPE_CAP_SURFACE_SAMPLE_COUNT") -Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> -Tested-by: Michel Dänzer <michel.daenzer@amd.com> ---- - src/gallium/auxiliary/util/u_screen.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c -index 95d2a7d5701..6ca3992ecd1 100644 ---- a/src/gallium/auxiliary/util/u_screen.c -+++ b/src/gallium/auxiliary/util/u_screen.c -@@ -328,6 +328,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, - case PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET: - return 2047; - -+ case PIPE_CAP_SURFACE_SAMPLE_COUNT: -+ return 0; -+ - default: - unreachable("bad PIPE_CAP_*"); - } --- -2.11.1 - diff --git a/common/recipes-graphics/mesa/mesa_git.bb b/common/recipes-graphics/mesa/mesa_git.bb deleted file mode 100644 index 048ce06d..00000000 --- a/common/recipes-graphics/mesa/mesa_git.bb +++ /dev/null @@ -1,78 +0,0 @@ -require recipes-graphics/mesa/${BPN}.inc - -S = "${WORKDIR}/git" - -DEPENDS_append = " python-mako-native" -inherit pythonnative - -SRCREV_amd = "0144bbdb98f515cce31688fce57d769e7fd82d52" -LIC_FILES_CHKSUM_amd = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c4" -PV_amd = "19.0.0+git${SRCPV}" - -DEPENDS_append_amd = " libvdpau libomxil" - -PACKAGECONFIG[va] = "--enable-va,--disable-va,libva" -PACKAGECONFIG_append_amd = " xvmc gallium r600 gallium-llvm xa" -PACKAGECONFIG_append_radeon = " va" -PACKAGECONFIG_append_amdgpu = " va" - -PACKAGECONFIG_remove_amd = "vulkan" -PACKAGECONFIG_remove_amdfalconx86 = "xvmc" - -LIBVA_PLATFORMS = "libva" -LIBVA_PLATFORMS .= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' libva-x11', '', d)}" -LIBVA_PLATFORMS .= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libva-wayland', '', d)}" -RDEPENDS_mesa-megadriver += "${@bb.utils.contains('PACKAGECONFIG', 'va', '${LIBVA_PLATFORMS}', '', d)}" - -SRC_URI_amd = "git://anongit.freedesktop.org/mesa/mesa;branch=master \ - file://0001-configure.ac-obey-llvm_prefix-if-available.patch \ - file://0001-configure.ac-adjust-usage-of-LLVM-flags.patch \ - file://0001-gallium-add-missing-PIPE_CAP_SURFACE_SAMPLE_COUNT-de.patch" - -EXTRA_OECONF_append_amd = " \ - --enable-vdpau \ - --enable-osmesa \ - --enable-glx \ - --enable-omx-bellagio \ - --with-omx-bellagio-libdir=${libdir}/bellagio" -EXTRA_OECONF_remove_amd = "--enable-texture-float" - -# Package all the libXvMC gallium extensions together -# they provide the shared lib libXvMCGallium and splitting -# them up creates trouble in rpm packaging -PACKAGES =+ "libxvmcgallium-${PN} libxvmcgallium-${PN}-dev" -FILES_libxvmcgallium-${PN} = "${libdir}/libXvMC*${SOLIBS}" -FILES_libxvmcgallium-${PN}-dev = "${libdir}/libXvMC*${SOLIBSDEV} \ - ${libdir}/libXvMC*.la" - -PACKAGES =+ "libvdpau-${PN} libvdpau-${PN}-dev" -FILES_libvdpau-${PN} = "${libdir}/vdpau/libvdpau*${SOLIBS}" -FILES_libvdpau-${PN}-dev = "${libdir}/vdpau/libvdpau*${SOLIBSDEV} \ - ${libdir}/vdpau/libvdpau*.la" -FILES_${PN}-dbg += "${libdir}/vdpau/.debug" - -# -# libomx files are non-versioned so we put *.so directly in the -# main package as opposed to the -dev package. -# -PACKAGES =+ "libomx-${PN} libomx-${PN}-dev ${PN}-driconfigs" -FILES_libomx-${PN} = "${libdir}/bellagio/libomx_*.so" -FILES_libomx-${PN}-dev = "${libdir}/bellagio/libomx_*.la" -FILES_${PN}-driconfigs = "${datadir}/drirc.d/*" -FILES_${PN}-dbg += "${libdir}/bellagio/.debug" - -# Set DRIDRIVERS with anonymous python so we can effectively -# override the _append_x86-64 assignement from mesa.inc. -python () { - d.setVar("DRIDRIVERS", "swrast,radeon") - d.setVar("GALLIUMDRIVERS", "swrast,r300,r600,radeonsi") -} - -#because we cannot rely on the fact that all apps will use pkgconfig, -#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER -do_install_append() { - if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then - sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h - fi -} - diff --git a/common/recipes-graphics/vdpauinfo/vdpauinfo_1.0.bb b/common/recipes-graphics/vdpauinfo/vdpauinfo_1.0.bb deleted file mode 100644 index 7495859d..00000000 --- a/common/recipes-graphics/vdpauinfo/vdpauinfo_1.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "VDPAU info tool" -HOMEPAGE = "http://people.freedesktop.org" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://COPYING;md5=5b6e110c362fe46168199f3490e52c3c" - -SRC_URI = "http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-${PV}.tar.gz" -SRC_URI[md5sum] = "4eba3e7bf5062b9c245276860493804f" -SRC_URI[sha256sum] = "4054960b7ae618c351ff1ce3e7831b5cbda964ae1fbf9969b7146404d3044bc4" - -inherit autotools pkgconfig - -DEPENDS += "virtual/libx11 libvdpau mesa" - -RDEPENDS_${PN} += "libvdpau-mesa" diff --git a/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend b/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend deleted file mode 100644 index 3bb9fae6..00000000 --- a/common/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend +++ /dev/null @@ -1,6 +0,0 @@ -# Force X to be run on vt7 -do_install_append_amdgpu() { - if [ -f ${D}${sysconfdir}/default/xserver-nodm ]; then - echo "INPUT_EXTRA_ARGS=vt7" >> ${D}${sysconfdir}/default/xserver-nodm - fi -} diff --git a/common/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend b/common/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend deleted file mode 100644 index 8a8069ce..00000000 --- a/common/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -do_install_append_amd() { - # Do not install the boot time auto launcher - rm -rf ${D}${sysconfdir}/xdg/autostart -} diff --git a/common/recipes-graphics/xorg-app/xrandr/0001-Fixed-CRTC-disable-in-xrandr-causing-scale-issue.patch b/common/recipes-graphics/xorg-app/xrandr/0001-Fixed-CRTC-disable-in-xrandr-causing-scale-issue.patch deleted file mode 100644 index 3ba30c34..00000000 --- a/common/recipes-graphics/xorg-app/xrandr/0001-Fixed-CRTC-disable-in-xrandr-causing-scale-issue.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 3e946f562ba38993b57ea46bc7089c4f6bc7951b Mon Sep 17 00:00:00 2001 -From: Arsalan-Awan <Arsalan_Awan@mentor.com> -Date: Mon, 5 Mar 2018 18:37:37 +0500 -Subject: [PATCH] Fixed CRTC disable in xrandr causing scale issue - -Whenever scale value is increased when it is between 0.0 - 1.0 -and is kept within 0.0 - 1.0 range, the display does not expand -to fullscreen. It rather becomes smaller and leaves blank spaces on -the right and bottom sides. And the following error message shows up: - -X Error of failed request: BadMatch (invalid parameter attributes) - Major opcode of failed request: 139 (RANDR) - Minor opcode of failed request: 7 (RRSetScreenSize) - Serial number of failed request: 36 - Current serial number in output stream: 38 - -Before xrandr attempts to apply the transformation matrix requested -by "scale", "transform" or "scale-from" options, it disables the -CRTCs for which the transformed image's dimensions are larger than the -target display's resolution/mode. But, when the image is smaller, it -does not disable the CRTCs, and proceeds with applying the -transformation (involves framebuffer dimension changes). This works well -for all the scale values and transitions except for the above mentioned -transitions. - -This patch fixes such issues! - -Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com> ---- - xrandr.c | 31 +++++-------------------------- - 1 file changed, 5 insertions(+), 26 deletions(-) - -diff --git a/xrandr.c b/xrandr.c -index dcfdde0..d2872ef 100644 ---- a/xrandr.c -+++ b/xrandr.c -@@ -1723,8 +1723,7 @@ apply (void) - XGrabServer (dpy); - - /* -- * Turn off any crtcs which are to be disabled or which are -- * larger than the target size -+ * Turn off any crtcs which are to be disabled - */ - for (c = 0; c < res->ncrtc; c++) - { -@@ -1736,33 +1735,13 @@ apply (void) - continue; - - /* -- * If this crtc is to be left enabled, make -- * sure the old size fits then new screen -+ * Once the scale value is changed in xrandr, omitting the -+ * following if statement causes the display to fail to -+ * turn back ON after it goes to sleep due to inactivity. - */ - if (crtc->mode_info) -- { -- XRRModeInfo *old_mode = find_mode_by_xid (crtc_info->mode); -- int x, y, w, h; -- box_t bounds; -- -- if (!old_mode) -- panic (RRSetConfigFailed, crtc); -- -- /* old position and size information */ -- mode_geometry (old_mode, crtc_info->rotation, -- &crtc->current_transform.transform, -- &bounds); -- -- x = crtc_info->x + bounds.x1; -- y = crtc_info->y + bounds.y1; -- w = bounds.x2 - bounds.x1; -- h = bounds.y2 - bounds.y1; -- -- /* if it fits, skip it */ -- if (x + w <= fb_width && y + h <= fb_height) -- continue; - crtc->changing = True; -- } -+ - s = crtc_disable (crtc); - if (s != RRSetConfigSuccess) - panic (s, crtc); --- -2.7.4 - diff --git a/common/recipes-graphics/xorg-app/xrandr_1.5.0.bbappend b/common/recipes-graphics/xorg-app/xrandr_1.5.0.bbappend deleted file mode 100644 index a20e79d8..00000000 --- a/common/recipes-graphics/xorg-app/xrandr_1.5.0.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += " file://0001-Fixed-CRTC-disable-in-xrandr-causing-scale-issue.patch" diff --git a/common/recipes-graphics/xorg-driver/xf86-video-amd_git.bb b/common/recipes-graphics/xorg-driver/xf86-video-amd_git.bb deleted file mode 100644 index e773da57..00000000 --- a/common/recipes-graphics/xorg-driver/xf86-video-amd_git.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "X.Org X server -- AMD graphics chipsets driver" - -DESCRIPTION = "xf86-video-amd is an Xorg driver for AMD integrated \ -graphics chipsets. The driver supports depths 8, 15, 16 and 24. On \ -some chipsets, the driver supports hardware accelerated 3D via the \ -Direct Rendering Infrastructure (DRI)." - -require recipes-graphics/xorg-driver/xorg-driver-video.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=aabff1606551f9461ccf567739af63dc" - -DEPENDS += "virtual/libx11 drm dri2proto glproto \ - virtual/libgl xineramaproto libpciaccess \ -" - -PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" -PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor" - -SRC_URI_radeon = "git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati" -SRCREV_radeon = "5cbe1ee8e499e1b6b2646e341946292721d07e69" -PV_radeon = "radeon-7.8.0" -PACKAGECONFIG_append_radeon = " udev glamor" - -SRC_URI_amdgpu = "git://anongit.freedesktop.org/xorg/driver/xf86-video-amdgpu" -SRCREV_amdgpu = "9f37a44473ded8c669897379acbc750362c15ec6" -PV_amdgpu = "amdgpu-18.0.1" -PACKAGECONFIG_append_amdgpu = " udev glamor" - -PV = "git${SRCPV}" - -S = "${WORKDIR}/git" - -RDEPENDS_${PN} += "mesa-driver-radeon \ - mesa-driver-radeonsi \ - mesa-driver-swrast \ -" - -COMPATIBLE_HOST = '(i.86|x86_64).*-linux' - -PACKAGES += "${PN}-conf" -FILES_${PN}-conf = "${datadir}/X11" diff --git a/common/recipes-graphics/xorg-lib/libvdpau_1.1.1.bb b/common/recipes-graphics/xorg-lib/libvdpau_1.1.1.bb deleted file mode 100644 index bfb0dcf1..00000000 --- a/common/recipes-graphics/xorg-lib/libvdpau_1.1.1.bb +++ /dev/null @@ -1,39 +0,0 @@ -DESCRIPTION = "Implements VDPAU library" -HOMEPAGE = "http://people.freedesktop.org" -LICENSE = "MIT" -DEPENDS = "xtrans libx11 libxext libice libsm libxscrnsaver libxt \ - libxmu libxpm libxau libxfixes libxcomposite libxrender \ - libxcursor libxdamage libfontenc libxfont libxft libxi \ - libxinerama libxrandr libxres libxtst libxv libxvmc \ - libxxf86dga libxxf86vm libdmx libpciaccess libxkbfile \ - dri2proto \ - " -LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58" - -SRC_URI = "http://people.freedesktop.org/~aplattner/vdpau/libvdpau-${PV}.tar.gz" -SRC_URI[md5sum] = "ac8b21012035c04fd1ec8a9ae6934264" -SRC_URI[sha256sum] = "5fe093302432ef05086ca2ee429c789b7bf843e166d482d166e56859b08bef55" - -inherit autotools pkgconfig - -S = "${WORKDIR}/libvdpau-${PV}" - -FILES_${PN} += "${libdir}/vdpau/libvdpau_nouveau${SOLIBS} \ - ${libdir}/vdpau/libvdpau_r600${SOLIBS} \ - ${libdir}/vdpau/libvdpau_radeonsi${SOLIBS} \ - ${libdir}/vdpau/libvdpau_trace${SOLIBS} \ - " - -FILES_${PN}-dev += "${libdir}/vdpau/libvdpau_nouveau${SOLIBSDEV} \ - ${libdir}/vdpau/libvdpau_nouveau.la \ - ${libdir}/vdpau/libvdpau_r600${SOLIBSDEV} \ - ${libdir}/vdpau/libvdpau_r600.la \ - ${libdir}/vdpau/libvdpau_radeonsi${SOLIBSDEV} \ - ${libdir}/vdpau/libvdpau_radeonsi.la \ - ${libdir}/vdpau/libvdpau_trace${SOLIBSDEV} \ - ${libdir}/vdpau/libvdpau_trace.la \ - " - -FILES_${PN}-dbg += "${libdir}/vdpau/.debug" - -EXTRA_OECONF += "--enable-dri2" diff --git a/common/recipes-graphics/xorg-xserver/xserver-xf86-config/amd/xorg.conf b/common/recipes-graphics/xorg-xserver/xserver-xf86-config/amd/xorg.conf deleted file mode 100644 index edb7b36a..00000000 --- a/common/recipes-graphics/xorg-xserver/xserver-xf86-config/amd/xorg.conf +++ /dev/null @@ -1,107 +0,0 @@ -Section "Monitor" - Identifier "Monitor0" - VendorName "Monitor Vendor" - ModelName "Monitor Model" -EndSection - -Section "Device" - ### Available Driver options are:- - ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", - ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", - ### <percent>: "<f>%" - ### [arg]: arg optional - #Option "NoAccel" # [<bool>] - #Option "SWcursor" # [<bool>] - #Option "Dac6Bit" # [<bool>] - #Option "Dac8Bit" # [<bool>] - #Option "BusType" # [<str>] - #Option "CPPIOMode" # [<bool>] - #Option "CPusecTimeout" # <i> - #Option "AGPMode" # <i> - #Option "AGPFastWrite" # [<bool>] - #Option "AGPSize" # <i> - #Option "GARTSize" # <i> - #Option "RingSize" # <i> - #Option "BufferSize" # <i> - #Option "EnableDepthMoves" # [<bool>] - #Option "EnablePageFlip" # [<bool>] - #Option "NoBackBuffer" # [<bool>] - #Option "DMAForXv" # [<bool>] - #Option "FBTexPercent" # <i> - #Option "DepthBits" # <i> - #Option "PCIAPERSize" # <i> - #Option "AccelDFS" # [<bool>] - #Option "IgnoreEDID" # [<bool>] - #Option "CustomEDID" # [<str>] - #Option "DisplayPriority" # [<str>] - #Option "PanelSize" # [<str>] - #Option "ForceMinDotClock" # <freq> - #Option "ColorTiling" # [<bool>] - #Option "VideoKey" # <i> - #Option "RageTheatreCrystal" # <i> - #Option "RageTheatreTunerPort" # <i> - #Option "RageTheatreCompositePort" # <i> - #Option "RageTheatreSVideoPort" # <i> - #Option "TunerType" # <i> - #Option "RageTheatreMicrocPath" # <str> - #Option "RageTheatreMicrocType" # <str> - #Option "ScalerWidth" # <i> - #Option "RenderAccel" # [<bool>] - #Option "SubPixelOrder" # [<str>] - #Option "ClockGating" # [<bool>] - #Option "VGAAccess" # [<bool>] - #Option "ReverseDDC" # [<bool>] - #Option "LVDSProbePLL" # [<bool>] - Option "AccelMethod" "glamor" - #Option "DRI" # [<bool>] - #Option "ConnectorTable" # <str> - #Option "DefaultConnectorTable" # [<bool>] - #Option "DefaultTMDSPLL" # [<bool>] - #Option "TVDACLoadDetect" # [<bool>] - #Option "ForceTVOut" # [<bool>] - #Option "TVStandard" # <str> - #Option "IgnoreLidStatus" # [<bool>] - #Option "DefaultTVDACAdj" # [<bool>] - #Option "Int10" # [<bool>] - #Option "EXAVSync" # [<bool>] - #Option "ATOMTVOut" # [<bool>] - #Option "R4xxATOM" # [<bool>] - #Option "ForceLowPowerMode" # [<bool>] - #Option "DynamicPM" # [<bool>] - #Option "NewPLL" # [<bool>] - #Option "ZaphodHeads" # <str> - Identifier "Card0" - Driver "radeon" - BusID "PCI:0:1:0" -EndSection - -Section "Screen" - Identifier "Screen0" - Device "Card0" - Monitor "Monitor0" - SubSection "Display" - Viewport 0 0 - Depth 1 - EndSubSection - SubSection "Display" - Viewport 0 0 - Depth 4 - EndSubSection - SubSection "Display" - Viewport 0 0 - Depth 8 - EndSubSection - SubSection "Display" - Viewport 0 0 - Depth 15 - EndSubSection - SubSection "Display" - Viewport 0 0 - Depth 16 - EndSubSection - SubSection "Display" - Viewport 0 0 - Depth 24 - EndSubSection -EndSection - diff --git a/common/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/common/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend deleted file mode 100644 index 57926ab0..00000000 --- a/common/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ /dev/null @@ -1,43 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -# Additional options that you want -# to set in final xorg configuration. -# Convention is option,value. If there's -# no value requred simply skip just -# like DRI3. -AMDGPU_OPTS = "DRI3, TearFree,on" -RADEON_OPTS = "" - -do_install_append_amdgpu () { - if [ "${RT_KERNEL_AMD}" = "yes" ]; then - sed -i -e 's/^\tDriver "radeon"/\tDriver "fbdev"/' ${D}/${sysconfdir}/X11/xorg.conf - sed -i -e 's/^\tDriver "amdgpu"/\tDriver "fbdev"/' ${D}/${sysconfdir}/X11/xorg.conf - else - sed -i -e 's/^\tDriver "radeon"/\tDriver "amdgpu"/' ${D}/${sysconfdir}/X11/xorg.conf - sed -i -e 's/^\tDriver "fbdev"/\tDriver "amdgpu"/' ${D}/${sysconfdir}/X11/xorg.conf - set_xorg_opts "${AMDGPU_OPTS}" - fi -} - -do_install_append_radeon () { - if [ "${RT_KERNEL_AMD}" = "yes" ]; then - sed -i -e 's/^\tDriver "radeon"/\tDriver "fbdev"/' ${D}/${sysconfdir}/X11/xorg.conf - sed -i -e 's/^\tDriver "amdgpu"/\tDriver "fbdev"/' ${D}/${sysconfdir}/X11/xorg.conf - else - sed -i -e 's/^\tDriver "amdgpu"/\tDriver "radeon"/' ${D}/${sysconfdir}/X11/xorg.conf - sed -i -e 's/^\tDriver "fbdev"/\tDriver "radeon"/' ${D}/${sysconfdir}/X11/xorg.conf - set_xorg_opts "${RADEON_OPTS}" - fi -} - -set_xorg_opts() { - for opt_val in ${1}; do - opt=$(echo ${opt_val} | cut -d',' -f1) - val=$(echo ${opt_val} | cut -d',' -f2) - if [ "${val}" = "" ]; then - sed -i -e "/^\tIdentifier \"Card0\"/i \\\tOption \"${opt}\"" ${D}/${sysconfdir}/X11/xorg.conf - else - sed -i -e "/^\tIdentifier \"Card0\"/i \\\tOption \"${opt}\" \"${val}\"" ${D}/${sysconfdir}/X11/xorg.conf - fi - done -} diff --git a/common/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/common/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend deleted file mode 100644 index 9f8848f4..00000000 --- a/common/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor,libepoxy" -PACKAGECONFIG_append_amdgpu = " glamor xshmfence dri3" -PACKAGECONFIG_append_radeon = " glamor xshmfence" |