summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix a build race in src/intel/vulkanRoss Burton2018-05-152-0/+42
| | | | | | | (From OE-Core rev: 5681ba2e403afb6cea03662a2aca6b1834567ddc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: ensure all libwayland-egl* files are removedDenys Dmytriyenko2018-05-111-1/+1
| | | | | | | | | | | Wayland 1.15+ now ships libwayland-egl by itself, so Mesa should remove its instance. Previous commit 6e5952fcfc13ff4b63c9376bd41a1dbba957f425 only removed .so libraries, but left .la, which resulted in conflict. (From OE-Core rev: 7a1d0f532bb2a6772e24a9fd4515bd1f3ab15324) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Define PYTHON2Khem Raj2018-05-111-0/+1
| | | | | | | | | | | | | Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 (From OE-Core rev: c693b7ec8914460c891a5fb8bd36fb9401e62ac0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.8 -> 18.0.2Otavio Salvador2018-05-043-46/+2
| | | | | | | | | | | | | | | | | | | | | | This includes changes from Mesa 18.0.0 and 18.0.2 releases. Mesa 18.0.0 is a new development release and 18.0.1 and 18.0.2 are bug-fix releases. You can find release notes here: - https://mesa3d.org/relnotes/18.0.0.html - https://mesa3d.org/relnotes/18.0.1.html - https://mesa3d.org/relnotes/18.0.2.html Remove patch 0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch that was applied on upstream. (From OE-Core rev: c16bc7c9b1526ff4b9496af00ada08aa4109c0ef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade to 1.15.0Denys Dmytriyenko2018-05-041-3/+4
| | | | | | | | | | | | | | | | Official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future. Update mesa recipe by removing corresponding libwayland-egl entries. (From OE-Core rev: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg: Replace depreciated *proto depends with xorgprotoArmin Kuster2018-05-041-3/+3
| | | | | | | | | | This completes the transition to xorgproto. (From OE-Core rev: 9d236bd40ef8598c78c1ea807d658467700505e2) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update to use llvm 6.0Richard Purdie2018-04-051-1/+1
| | | | | | | | Adpat to the upgrade from 5.0 -> 6.0. (From OE-Core rev: dc52f9cf343df4c2d77bee0e47004466321e7edb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.7 -> 17.3.8Otavio Salvador2018-04-053-31/+2
| | | | | | | | | | | | | | | This version has been published at April 03, 2018, and it is a bugfix only release. The release includes several important fixes that were made as part of 18.0.1 development cycle. Full list of bug fixes can be see online at: https://www.mesa3d.org/relnotes/17.3.8.html (From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Prefer dri3 for x11/openglAndreas Müller2018-04-031-1/+1
| | | | | | | | | | | Adresses [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12642 (From OE-Core rev: 8509e2e1a87578882b71948ccef3b50ccf1228b3) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix unitialized modifier for DRI2Andreas Müller2018-04-032-0/+44
| | | | | | | | | | | | This came up whith disabled DRI3 on Raspi/VC4 [1] but might be important for other drivers: It fixes an improper initialization. [1] https://lists.freedesktop.org/archives/mesa-dev/2018-March/190562.html (From OE-Core rev: bfd5d2cefd56cb60b51b2bed57cb92dcfd5756c9) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virtual/libgbm: createTrevor Woerner2018-03-281-0/+1
| | | | | | | | | | | The 'glamor' PACKAGECONFIG in xserver-xorg creates a dependency on libgbm which can be satisfied in some cases by mesa, in others by blobs such as mali. (From OE-Core rev: 5f8050722169a931b8e9078b8757216ba7a84506) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: make PROVIDES conditional on PACKAGECONFIGTrevor Woerner2018-03-281-1/+6
| | | | | | | | | | | | Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG. Therefore make the PROVIDES conditional depending on whether or not these features have been enabled. (From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update Upstream-Status of a patchMaxin B. John2018-03-281-1/+1
| | | | | | | | | | | replace_glibc_check_with_linux.patch was accepted upstream with modifications. (From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.6 -> 17.3.7Otavio Salvador2018-03-282-2/+2
| | | | | | | | | | | | | | | | This version has been published at March 21, 2018, and it is a bugfix only release. It includes several important fixes that were made as part of 18.0.0 development cycle. Full list of bug fixes can be see online at: https://www.mesa3d.org/relnotes/17.3.7.html (From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove some EXCLUDE_FROM_WORLD assignmentsRoss Burton2018-03-151-3/+0
| | | | | | | | | | | Now that we have recipe-specific-sysroots we don't need to exclude recipes from world builds because they conflict with other recipes, as they'll all be built with their own sysroots. (From OE-Core rev: b2f3ac4d994a1921791f6bd0cdb3591586733694) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: refresh patchesRoss Burton2018-03-112-19/+13
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 0cff8ae54066b25ffbe1efaa3f0a1d84aa89ebe1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 17.3.5 -> 17.3.6Huang Qiyu2018-03-042-2/+2
| | | | | | | | | | Upgrade mesa form 17.3.5 to 17.3.6. (From OE-Core rev: 11504a13530f483c1955d0f28f92d510885e4cee) Signed-off-by: HuangQiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.3 -> 17.3.5Otavio Salvador2018-02-244-85/+2
| | | | | | | | | | | | | | | | | The 17.3.5 release, published in February 19th, 2018 to fix a critical regression from 17.3.4 release. They fix a number of issues since 17.3.3 release. The release notes can be seen at: https://www.mesa3d.org/relnotes/17.3.4.html https://www.mesa3d.org/relnotes/17.3.5.html (From OE-Core rev: 350ff6b0151afcca3a6e233d4840d41052bd826a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade 1.9 to 1.9.4 stable releaseOtavio Salvador2018-02-242-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | The 1.9.4 fixes a number of issues in the Go compiler and is important to get in before we start working on 1.10 inclusion. - go1.9.1 (released 2017/10/04) includes two security fixes. - go1.9.2 (released 2017/10/25) includes fixes to the compiler, linker, runtime, documentation, go command, and the crypto/x509, database/sql, log, and net/smtp packages. It includes a fix to a bug introduced in Go 1.9.1 that broke go get of non-Git repositories under certain conditions. - go1.9.3 (released 2018/01/22) includes fixes to the compiler, runtime, and the database/sql, math/big, net/http, and net/url packages. - go1.9.4 (released 2018/02/07) includes a security fix to “go get”. (From OE-Core rev: 150d9d3215bf5d3a21c3f141d4ce837557c5f9f1) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: don't use deprecated functions from utils.bbclassRoss Burton2018-01-301-1/+1
| | | | | | | | | | | These functions were moved to meta/lib/oe in 2010 and the base_* functions in utils.bbclass were intended to be a short-term compatibility layer. They're still used in a few places, so update the callers to use the new functions. (From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: link mesautil with pthreadsRandy MacLeod2018-01-262-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick fix from mesa upstream: 23ce168048 link mesautil with pthreads link mesautil with pthreads to avoid: ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_setname': /builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:66: undefined reference to `pthread_setname_np' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_join': /builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:336: undefined reference to `pthread_join' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create': /builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:48: undefined reference to `pthread_sigmask' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `thrd_create': /builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:296: undefined reference to `pthread_create' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_create': /builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask' /builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:50: undefined reference to `pthread_sigmask' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `call_once': /builddir/build/BUILD/mesa-17.3.1/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once' ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano': /builddir/build/BUILD/mesa-17.3.1/src/util/../../src/util/u_thread.h:84: undefined reference to `pthread_getcpuclockid' collect2: error: ld returned 1 exit status (From OE-Core rev: f878741d22fbd1582039738c21cf86942fb94327) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 17.3.2 -> 17.3.3 releaseOtavio Salvador2018-01-222-2/+2
| | | | | | | | | | | | | | The 17.3.3 release, published in January 18th, 2018. It fixes a number of issues since 17.3.2 release. The release notes can be seen at: https://www.mesa3d.org/relnotes/17.3.3.html (From OE-Core rev: 4e3e181dbe002ad17fc76c46c328f6f7df326f24) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: improve build reproducibilityMaxin B. John2018-01-182-0/+28
| | | | | | | | | | | Sort the output to ensure reproducibility. Fixes [YOCTO #12479] (From OE-Core rev: 287446f5c0f3108efc0429bf84be45413970b7a8) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.3.2 releaseOtavio Salvador2018-01-132-2/+2
| | | | | | | | | | | | | | The 17.3.2 release, published in January 9th, 2018. It fixes a number of issues since 17.3.1 release. The release notes can be seen at: - 17.3.2: https://www.mesa3d.org/relnotes/17.3.2.html (From OE-Core rev: aabb3bc2e150dccf01e283ed02a4701753b20362) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.3.1 releaseOtavio Salvador2018-01-038-114/+68
| | | | | | | | | | | | | | | | | | | The 17.3.1 release, published in December 21, 2017, is the first 17.3 stable release for use. It fixes a number of issues since 17.3.0 release. The release notes can be seen at: - 17.3.0: https://www.mesa3d.org/relnotes/17.3.0.html - 17.3.1: https://www.mesa3d.org/relnotes/17.3.1.html This commit has reworked few patches, to apply to the new source, and dropped the backported ones. (From OE-Core rev: 75ec119eabb625509121a329b8d0f9c3cf20e0aa) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.2.6 stable releaseOtavio Salvador2017-12-182-2/+2
| | | | | | | | | | | | | | This upgrades the recipe to 17.2.6 bugfix release. The changes can be seen at: https://www.mesa3d.org/relnotes/17.2.6.html (From OE-Core rev: 7e924e1607d8aad0f8d48f0be01931c468df2019) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa/screen: change patch statusHongxu Jia2017-12-021-1/+2
| | | | | | | | | | | The patch has been accepted upstream. Changed patch status Pending/Submitted -> Accepted. (From OE-Core rev: 23bc53b6894155c87b8fc86862b958bad3e3bf0c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.2.5Otavio Salvador2017-11-212-2/+2
| | | | | | | | | | | | | | This upgrades the recipe to 17.2.5 bugfix release. The changes can be seen at: https://www.mesa3d.org/relnotes/17.2.5.html (From OE-Core rev: 638b4ac5279225b89edcd411e39aa2c22617dcd5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.2.4 releaseOtavio Salvador2017-11-115-94/+4
| | | | | | | | | | | | | | | | | | Upgrade to a new stable release and drop patches applied on upstream. For a full release notes, please see: https://mesa3d.org/relnotes/17.2.0.html https://mesa3d.org/relnotes/17.2.1.html https://mesa3d.org/relnotes/17.2.2.html https://mesa3d.org/relnotes/17.2.3.html https://mesa3d.org/relnotes/17.2.4.html (From OE-Core rev: 77e79af4234ac0e96473d4691fd0f1ca759f3447) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: explictly add lib expat to intel libvulkan's lib dependsHongxu Jia2017-10-162-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | While built with "-fvisibility=default" ... |i586-oe-linux-gcc ... -fvisibility=default ... -o ommon/.libs/ common_libintel_common_la-gen_decoder.o ... It triggered the failure ... |i586-oe-linux-g++ ... common/.libs/libintel_common.a ... -o vulkan/.libs/libvulkan_intel.so |common/.libs/libintel_common.a(common_libintel_common_la-gen_decoder.o): |In function `start_element': |/usr/src/debug/mesa/2_17.1.7-r0/mesa-17.1.7/src/intel/common/gen_decoder.c:371: undefined reference to `XML_GetCurrentLineNumber' ... explictly add EXPAT_LIBS to intel's VULKAN_LIB_DEPS (From OE-Core rev: 12b65b38ca9617cf9162d032c73dd8f4b32cea81) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: Fix build after recent mesa PACKAGECONFIG changesJussi Kukkonen2017-09-051-1/+1
| | | | | | | | | | | 48d39cf43b added "opengl" PACKAGECONFIG option to mesa: before that the configuration was always enabled. "opengl" should have been added to mesa-gl default PACKAGECONFIG but wasn't: do it now. (From OE-Core rev: cc319b6dcc5b4a5019fb91c9771b12ce17f3c953) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Support building without openglJussi Kukkonen2017-08-303-7/+68
| | | | | | | | | | | | | | | | | mesa can build certain things without opengl: most importantly vulkan drivers. Add comments on the dependencies between the packageconfigs. Also add a few dependencies to packageconfigs. Modify default packageconfig to do the reasonable thing based on distro features. Add a backported patch to fix the build with --disable-opengl. Fix do_install_append() so it works even if dri drivers are not built. (From OE-Core rev: 48d39cf43b59c96d4deca783ec66686f5c8cd3e7) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.1.7 releaseOtavio Salvador2017-08-272-2/+2
| | | | | | | | | | | | | | | This is a bugfix release and has following upstream bugs as noteworth: Bug 101334 - AMD SI cards: Some vulkan apps freeze the system Bug 101766 - Assertion `!"invalid type"' failed when constant expression involves literal of different type Bug 102024 - FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported for D16_UNORM and D32_SFLOAT Bug 102148 - Crash when running qopenglwidget example on mesa llvmpipe win32 Bug 102241 - gallium/wgl: SwapBuffers freezing regularly with swap interval enabled (From OE-Core rev: 4d6b5b85508f1b55c9ae38a9a9bb82e060e3c793) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 17.1.6Andreas Müller2017-08-183-55/+2
| | | | | | | | | | | Optional installation of khrplatform.h was implemented upstream by a slightly different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch can be removed. (From OE-Core rev: 4473c9e846826bfb4f48cec9c6c7b1cad6666bb3) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with llvmpipe enabled on muslKhem Raj2017-08-182-1/+36
| | | | | | | (From OE-Core rev: d8adf829f3fb58a41235f05c04ce700bf5d55ba7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with vulkan on non-x86Jussi Kukkonen2017-08-161-1/+4
| | | | | | | | | | | | | The intel vulkan driver requires libdrm-intel: Only enable it when building for x86 or x86-64 similar to DRI drivers. Building on non-x86* with vulkan leads to "--with-vulkan-drivers= ": this is interpreted correctly by the build system. (From OE-Core rev: 8e50f002823772a989f0f39b0ecb8a84517c94f5) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa, llvm: Use native version of llvm-configKhem Raj2017-08-091-2/+2
| | | | | | | | | | | | We have a variable YOCTO_ALTERNATE_EXE_PATH to point to target sysroot, utilize this in mesa to use native version of llvm-config to report values from target sysroot. (From OE-Core rev: 1c4444f7b2f5cbcaaf6f9d21d7b4f86555ed746a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Depend on llvm-nativeKhem Raj2017-08-091-1/+1
| | | | | | | | | | We need to get llvm-config tool staged which is provided by llvm-native (From OE-Core rev: 0aadad61bf740bb9a1859381790ecc0f37490c34) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Use chrpath to delete rpathsKhem Raj2017-08-091-3/+4
| | | | | | | | | | | | It adds native sysroot chrpath due to llvm-config in cross compiling we can delete them via chrpath, since libs are in standard paths rpath is really not needed (From OE-Core rev: 1882726f61216c1a490370456c2e68efc3862052) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build when building with llvmpipeKhem Raj2017-07-315-2/+129
| | | | | | | | | | | | | | | | | | | | | Add following in mesa.inc to enable llvmpipe PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600" PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600" This would enable llvmpipe for swrast, to check run this root@qemux86:~# glxinfo | grep llvm Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff) OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 5.0, 128 bits) Backport patches to support llvm 5.0.0+ Add a patch to understand llvm version when llvm is build from git/svn (From OE-Core rev: da29bc17e4dd748f50b054c5e3afaf8d41bf4077) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.1.5 releaseOtavio Salvador2017-07-213-224/+2
| | | | | | | | | | | | | | | | | | | | This is a stable bugfix release. Following upstream bugs were fixed: Bug 100242 - radeon buffer allocation failure during startup of Factorio Bug 101657 - strtod.c:32:10: fatal error: xlocale.h: No such file or directory Bug 101666 - bitfieldExtract is marked as a built-in function on OpenGL ES 3.0, but was added in OpenGL ES 3.1 Bug 101703 - No stencil buffer allocated when requested by GLUT Also, the following patches were included in this release and as such deleted: - etnaviv_fix-shader-miscompilation.patch (From OE-Core rev: 6e23b9589cd2e35d865f5d5e3469ad251c263af1) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix build race on src/intel/vulkanRoss Burton2017-07-172-0/+38
| | | | | | | | | | It's possible that src/intel/vulkcan can be written into by sed before it has been created, so add the required mkdir calls. (From OE-Core rev: 19e793f65d214294baa9eeaf982f4ced351c7748) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: Clean recipeJussi Kukkonen2017-07-171-4/+0
| | | | | | | | | | | Don't EXCLUDE_FROM_WORLD, mesa.inc already does this. Don't add a non-existing path to FILESEXTRAPATHS. (From OE-Core rev: fa3e2b4c07dffd14b02741470ce274619e9a9bd6) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Avoid installing khrplatfrom.h when not neededJussi Kukkonen2017-07-172-0/+53
| | | | | | | | | | | | Fix the conflict between mesa and userland (when former is used to provide GL and letter used to provide EGL+GLES) by not installing khrplatform.h header when its not needed. (From OE-Core rev: 6a079bf5a446c2e98e7444e04dfadaff96342b4f) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Split --with-platforms from egl PACKAGECONFIGJussi Kukkonen2017-07-111-5/+7
| | | | | | | | | | | | | | | Mesa platforms no longer depend directly on egl. Current implementation breaks without egl with x11 (which can happen with mesa-gl). Separate the platform selection. Make drm platform depend on gbm PACKAGECONFIG by default. (From OE-Core rev: 622d683273bab66f0b4dd385d083bff9fb7bb1de) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa, gstreamer: Add "vulkan" DISTRO_FEATUREJussi Kukkonen2017-07-081-1/+2
| | | | | | | | | | It doesn't do much but does make enabling vulkan a little less fiddly. (From OE-Core rev: a5ed54e5253006ce3a5a74c1243c949a42642ff7) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: etnaviv: fix shader miscompilation with more than 16 labelsOtavio Salvador2017-07-082-0/+221
| | | | | | | | | | | | | | | | The labels array may change its virtual address on a reallocation, so it is invalid to cache pointers into the array. Rather than using the pointer directly, remember the array index. Fixes miscompilation of shaders in glmark2 ideas, leading to GPU hangs. This is a backport from 17.1.5. (From OE-Core rev: 7a0ababb9f5c7f09bf072412e0744dcf69534129) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 17.1.4 releaseOtavio Salvador2017-07-062-2/+2
| | | | | | | | | | | | | | | | | | | This includes following upstream bug fixes: Bug 77240 - khrplatform.h not installed if EGL is disabled Bug 95530 - Stellaris - colored overlay of sectors doesn't render on i965 Bug 96958 - [SKL] Improper rendering in Europa Universalis IV Bug 99467 - [radv] DOOM 2016 + wine. Green screen everywhere (but can be started) Bug 101071 - compiling glsl fails with undefined reference to `pthread_create' Bug 101252 - eglGetDisplay() is not thread safe Bug 101294 - radeonsi minecraft forge splash freeze since 17.1 Bug 101451 - [G33] ES2-CTS.functional.clipping.polygon regression (From OE-Core rev: f0762f5bad36b7d7d93f8f24bc64cdb0c0d36f09) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Avoid platform probing when building without EGLOtavio Salvador2017-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 17.1.2 release has changed the platform setting and when not explicitly disabled it assumes x11 support. Fixes: | checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no | configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met: | | No package 'x11-xcb' found | No package 'xcb' found | No package 'xcb-dri2' found | No package 'xcb-xfixes' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables XCB_DRI2_CFLAGS | and XCB_DRI2_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. The issue has been exposed by meta-freescale BSP. Fix tested with imx6qsabresd machine. (From OE-Core rev: 49c3dad38134857b31152bf76ebf2cd78c8a53c8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update to 17.1.3 releaseOtavio Salvador2017-06-283-38/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 17.1.2 release includes fixes for: Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks non-Vsync fullscreen frame updates Bug 100741 - Chromium - Memory leak Bug 100877 - vulkan/tests/block_pool_no_free regression Bug 101110 - Build failure in GNOME Continuous 17.1.3 release includes fixes for: Bug 100988 - glXGetCurrentDisplay() no longer works for FakeGLX contexts? The 17.1.3 release includes the "util/rand_xor: add missing include statements" which is now merged upstream (thanks Nicolas Dechesne); the referred patch is then dropped from the recipe. (From OE-Core rev: a7417bab21d0fbe0746d9e2b840aa2d576149639) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>