summaryrefslogtreecommitdiffstats
path: root/package/libdrm
Commit message (Collapse)AuthorAgeFilesLines
* package/libdrm: amdgpu needs MMUFabrice Fontaine2019-03-251-0/+1
| | | | | | | | | | | | amdgpu test uses fork() so disable amdgpu without MMU Fixes: - http://autobuild.buildroot.org/results/8d6194982c1080e173fcef8212fb06e6dc275d58 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 9972dc2e8295bbd0dba694bf970133ba99ad25f3) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.97Bernd Kuhls2019-01-252-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: add optional cunit dependencyMatt Weber2018-11-291-0/+3
| | | | | | | | | | | | | Previously the option to install tests would result in the test cases that don't have a cunit dependency, to build and be installed. This patch adds an optional dependency on cunit so that all test cases can be built and installed to target. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Thomas: keep as an optional dependency, as cunit is only useful for additional tests specific to the amdgpu backend] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libdrm: bump version to 2.4.96Bernd Kuhls2018-10-172-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libdrm: bump version to 2.4.95Bernd Kuhls2018-10-072-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.93Bernd Kuhls2018-08-012-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libdrm: bump version to 2.4.92Bernd Kuhls2018-05-112-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libdrm: bump version to 2.4.91Bernd Kuhls2018-03-072-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.90Bernd Kuhls2018-03-012-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: adjust patch switching to pkg-config for libatomic_opsBernd Kuhls2018-01-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | In commit fa6c7d165971e1f70b9ac94bae9cd1fd9180c072 ("libdrm: fix libatomic_ops linking"), a patch was added to switch to PKG_CHECK_MODULES() to detect libatomic_ops instead of AC_CHECK_HEADER. However, as explained in https://autotools.io/pkgconfig/pkg_check_modules.html: "In contrast with almost all of the original macros, though, the default action-if-not-found will end the execution with an error for not having found the dependency." This makes the configure script bail out when libatomic_ops is not available, which is not what we want in libdrm's configure script. This commit adjusts the PKG_CHECK_MODULES() call to avoid failing. Fixes: http://autobuild.buildroot.net/results/cea/cea777dc997f86c1122c8b818d264215a0e77e5a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: fix libatomic_ops linkingPeter Seiderer2018-01-022-1/+167
| | | | | | | | | | | | | | | | | Add patch 0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch provided by Thomas Petazzoni handling libatomic_ops linking when needed. Fixes [1]: CCLD etnaviv_cmd_stream_test ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_store_full_emulation' ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_fetch_compare_and_swap_emulation' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/92e074c49417261843eef95872ff935a56077c98 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.89Bernd Kuhls2017-12-182-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.88Bernd Kuhls2017-11-032-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.87Bernd Kuhls2017-10-312-3/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.85Bernd Kuhls2017-10-282-6/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libdrm: make Etnaviv arch-independentAlexey Brodkin2017-10-211-1/+0
| | | | | | | | Vivante GPU could be a part of SoC along with any CPU architecture thus get rid of nonsense dependency. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.84Bernd Kuhls2017-10-152-7/+7
| | | | | | | Changed _SITE to https. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: VC4 change dependency to arm OR aarch64Olivier Schonken2017-10-111-1/+1
| | | | | | | Enable selection of VC4 driver when compiling for Rpi3 using aarch64 Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.83Bernd Kuhls2017-08-242-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.82Bernd Kuhls2017-07-192-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.81Bernd Kuhls2017-05-312-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/l*/Config.in: fix ordering of statementsAdam Duskett2017-05-011-2/+2
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter l in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.80Bernd Kuhls2017-04-152-12/+7
| | | | | | | | | | | | Removed AUTORECONF, forgotten in 2.4.77 bump: https://git.buildroot.net/buildroot/commit/package/libdrm?id=137407a7f9a29daf6312a261bd50cf1d6d9622da Also removed host-xutil_util-macros which was only needed for autoreconf: https://git.buildroot.net/buildroot/commit/package/libdrm?id=3284e1e2b4984ac487e04d0d826a49351dc0fc38 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.79Bernd Kuhls2017-04-092-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.78Bernd Kuhls2017-04-072-3/+6
| | | | | | | | | | | Add additional md5, sha1 & sha256 hashes according to buildroot docs: http://buildroot.uclibc.org/downloads/manual/manual.html#adding-packages-hash > If upstream provides more than one type of hash (e.g. sha1 and sha512), > then it is best to add all those hashes in the .hash file. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.77Bernd Kuhls2017-04-063-34/+3
| | | | | | | | | | Replace sha256 hash by sha512. Removed patch 0003, applied upstream: https://cgit.freedesktop.org/mesa/drm/commit/?id=6796859fcce7b9d7157f066a8b0dac3ede6438dd Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: fix autoreconfYann E. MORIN2017-04-021-1/+2
| | | | | | | | | | | | | | | | | | | To properly autoreconf, the xorg macros, from host-xutil_util-macros, are needed. Fixes: http://autobuild.buildroot.org/results/2e8/2e887c25b22bd36eab36ff361645306c8ddb79aa/ http://autobuild.buildroot.org/results/7c0/7c0050d63a1d34eecb6d16e2654369cea561707a/ http://autobuild.buildroot.org/results/2ef/2ef3d6d74c56632c012b85e05af6eaf0259b72c9/ [...] (Thanks Romain for confirming the fix on IRC! ;-) ) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Cc: Romain Naour <romain.naour@openwide.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: fix linking of etnaviv_cmd_stream_testBernd Kuhls2017-04-022-0/+33
| | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/ http://autobuild.buildroot.net/results/c33/c3330ef9a8cadb46bbd31c5b14ece34f192133e3/ http://autobuild.buildroot.net/results/d18/d181bd044246646732a14815aae08337b0b5eecf/ http://autobuild.buildroot.net/results/4f5/4f5872211812c7e191cffcf41cab998fc20c0d20/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: add missing autoreconf=yes.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.76Bernd Kuhls2017-04-012-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.75Bernd Kuhls2017-01-282-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.74Bernd Kuhls2016-12-042-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.73Bernd Kuhls2016-11-272-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: add etnaviv (i.MX6/Vivante GCxxx) optionPeter Seiderer2016-10-052-0/+14
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.71Fabio Estevam2016-10-042-3/+3
| | | | | | Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.70Bernd Kuhls2016-07-232-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.69Bernd Kuhls2016-07-234-34/+3
| | | | | | | | | | Removed patch 0002, applied upstream: https://cgit.freedesktop.org/mesa/drm/commit/xf86drm.c?id=4031dc17bb728850c9b079c8d5f9cc0a379b9d46 Renumbered patch 0003. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: use 'menuconfig' instead of 'config'+'menu'Yann E. MORIN2016-07-041-5/+1
| | | | | | | Transform the menu prompt into a comment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: move tests programs to the bottomYann E. MORIN2016-07-041-5/+5
| | | | | | | | | | | Tests programs are not that important; at least, they're probably less important than the drivers selection. Move it down to after the drivers selection. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: improve atomic handling, fix SPARCv8 buildThomas Petazzoni2016-05-293-2/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit improves the handling of the "atomic stuff" in the libdrm package. libdrm can either use the atomic intrinsics (4 byte variant) when available, or otherwise can use libatomic_ops. Note that the dependency on atomic operations is not from libdrm itself, but only from some specific DRM drivers only. Amongst other things, it fixes the build of the libdrm package on SPARCv8, therefore fixing: http://autobuild.buildroot.org/results/74dd29b5ea146c320fde80a87a2fc910de9b7f60/ This commit does a number of changes that are all related to each other: - Removes the dependency of the Intel DRM driver on libatomic_ops. The Intel DRM driver builds perfectly fine without libatomic_ops, as long as 4-byte variant __sync operations are available, which is always the case on x86 and x86_84 (which are the only architectures on which the Intel DRM driver can be enabled). - Adds an hidden Config.in boolean option BR2_PACKAGE_LIBDRM_HAS_ATOMIC that allows DRM driver that need atomic operation to know whether atomic support is available (either through intrinsics or through libatomic_ops). - Adds an hidden BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC Config.in option that DRM drivers that need atomic operation should select to ensure that the relevant dependencies are selected. It simply selects libatomic_ops if 4-byte atomic intrinsics are not available. We could let each DRM driver do this, but having an intermediate option avoids a bit of duplication. - Adds a patch that defines AO_REQUIRE_CAS before including <atomic_ops.h>. This is needed because libdrm uses the AO_compare_and_swap_full() which is only provided on all architectures when AO_REQUIRE_CAS is defined. The exact same fix was done in the erlang package in commit 4a9df2942470241d7a96f326f0e7012aacd36f2e. - Adds the dependency on libatomic_ops when the package is enabled, and passes the necessary CFLAGS on SPARCv8 to make the thing build properly. The same CFLAGS are passed in the nginx package and bdwgc package. Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: bump version to 2.4.68Bernd Kuhls2016-04-282-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libdrm: add vc4 (Raspberry Pi) optionPeter Seiderer2016-03-312-0/+12
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: adjust the ARM patch to work on ARMv4/ARMv5Thomas Petazzoni2016-03-261-6/+15
| | | | | | | | | | | | | | | | | | | | | | | The ARM patch that was added in commit 94841d87fd2ff8ebf7af84d49e5095074958febf ("libdrm: fix support for xserver with Vivante drivers") makes the assumption that ldrex/strex is available on ARM. While this is true on ARMv6+, it is not true on ARMv4/ARMv5. Due to this, we had to make follow-up commits like 7bac31ceea1b52986b1773a1bd4841110672f923 ("package/x11r7/xserver_xorg-server: dri needs arm >= v6") and more is needed in the reverse dependencies to disable DRI usage on ARMv4/ARMv5. In fact, it turns out that the CAS code in libdrm is only an optimization, and it will gracefully fall back to a system call based lock/unlock mechanism. So we simply change the patch to only provide the optimized CAS implementation on ARMv6+. The original reason for this patch was to fix Vivante drivers, and Vivante GPUs are only used in ARMv6+ cores, so we should be fine (famous last words). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: reformat patch 0001 with GitThomas Petazzoni2016-03-261-5/+15
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.67Bernd Kuhls2016-02-212-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump version to 2.4.66Bernd Kuhls2016-01-132-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libdrm: Remove i386/x86_64 dependency from Nouveau driverBernd Kuhls2015-12-201-1/+0
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: update driver optionsPeter Seiderer2015-10-102-10/+33
| | | | | | | | | | | - add AMD GPU driver (available since 2.4.63) - freedreno is no longer experimental (since 2.4.59) - add NVIDIA Tegra driver (available since 2.4.59) - update help texts (install vs. installs, change to complete sentences) Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: Fix musl build error due to missing include of limits.hBernd Kuhls2015-09-281-0/+31
| | | | | | | | Fixes http://autobuild.buildroot.net/results/abb/abb935e7fe71369c593ae92b3acf4a2a674a0300/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump to version 2.4.65Bernd Kuhls2015-09-192-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdrm: bump to version 2.4.64Bernd Kuhls2015-08-282-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud