From df55c4e7e8fd3310e32373782b8572aab24d9ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 1 Feb 2024 16:59:59 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 libdrm revision 88ab78cb65906d50fb9f7e07a6b59a6d --- .gitattributes | 23 + baselibs.conf | 18 + libdrm-2.4.119.tar.xz | 3 + libdrm.changes | 2118 ++++++++++++++++++++++ libdrm.spec | 385 ++++ n_libdrm-drop-valgrind-dep-generic.patch | 10 + n_libdrm-drop-valgrind-dep-intel.patch | 11 + 7 files changed, 2568 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 libdrm-2.4.119.tar.xz create mode 100644 libdrm.changes create mode 100644 libdrm.spec create mode 100644 n_libdrm-drop-valgrind-dep-generic.patch create mode 100644 n_libdrm-drop-valgrind-dep-intel.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..3a049f0 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,18 @@ +libdrm2 +libdrm_freedreno1 +libdrm_intel1 +libdrm_nouveau2 +libdrm_etnaviv1 +libdrm_exynos1 +libdrm_omap1 +libdrm_radeon1 +libdrm_amdgpu1 +libdrm-devel + requires -libdrm- + requires "libdrm2- = " + targetarch arm requires "libdrm_freedreno1- = " + requires "libdrm_intel1- = " + requires "libdrm_nouveau2- = " + targetarch arm requires "libdrm_omap1- = " + requires "libdrm_radeon1- = " + requires "libdrm_amdgpu1- = " diff --git a/libdrm-2.4.119.tar.xz b/libdrm-2.4.119.tar.xz new file mode 100644 index 0000000..07aa9de --- /dev/null +++ b/libdrm-2.4.119.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a49f12f09b5b6e68eaaaff3f02ca7cff9aa926939b212d343161d3e8ac56291 +size 479108 diff --git a/libdrm.changes b/libdrm.changes new file mode 100644 index 0000000..73d8a9c --- /dev/null +++ b/libdrm.changes @@ -0,0 +1,2118 @@ +------------------------------------------------------------------- +Sat Jan 6 21:10:13 UTC 2024 - Stefan Dirsch + +- adjusted n_libdrm-drop-valgrind-dep-generic.patch, + n_libdrm-drop-valgrind-dep-intel.patch to fix build + +------------------------------------------------------------------- +Thu Dec 28 11:20:58 UTC 2023 - Dirk Müller + +- update to 2.4.119: + * add amdgpu_va_get_start_addr + +------------------------------------------------------------------- +Tue Nov 28 14:29:20 UTC 2023 - Stefan Dirsch + +- adjusted n_libdrm-drop-valgrind-dep-generic.patch, + n_libdrm-drop-valgrind-dep-intel.patch to fix build on sle15-sp6 + +------------------------------------------------------------------- +Sat Nov 25 10:09:47 UTC 2023 - Dirk Müller + +- update to 2.4.118: + * improve SMPTE color LUT accuracy + * util: factor out and optimize C8 SMPTE color LUT + * util: add support for DRM_FORMAT_C[124] + * util: store number of colors for indexed formats + * util: add SMPTE pattern support for C4 format + * util: add SMPTE pattern support for C1 format + * util: add SMPTE pattern support for C2 format + * modetest: add support for DRM_FORMAT_C[124] + * modetest: add SMPTE pattern support for C[124] formats + * intel: determine target endianness using meson + * util: fix 32 bpp patterns on big-endian + * util: fix 16 bpp patterns on big-endian + * util: add missing big-endian RGB16 frame buffer formats + * modetest: add support for parsing big-endian formats + * util: add test pattern support for big-endian XRGB1555/RGB565 + * util: fix pwetty on big-endian + * util: add pwetty support for big-endian RGB565 + * modetest: add support for big-endian XRGB1555/RGB565 + * modetest: add support for DRM_FORMAT_NV{15,20,30} + * modetest: switch usage to proper options grammar + * xf86drm: add drmGetNodeTypeFromDevId + * Sync headers with drm-next + * xf86drmMode: add drmModeCloseFB() + +------------------------------------------------------------------- +Fri Nov 17 13:42:06 UTC 2023 - Stefan Dirsch + +- adjusted n_libdrm-drop-valgrind-dep-generic.patch, + n_libdrm-drop-valgrind-dep-intel.patch + +------------------------------------------------------------------- +Wed Nov 15 10:17:45 UTC 2023 - Dirk Müller + +- use valgrind support only on 64bit platforms + +------------------------------------------------------------------- +Fri Oct 20 11:48:41 UTC 2023 - Stefan Dirsch + +- Update to 2.4.117 + * modetest: print modifiers in hex as well + * modetest: custom mode support + * meson: fix intel requirements + * meson: Use feature.require() and feature.allowed() + * meson: replace deprecated program.path -> program.full_path + * modetest: avoid erroring if there's no gamma legacy support + * amdgpu: Fix pointer/integer mismatch warning + * amdgpu: Use PRI?64 to format uint64_t + * util: add NV24 and NV42 frame buffer formats + * util: add pattern support for DRM_FORMAT_NV{24,42} + * modetest: add support for DRM_FORMAT_NV{24,42} + * util: fix grey in YUV SMPTE patterns + * modetest: fix mode_vrefresh() for interlace/dblscan/vscan + * util: remove unused definitions of RED, GREEN, and BLUE + * amdgpu: add marketing names from amd-5.4.6 (22.40.6) + * amdgpu: add marketing names from amd-5.5.1 (23.10.1) + * amdgpu: add marketing names from PRO Edition 23.Q3 W7000 + * amdgpu: add marketing names from Adrenalin 23.7.2 + * amdgpu: add marketing names from Adrenalin 23.9.1 + * modetest: document why no blob is created for linear gamma LUT + * modetest: allocate and commit atomic request around set_property() + * modetest: permit -r and -s to work together + * modetest: allow using -r and -P + * modetest: add support for writeback connector + * amdgpu: amdgpu_drm.h for new GPUVM fault ioctl + * amdgpu: add support for querying VM faults information + * xf86drm: mark DRM_MAX_MINOR as deprecated + * ci: bump FreeBSD to 13.2 + +------------------------------------------------------------------- +Thu Sep 21 08:29:29 UTC 2023 - Stefan Dirsch + +- provide/obsolete dropped packages libkms1/libkms-devel (bsc#1215526) + +------------------------------------------------------------------- +Wed Sep 20 14:10:11 UTC 2023 - Stefan Dirsch + +- adjusted n_libdrm-drop-valgrind-dep-generic.patch, + n_libdrm-drop-valgrind-dep-intel.patch to generated 2.4.116 + pkgconfig files in order to fix build against sle15/Leap 15.x + +------------------------------------------------------------------- +Sat Aug 26 14:35:14 UTC 2023 - Stefan Dirsch + +- Update to 2.4.116 + * nouveau: add interface to make buffer objects global + * xf86drm: update DRM_NODE_NAME_MAX supporting more nodes + * xf86drm: use drm device name to identify drm node type + * meson: drop pthread-stubs dependency on BSDs + * amdgpu: add marketing names from amd-5.4.3 (22.40.3) + * tests/amdgpu: Fix Usage string + * tests/amdgpu: Add all 9 options to the help output + * tests/amdgpu: Allow to exclude a test or a suite of tests + * amdgpu: add an environment variable that overrides the context priority + * amdgpu: remove va::dev member + * tests/amdgpu/vcn: change vbv_buffer name to input + * tests/amdgpu/vcn: fix drm test failure + * tests/amdgpu/vcn: fix session buffer issue for vcn1-vcn3 + * tests/amdgpu/vcn:update decoder unit test + * xf86drm: bump DRM_MAX_MINOR to 64 + * xf86drm: drop control nodes implementation + * Sync headers with drm-next + * xf86drm: add drmSyncobjEventfd + * build: bump version to 2.4.116 + * xf86drmMode: constify drmModeCrtcSetGamma + * tests/util: Add vkms driver + * test/amdgpu/hotunplug: add apu check for hotplug test + +------------------------------------------------------------------- +Sat Feb 11 22:02:43 UTC 2023 - Hans-Peter Jansen + +- Adjust the n_libdrm-drop-valgrind* patches accordingly + +------------------------------------------------------------------- +Thu Feb 9 14:01:51 UTC 2023 - Stefan Dirsch + +- Update to 2.4.115 + * mdgpu: add marketing names from amd-5.4 (22.40) + * amdgpu: add some additional marketing names + * tests/amdgpu: use AMDGPU_TIMEOUT_INFINITE to query fence + * intel: Eliminate need to keep adding PCI IDs + * drm_fourcc: sync drm_fourcc with latest drm-next kernel + * xf86drm: Add support for decoding Vivante format modifiers + * tests/amdgpu/jpeg: enable unit test for jpeg 4 + * xf86drm: fix warning in drmGetFormatModifierNameFromVivante() + * xf86drm: add support for printing AMD GFX11 modifiers + +------------------------------------------------------------------- +Wed Nov 23 14:20:46 UTC 2022 - Dominique Leuenberger + +- Apply n_libdrm-drop-valgrind-dep-generic.patch and + n_libdrm-drop-valgrind-dep-intel.patch only when the build uses + meson < 0.64. With meson 0.64, we don't get the dependency on + valgraind added. + +------------------------------------------------------------------- +Tue Nov 22 11:03:49 UTC 2022 - Stefan Dirsch + +- split n_libdrm-drop-valgrind-dep.patch into + n_libdrm-drop-valgrind-dep-generic.patch and + n_libdrm-drop-valgrind-dep-intel.patch to fix build on s390 and + armv7l + +------------------------------------------------------------------- +Tue Nov 22 10:39:52 UTC 2022 - Dominique Leuenberger + +- Only apply libdrm-drop-valgrind-dep.patch if valgrnid_support is + enabled (fix build on e.g. aarch64). + +------------------------------------------------------------------- +Tue Nov 22 10:18:27 UTC 2022 - Stefan Dirsch + +- renamed libdrm-drop-valgrind-dep.patch to + n_libdrm-drop-valgrind-dep.patch in order to mark it as 'never + to be upstreamed' + +------------------------------------------------------------------- +Tue Nov 22 08:26:28 UTC 2022 - Dominique Leuenberger + +- Add libdrm-drop-valgrind-dep.patch (as source): drop dependency + on valgrind on generated pkgconfig files. The .pc files are + auto-generated by meson and are 'technically' correct, but we do + not want to inject valgrind here (we can get away with this hack + as it's only relevant when using pkg-config --static, and we + do not provide static libs anyway). + +------------------------------------------------------------------- +Thu Nov 3 15:11:15 UTC 2022 - Stefan Dirsch + +- Update to 2.4.114 + * amdgpu.ids: use consistent formatting for RID + * amdgpu.ids: sort the file + * amdgpu.ids: update to the latest marketing name + * amdgpu_ids: add MI marketing names + * amdgpu: Add a default marketing name if none is found + * meson: fast-fail on unsupported OSes + * include/drm/drm_fourcc.h: Update from Linux v6.0-rc7 + * include/drm/i915_drm.h: Update from Linux v6.0-rc7 + * tests/util: add imx-lcdif driver + * intel: move declarations to top in drm_intel_gem_bo_unreference() + * build: automatically disable Intel if pciaccess is not found + * xf86drm: handle DRM_FORMAT_BIG_ENDIAN in drmGetFormatName() + * amdgpu: silence uninitialized variable warning + * xf86drmMode: add helpers for dumb buffers + * modetest: drop unused offset field in struct bo + * modetest: use sized integers in struct bo + * modetest: use dumb buffer helpers + +------------------------------------------------------------------- +Tue Sep 13 10:34:04 UTC 2022 - Stefan Dirsch + +- disabled intel driver on s390x + +------------------------------------------------------------------- +Mon Sep 12 19:11:13 UTC 2022 - Dirk Müller + +- update to 2.4.113: + * amdgpu: update marketing names + * sync i915_pciids with kernel + * atomic: fix atomic_add_unless() fallback's return value + * intel: Avoid aliasing violation + * intel: Hook up new platforms IDs + * meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures + * modetest: use drmGetFormatName() + * lots of testsuite and CI improvements +- enable intel support everywhere as there are now discrete intel GPUs +- enable vc4 support on armv7/aarch64 +- simplify valgrind support ifdefery + +------------------------------------------------------------------- +Fri Jul 22 21:42:48 UTC 2022 - Dirk Müller + +- update to 2.4.112: + * xf86drmMode: introduce drmModeConnectorGetPossibleCrtcs + * xf86drmMode: introduce drmModeGetConnectorTypeName + * xf86drmMode: constify drmModeAtomicReq functions + * gen_table_fourcc: strip _MODIFIER suffix for INVALID + * testsuite fixes + +------------------------------------------------------------------- +Fri Jun 3 20:16:41 UTC 2022 - Stefan Dirsch + +- update to 2.4.111 + * bugfixes + * drops libkms +- added tegra-* tools on aarch64 to spefile + +------------------------------------------------------------------- +Mon Feb 28 19:26:25 UTC 2022 - Dirk Müller + +- update to 2.4.110: + * build system updates + * amdgpu: implement new CTX OP to set/get stable pstates + * amdgpu: update_drm for new CTX OP to set/get stable pstates + * intel: Add support for ADL-N + * intel: Add support for RPLS platform + * intel: sync pciids with Linux kernel + * update to tests + +------------------------------------------------------------------- +Fri Nov 26 18:18:16 UTC 2021 - Dirk Müller + +- update to 2.4.109: + * amdgpu: add new function to get fd + * radeon: remove duplicate struct declaration + * xf86drm: fix compiler warnings + * ci fixes + +------------------------------------------------------------------- +Wed Nov 24 20:50:50 UTC 2021 - Dirk Müller + +- update to 2.4.108: + * amdgpu: add amdgpu_stress utility v2 + * amdgpu: add marketing names from 21.30 + * amdgpu: add new marketing name + * amdgpu: Make marketing names consistent + * amdgpu: use drmCloseBufferHandle + * build: bump version to 2.4.108 + * drm_fourcc: sync drm_fourcc with latest drm-next kernel + * etnaviv: use drmCloseBufferHandle + * exynos: use drmCloseBufferHandle + * Fix -Werror=format build errors on FreeBSD + * freedreno: use drmCloseBufferHandle + * headers: drm: Sync with drm-next + * intel: Do not assert on unknown chips in drm_intel_decode_context_alloc + * intel: Drop legacy execbuffer support + * intel: sync ADL-S PCI IDs with kernel + * intel: Sync pci ids + * intel: use drmCloseBufferHandle + * man: refer to drmCloseBufferHandle instead of DRM_IOCTL_GEM_CLOSE + * meson: Build libdrm.so as an unversioned lib on Android. + * meson: Don't build libkms for Android. + * nouveau: print bo address in the GPU/CPU vm and its size + * nouveau: use drmCloseBufferHandle + * omap: use drmCloseBufferHandle + * radeon: use drmCloseBufferHandle + * tegra: use drmCloseBufferHandle + * test/amdgpu: Bob to Alice copy should be TMZ in secure bounce test + * tests/amdgpu: Fix TMZ secure bounce test + * xf86drm: add GEM_CLOSE ioctl wrapper + * xf86drm: add iterator API for DRM/KMS IN_FORMATS blobs + * xf86drm: fix mem leak in drm_usb_dev_path() + * xf86drmMode: make drm_property_type_is arg const + * xf86drmMode: simplify drm_property_type_is + * xf86drmMode: switch to standard inline qualifier + * xf86drm: Update drmGetFormatModifierNameFromArm to handle AFRC + +------------------------------------------------------------------- +Mon Sep 27 13:39:28 UTC 2021 - Stefan Dirsch + +- covers jira#SLE/SLE-18743 + +------------------------------------------------------------------- +Sun Jul 11 12:57:54 UTC 2021 - Tobias Klausmann + +- Update to version 2.4.107: + * amdgpu: update marketing names + * tests/amdgpu: Fix valgrind warning + * test/amdgpu: Add helper functions for hot unplug + * test/amdgpu/hotunplug: Add test suite for GPU unplug + * tests/amdgpu/hotunplug: Add unplug with cs test. + * tests/amdgpu/hotunplug: Add hotunplug with exported bo test + * tests/amdgpu/hotunplug: Add hotunplug with exported fence + * amdgpu: Add vamgr for capture/replay. + * include in xf86drmMode when the OS is FreeBSD + * _WANT_KERNEL_ERRNO must be defined in FreeBSD for ERESTART to be used + * Conditionally include and on Linux, BSD + * Revert "tests/amdgpu: fix bo eviction test issue" + * xf86drm: Add a human readable representation for format modifiers + * xf86drm: Add a vendor function to decode the format modifier + * xf86drm: Add support for decoding Nvidia format modifiers + * xf86drm: Add support for decoding AMD format modifiers + * xf86drm: Add support for decoding AMLOGIC format modifiers + * README.rst: Include some notes about syncing uapi headers + * amdgpu: Added product name for E9390,E9560 and E9565 dgpu + * intel: Add support for ADLP + +------------------------------------------------------------------- +Wed May 19 08:13:47 UTC 2021 - Paolo Stivanin + +- Update to 2.4.106: + * various nouveau fixes + * improve tests + +------------------------------------------------------------------- +Wed Apr 7 23:25:55 UTC 2021 - Dirk Müller + +- update to 2.4.105: + * amdgpu: add function of INFO ioctl for querying video caps + * amdgpu: sync up amdgpu_drm.h with latest from kernel + * xf86drmMode: set FB_MODIFIERS flag when modifiers are supplied + * xf86drmMode: introduce drmModeGetPropertyType + * intel: Keep libdrm working without pread/pwrite ioctls + * xf86drm: fix null pointer deref in drmGetBufInfo + * intel: Add support for JSL + * xf86drm: warn about GEM handle reference counting + * xf86drmMode: add drmIsKMS + * intel: add INTEL_ADLS_IDS to the pciids list + * intel: sync i915_pciids.h with kernel + * amdgpu: update marketing names + * tests and build system fixes + +------------------------------------------------------------------- +Sun Jan 24 11:45:41 UTC 2021 - Stefan Dirsch + +- reenabled build of manual pages (switch from xsltproc to rst2man) + +------------------------------------------------------------------- +Sun Jan 24 09:45:03 UTC 2021 - Dirk Müller + +- update to 2.4.104: + * headers: drm: Sync with drm-next + * Remove outdated comments about stdint.h + * Remove definitions duplicated from drm_mode.h + * xf86drmMode.h use ANSI C99 arrays + * Document drmModeConnection + * man: convert to reSTructuredText + * testsuite fixes + +------------------------------------------------------------------- +Wed Jan 6 16:03:04 UTC 2021 - Dirk Müller + +- update to 2.4.103: + * xf86drm.c: Use integer logarithm. + * amdgpu: only enable security tests on raven family + * amdgpu: sync up amdgpu_drm.h with latest from kernel + * amdgpu: add marketing names from 20.40 + * intel: add INTEL_DG1_IDS to the pciids list + * amdgpu: add device IDs for Raven, Picasso and Renoir + * intel: sync i915_pciids.h with kernel + * amdgpu: Add Device IDs for Embedded Raven2 platforms + * intel: sync i915_pciids.h with kernel + * xf86drm.c: fix build failure + * core: use `O_RDONLY` instead of ambiguous `0` flag + * lots of tests/amdgpu updates + +------------------------------------------------------------------- +Mon Aug 31 17:30:37 UTC 2020 - Stefan Dirsch + +- version 2.4.102 needed for jira#SLE/SLE-12880, jira#SLE/SLE-12882 + +------------------------------------------------------------------- +Wed May 27 12:23:01 UTC 2020 - Stefan Dirsch + +- upgrade to version 2.4.102 + * lots of FreeBSD and modetest stuff + +------------------------------------------------------------------- +Mon Apr 20 13:57:17 UTC 2020 - Philipp Seiler + +- upgrade to version 2.4.101 + * adds some new AMD GPUs + +------------------------------------------------------------------- +Thu Nov 7 11:37:12 UTC 2019 - Stefan Dirsch + +- This release includes support for latest Intel GPUs + (jsc#SLE-7962, jsc#SLE-8024, jsc#SLE-8022, jsc#SLE-10182, + jsc#SLE-4989, jsc#SLE-4983, bsc#1137515) + +------------------------------------------------------------------- +Wed Oct 30 11:51:37 UTC 2019 - Stefan Dirsch + +- Update to version 2.4.100 + * bugfixes (boo#1155382) + +------------------------------------------------------------------- +Wed Jul 3 09:40:25 UTC 2019 - Stefan Dirsch + +- Update to version 2.4.99 + * bug fixes + +------------------------------------------------------------------- +Tue Apr 23 10:37:10 UTC 2019 - Stefan Dirsch + +- Update to version 2.4.98 + * This release adds marketing names for AMDGPU devices, a + fallback path in drmDevice for devices lacking OF data + and drmIsMaster API, amongst other changes. + +------------------------------------------------------------------- +Mon Feb 11 21:04:37 UTC 2019 - sndirsch@suse.com + +- back to subpackage name libdrm-tools as requested by + jengelh@inai.de + +------------------------------------------------------------------- +Thu Jan 24 18:58:02 UTC 2019 - bjorn.lie@gmail.com + +- Switch to meson buildsystem: + * Update Git-clone/web to new gitlab home. + * Add meson BuildRequires and macros. + * Add fdupes BuildRequires and macros, remove duplicate files. + * Rename libdrm-tools to drm-tools, follow openSUSE packaging + guidelines and silence a rpmlint warning. Add Obsoletes and + Provides to ensure smooth upgrades. + * Tweak descriptions for several sub-packages. + * Drop custom test install and run, run plain meson_test provided + by upstream. + +------------------------------------------------------------------- +Tue Jan 22 19:17:58 UTC 2019 - sndirsch@suse.com + +- Update to version 2.4.97 + * amdgpu: update to latest marketing names from 18.50 + * amdgpu/test: Add illegal register and memory access test v2 + * amdgpu/test: Disable deadlock tests for all non gfx8/9 ASICs. + * amdgpu/test: Enable deadlock test for CI family (gfx7) + * amdgpu: add VM test to exercise max/min address space + * doc: Rename README&CONTRIBUTING to .rst + * Avoid hardcoded strlens in drmParseSubsystemType(). + * drm: Attempt to parse SPI devices as platform bus devices. + * xf86drmHash: remove unused loop variable + * meson: fix typo in compiler flag + * tests: skip drmdevice test if the machine doesn't have any drm device + * freedreno: remove always-defined #ifdef + * xf86atomic: #undef internal define + * README: reflow the project description to improve readability + * xf86drm: implement drmParseSubsystemType for DragonFly + * libdrm: Use DRM_IOCTL_GET_PCIINFO on DragonFly + * tests/amdgpu/vcn: fix the nop command in IBs + * gitignore: sort file + * gitignore: add _build + * amdgpu: update amdgpu_drm.h + * amdgpu: add a faster BO list API + * android: Fix 32-bit app crashing in 64-bit Android + +------------------------------------------------------------------- +Wed Dec 19 13:46:33 UTC 2018 - Guillaume GARDET + +- Enable aarch64 build for: etnaviv, exynos and tegra + +------------------------------------------------------------------- +Wed Dec 19 08:47:22 UTC 2018 - Guillaume GARDET + +- Fix --enable-freedreno option as it is not experimental anymore +- Add etnaviv support +- Add exynos support (used by Arndale board and Samsung Chromebook) + +------------------------------------------------------------------- +Wed Oct 17 14:29:54 UTC 2018 - sndirsch@suse.com + +- Update to version 2.4.96 + * libdrm: Allow dynamic drm majors on linux + * amdgpu/test: Allow BO mapping flags to be passed in tests + * amdgpu/test: Fix deadlock tests for AI and RV v2 + * xf86drmHash: remove redundant zero init + * freedreno/msm: get rid of ring_bo unref hack + * freedreno: expose refcnt'ing on ringbuffers + * freedreno: add flags param for rb creation + * freedreno/msm: support suballocation for stateobj rb's + * freedreno: remove deprecated ringmarker API + * freedreno/msm: remove reset of linked rings + * freedreno/msm: simplify emit_reloc_ring() vfunc + * freedreno/msm: use hashtable to track submit.cmds table + * freedreno/msm: simplify msm_ringbuffer_flush() + * freedreno/msm: handle ring-reloc to other stateobjs + * freedreno/kgsl: fix build + * freedreno/msm: fix c90 warning + +------------------------------------------------------------------- +Sun Oct 7 09:41:26 UTC 2018 - sndirsch@suse.com + +- Update to version 2.4.95 + * This release adds a fallback for realpath() which was blocked by the + web-browser sand-boxing. While the browsers are fixed-up they seem to have + little incentive to roll bugfix releases :-\ + +------------------------------------------------------------------- +Sat Aug 4 14:06:14 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Upate to version 2.4.93: + + amdgpu: make sure to set CLOEXEC on duplicated FDs + + xf86drm: drmGetDevice2: error out if the fd has unknown subsys + + xf86drm: introduce drm_device_has_rdev() helper + + xf86drm: Fold drmDevice processing into process_device() helper + + xf86drm: Allocate drmDevicePtr's on stack + + xf86drm: introduce a get_real_pci_path() helper + + xf86drm: Add drmDevice support for virtio_gpu + + tests/drmdevices: install alongside other utilities + + tests/drmdevice: add a couple of printf headers + + drmdevice: convert the tabbed output into a tree + + drmdevice: print the correct host1x information + + amdgpu: Take a lock before removing devices from fd_tab hash table. + + amdgpu/util_hash_table: Add helper function to count the number of entries in hash table + + amdgpu: Destroy fd_hash table when the last device is removed. + + intel: Introducing Whiskey Lake platform + + intel: Introducing Amber Lake platform + + xf86drm: Be sure to closedir before return + + amdgpu: don't call add_handle_to_table for KMS BO exports + + amdgpu: add amdgpu_bo_handle_type_kms_noimport + + xf86drm: Fix error path in drmGetDevice2 + + Always pass O_CLOEXEC when opening DRM file descriptors + + Revert "amdgpu: don't call add_handle_to_table for KMS BO exports" + + freedreno: add user ptr to fd_ringbuffer + + freedreno: add fd_ringbuffer_new_object() + + freedreno: small cleanup + + freedreno: slight reordering + + freedreno/msm: "stateobj" support + +------------------------------------------------------------------- +Thu May 10 06:51:58 UTC 2018 - mimi.vx@gmail.com + +- update to 2.4.92 + + drm/atomic: Refuse to add invalid objects to requests + + freedreno: add missing symbols to symbol-check + + libdrm: Use readdir instead of readdir_r to avoid build warnings + + Intel: Add a Kaby Lake PCI ID + + amdgpu: Deinitialize vamgr_high{,_32} + + intel: add support for ICL 11 + + amdgpu:support 16 ibs per submit for PAL/SRIOV + + freedreno: add fd_pipe refcounting + + drm/amdgpu: Remove IB count checking + + intel/intel_chipset.h: Sync Cannonlake IDs. + + libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export + + amdgpu: enlarge the maximum number of cards supported + +------------------------------------------------------------------- +Tue Mar 6 13:41:52 UTC 2018 - mimi.vx@gmail.com + +- update to 2.4.91 + + amdgpu: Fix mistake in initial hole size calculation. + + amdgpu: mostly revert "use the high VA range if possible v2" + + amdgpu: add AMDGPU_VA_RANGE_HIGH + + amdgpu: fix "add AMDGPU_VA_RANGE_HIGH" + + freedreno: add interface to get buffer address + + drm/fourcc: Fix fourcc_mod_code() definition + + drm/tegra: Sanitize format modifiers + +------------------------------------------------------------------- +Wed Feb 21 18:06:08 UTC 2018 - emil.l.velikov@gmail.com + +- Remove unneeded defattr stanza + +------------------------------------------------------------------- +Wed Feb 21 18:03:18 UTC 2018 - emil.l.velikov@gmail.com + +- Remove pthread-stubs dependency + +------------------------------------------------------------------- +Wed Feb 21 17:56:06 UTC 2018 - emil.l.velikov@gmail.com + +- Remove unneeded autotool dependencies + +------------------------------------------------------------------- +Sat Feb 17 18:14:22 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.90: + + Add meson build system + + always define HAVE_FREEDRENO_KGSL + + always define HAVE_CAIRO + + always define HAVE_VALGRIND + + amdgpu: Update deadlock test to not assert on ECANCELED + + amdgpu: Fix segfault in deadlock test. + + amdgpu: fix 32bit VA manager max address + + amdgpu: use the high VA range if possible v2 + + amdgpu: fix high VA mask + + amdgpu: fix inefficient vamgr algorithm + + amdgpu: clean up non list code path for vamgr v2 + + amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit address space + + amdgpu: Don't print error message if parse_one_line returned -EAGAIN + + amdgpu: Don't dereference device_handle after amdgpu_device_deinitialize + + amdgpu: Symlink .editorconfig to tests/amdgpu + + amdgpu: Disable deadlock test suite by default for SI ASICs + + amdgpu: Disable VM test suite by default for SI ASICs + + amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check + + amdgpu: fix not to add amdgpu.ids when building without amdgpu + + android: Move gralloc handle struct to libdrm + + android: Add version variable to gralloc_handle_t + + android: Mark gralloc_handle_t magic variable as const + + android: Remove member name from gralloc_handle_t + + android: Change gralloc_handle_t members to be fixed width + + autotools: Include meson.build files in tarball + + configure: remove unused HAVE_CUNIT define + + configure: remove unused HAVE_INSTALL_TESTS define + + configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and HAVE_LIB_ATOMIC_OPS + + drm: Fix 32-bit drmSyncobjWait. + + exynos/tests: use #ifdef for never-defined token + + fix return value for syncobj wait + + freedreno: clamp priority based on # of rings + + headers: sync up amdgpu_drm.h with drm-next + + intel: Add more Coffeelake PCI IDs + + meson: fix the install path of amdgpu.ids + + meson: set proper pkg-config version for libdrm_freedreno + + meson: set the minimum version correctly + + meson: fix libdrm_nouveau pkgconfig include directories + + meson: include headers in root directory in ext_libdrm + + meson: cleanup whitespace + + meson: add missing HAVE_RADEON + + meson: sort HAVE_* defines + + meson,configure: remove unused HAVE_OMAP define + + meson,configure: remove unused HAVE_TEGRA define + + meson,configure: remove unused HAVE_FREEDRENO define + + meson,configure: remove unused HAVE_ETNAVIV define + + meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON} + + meson,configure: turn undefined preprocessor tokens warnings into errors + + meson,configure: add warning when using undefined preprocessor tokens + + modetest: Fix to check return value of asprintf() + + remove unnecessary double-semicolon + + README: Add note about meson + + test/amdgpu: fix compiler warnings + + tests/amdgpu: add bo eviction test + + tests/amdgpu: add missing config.h include + + tests/amdgpu: add parentheses to make operation priority explicit + + tests/amdgpu: drop unused variables + + tests/amdgpu: execute write linear on all the available rings + + tests/amdgpu: execute const fill on all the available rings + + tests/amdgpu: execute copy linear on all the available rings + + tests/etnaviv: drop unused `return 0` + + tests/util: fix signed/unsigned comparisons + + tests/util: drop unused parameters + + xf86drmHash: remove always-false #if guards + + xf86atomic: fix -Wundef warning +- Remove upstreamed patch U_intel-Add-more-Coffeelake-PCI-IDs.patch + +------------------------------------------------------------------- +Mon Jan 15 13:38:22 UTC 2018 - sndirsch@suse.com + +- U_intel-Add-more-Coffeelake-PCI-IDs.patch + * Add more Coffeelake PCI IDs (request by Intel) + +------------------------------------------------------------------- +Mon Dec 18 17:37:26 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.89: + libdrm release with leasing and syncobj api updates, updated amdgpu marketing + ids, amdgpu tests, updated uapi headers & etnaviv updates. + +------------------------------------------------------------------- +Sun Nov 5 15:58:16 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.88: + + amdgpu: Fix wrappers for AMDGPU_VM IOCTL. + +------------------------------------------------------------------- +Wed Nov 1 13:43:53 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.87: + + amdgpu: fix 32-bit build +- This release includes the changes introduced with 2.4.86: + + amdgpu: Add wrappers for AMDGPU_VM IOCTL. + + amdgpu: Add VMID reservation per GPU context test. + + drm: sync drm headers from drm-next. + + drm/syncobj: fix some whitespace issues + +------------------------------------------------------------------- +Mon Oct 23 18:08:43 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.85: + + Add const qualifier to arguments of drmModeAddFB2() + + amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3 + + amdgpu: add padding to the fence to handle ioctl + + headers: Sync amdgpu_drm.h with drm-next + + modetest: Decode IN_FORMATS plane blob property + + modetest: Allow full testing of primary planes +- Fix changelog entry for version 2.4.84 + +------------------------------------------------------------------- +Thu Oct 12 21:22:19 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.84: + + amdgpu: Add deadlock detection test suit. + + amdgpu: make userptr unit test more interesting + + amdgpu: Do not write beyond allocated memory when parsing ids + + amdgpu: print error messages when amdgpu_device_initialize is failing + + amdgpu: add sync_file import and export functions + + amdgpu: add amdgpu_cs_syncobj_wait + + amdgpu: add amdgpu_cs_fence_to_handle + + Android: move libraries to /vendor + + drm: add drmSyncobjWait wrapper + + etnaviv: prevent deadlock in error path + + freedreno/kgsl: fix pointer-to-int cast + + headers: sync syncobj ioctl defines. + + headers: sync DRM_MODE_ROTATE/REFLECT defines from kernel v4.14-rc1 + + intel: Change a KBL pci id to GT2 from GT1.5 + + include: sync drm.h and amdgpu_drm.h with airlied/drm-next + + tests/amdgpu: add missing header to SOURCES + + tests/amdgpu: add new uvd enc support check + + tests/amdgpu: fix uvd enc data corruption issue + +------------------------------------------------------------------- +Sat Sep 30 09:45:21 UTC 2017 - jengelh@inai.de + +- Remove --with-pic which has no effect on shared-only builds. + Rectify SRPM group. + +------------------------------------------------------------------- +Fri Aug 25 09:26:15 UTC 2017 - sndirsch@suse.com + +- Update to version 2.4.83 + + amdgpu: Add FX-9800P Bristol Ridge iGPU id + + amdgpu: fix missing mutex unlock before return + + amdgpu: fix race issue between two bo functions(v2) + + amdgpu: merge and cleanup amdgpu_bo_free + + android: add rules to build amdgpu.ids + + android: amdgpu: fix build break + + drm: Pull new modifier uapi into drm_fourcc and drm_mode + + drmsltest: Check expected neighbours + + etnaviv: fix etna_bo_from_name + + freedreno: remove dead error path + + freedreno: prevent deadlock in error path + + freedreno/msm: remove dead error path + + radeon: add fallthrough annotation + + test/amdgpu: fix test failure for SI + + tests/amdgpu: bypass UVD CS tests on raven + + tests/amdgpu: bypass VCE tests on raven + + tests/amdgpu: add uvd encode unit tests + + xf86drm: continue with next device if drmProcessUsbDevice fails + + xf86drm: continue after drmProcessPlatformDevice failure + +------------------------------------------------------------------- +Wed Aug 2 13:41:50 CEST 2017 - ro@suse.de + +- build-require util-macros-devel for suse_version > 1320 + +------------------------------------------------------------------- +Thu Jul 20 14:32:58 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.82: + + intel: PCI Ids for S SKU in CFL + + intel: PCI Ids for H SKU in CFL + + intel: PCI Ids for U SKU in CFL + + intel/gen10: Add missed gen10 stuff + + etnaviv: submit full struct drm_etnaviv_gem_submit + + amdgpu: sync amdgpu_drm with kernel. + + drm: update drm.h to latest in drm-next. + + libdrm: add drm syncobj create/destroy/import/export + + drm/amdgpu: add syncobj create/destroy/import/export apis + + drm/amdgpu: add new low overhead command submission API. (v2) + + amdgpu: add new symbols to tests. + + Android's major/minor/makedev live in + + headers: Update drm_fourcc and vc4_drm.h with new VC4 tiling UAPI. + + headers: sync drm_fourcc.h with airlied/drm-next + + headers: sync drm_sarea.h with airlied/drm-next + + tests/amdgpu: rename uvd messages to decode messages + + tests/amdgpu: separate decode messages + + tests/amdgpu: move decode sum to common + + tests/amdgpu: add vcn tests support and sets + + tests/amdgpu: implement vcn dec unit tests + + tests/amdgpu: s/uvd_messages.h/decode_messages.h/ in Makefile.am + + tests/amdgpu: Fix device_id option + + amdgpu: Add .editorconfig file for amdgpu coding style + + intel: add GEN10 to IS_9XX. + + Android: fix missing trailing \ + + intel: Add Cannonlake PCI IDs for U-skus. + + intel: Add Cannonlake PCI IDs for Y-skus. + + intel/intel_chipset: Move IS_9XX below IS_GEN10. + + amdgpu: move asic id table to a separate file + + Remove redundant memclear + +------------------------------------------------------------------- +Fri May 26 14:11:03 UTC 2017 - sndirsch@suse.com + +- Update to version 2.4.81 + * Export drmDevicesEqual + * configure: Fix the check + * Fix stray caller of drmCompareDevices + * amdgpu/: concisely && consistently check null ptrs in canonical form + * amdgpu: Use the canonical form in branch predicate + * Add pl111 as a KMS driver for utils. + * Add the DPI encoder/connector types to KMS utils. + * amdgpu: add raven family id + * modetest: fix printing of fourcc on BE machines + * amdgpu/drm: add AMDGPU_HW_IP_VCN_DEC + * amdgpu/drm: add AMDGPU_HW_IP_VCN_ENC + * amdgpu: add the interface of waiting multiple fences + * amdgpu: add a test for amdgpu_cs_wait_fences + * amdgpu: add missing extern "C" headers + * freedreno: fix double-free on exit + +------------------------------------------------------------------- +Mon Apr 17 17:28:57 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.80: + + intel: remove dead code + + etnaviv: sync uapi header + + etnaviv: add fence fd support + + exynos: add C++ support to exynos_drmif header + +------------------------------------------------------------------- +Wed Apr 12 12:01:35 UTC 2017 - sndirsch@suse.com + +- SLE merge + * Mesa 17.0.3 build on aarch64 needs libdrm_freedreno >= 2.4.74 + (fate#321223) + * latest libdrm version for sle12 (fate #315643-315645, 319159-319161, 319618) + +------------------------------------------------------------------- +Mon Apr 10 11:21:47 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.79: + + amdgpu: allow to query GPU sensor related information +- Update to version 2.4.78: + This fixes a build issue for GNU/kFreeBSD, and adds a new + page_flip_handler2 event handler, which when run on a suitably + capable kernel, can provide the CRTC ID to userspace for atomic + completion events. + +------------------------------------------------------------------- +Sat Apr 8 12:37:08 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.77: + + tests/etnaviv: link against libdrm + + etnaviv: remove struct etna_specs + + amdgpu: add amdgpu_bo_va_op_raw to the symbol check + + configure.ac: bring back pthread-stubs check + + tegra: update symbol-check + + amdgpu: add REPLACE and CLEAR checking for VA op (v2) + + amdgpu: add amdgpu_bo_va_op_raw + + headers: sync amdgpu_drm.h from airlied/drm-next + + headers: the uint*_t vs. __u* discrepancy in amdgpu_drm is fixed + + Android: fix building of modetest and proptest + + Android: disable pointer-arith and enum-conversion + + exynos: fix type-punned pointer build warning + + exynos/fimg2d: remove unused-function build warning + + tests/exynos: remove unused-function build warning + + tests/exynos: fix invalid code of error path in g2d test + + xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList + +------------------------------------------------------------------- +Tue Apr 4 09:30:51 UTC 2017 - sndirsch@suse.com + +- do not buildrequire util-macros-devel on sle13 + +------------------------------------------------------------------- +Thu Mar 30 09:15:00 UTC 2017 - sndirsch@suse.com + +- update to 2.4.76 + * This release is required for upcoming Radeon Vega GPUs. + +------------------------------------------------------------------- +Sat Jan 28 22:02:14 UTC 2017 - mimi.vx@gmail.com + +- update to 2.4.75 + * amdgpu: Provide more specific error message if non-privileged user runs amdgpu_test + * amdgpu: verify the tested device + * amdgpu: A new option to choose which device to run most tests + * amdgpu: A new option to run tests on render node + * Import uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9 + * intel: Allow the client to control implicit synchronisation + * intel: Support passing of explicit fencing from execbuf + * intel: Clear execobject flags before preserving object in reuse cache + * intel: Export a function to re-enable implicit synchronisation + * intel: update global_name before HASH_ADD + * xf86drm: use maj/min in drmParsePciDeviceInfo() + * xf86drm: add plumbing to not retrieve PCI device revision + * xf86drm: parse the separate sysfs files for vendor... info + * xf86drm: introduce drmGetDevice[s]2 + * tests/drmdevice: use drmGetDevice[s]2 + * tests: remove useless legacy tests + * kms: remove commented out libudev code + * configure: remove libudev checks + * tests: automake: reorder makefile contents + * autogen.sh: set format.subjectPrefix and sendemail.to if needed + * android: remove LOCAL_MODULE_TAGS := optional tag + * android: introduce Android.common.mk to reduce boilerplate + * android: add HAVE_VISIBILITY to Android.common.mk + * android: add note about command line defines and config.h + * android: silence ~550 warnings + * tests/nouveau: automake: fold C and CPP flags + * xf86drm: fix sign-compare warning + * xf86drm: implement drmGetMinorNameForFD for non-sysfs + * xf86drm: implement drmParseSubsystemType for OpenBSD + * xf86drm: implement drmParsePciDeviceInfo for OpenBSD + * xf86drm: implement drmParsePciBusInfo for OpenBSD + * xf86drm: implement an OpenBSD specific drmGetDevice2 + * xf86drm: adjust device node path for minor base + * xf86drm: add a non-sysfs version of drmGetDeviceNameFromFd2 + * xf86drm: don't fatal on per device error in drmGetDevice[s]2 + * tests/util: Add support for meson module + * libkms/exynos: fix memory leak in error path + * xf86drm: fix null termination of string buffer + * xf86drm: Fix indentation + * xf86drmMode.h: Use consistent padding + * xf86drmMode.h: Add DisplayPort MST and DPI encoders/connectors + * xf86drm: Fix type-punned pointer build warning + * xf86drm: Factor out drmDeviceAlloc() + * xf86drm: Add USB support + * xf86drm: Add platform and host1x bus support + * tests/drmdevice: Add USB, platform and host1x support + * xf86drm: Reuse sysfs_uevent_get() + * tests: Use -pthread in CFLAGS instead of -lpthread + * modetest: Allow the user to specify the plane ID + +------------------------------------------------------------------- +Wed Jan 25 10:57:44 UTC 2017 - sndirsch@suse.com + +- enabled build of manual pages (bnc#1021810) + +------------------------------------------------------------------- +Sat Dec 31 18:16:41 UTC 2016 - chris@computersalat.de + +- update to 2.4.74 + * vc4: Add new GETPARAMs that have been merged to drm-next + * freedreno: 64bit support + * etnaviv: add etna_pipe_wait_ns(..) + * etnaviv: change get_abs_timeout(..) to use ns + * libdrm: random typo fixes + * tests: kms: fix shadowed declaration warning + * xf86drm: introduce drmGetDeviceNameFromFd2 + * automake: make the build less chatty + * intel: Add drm_intel_gem_context_get_id to intel-symbols-check + * intel: Add a getter for the intel_context ctx_id + * etnaviv: add API to create etna_device from private dup() fd + * etnaviv: add API to get drm fd from etna_device + * intel: Add Geminilake PCI IDs + +------------------------------------------------------------------- +Tue Nov 15 13:20:42 UTC 2016 - sndirsch@suse.com + +- update to 2.4.73 + * headers: Add README file + * xd86drm: read more than 128 bytes of uevent in drmParsePciBusInfo + +- update to 2.4.72 + * amdgpu: check parameters in amdgpu_query_gpu_info + * intel: Export raw GEM mmap interfaces + * intel: Migrate handle/name lookups from linear lists to hashtables + * intel: Look prime handle up in handle hash table + * Silence runtime complaints on platform devices + * amdgpu: add the function to get the marketing name (v4) + * intel: Add uthash.h to Makefile.sources. + * amdgpu: Add amdgpu_asic_id.h to Makefile.sources. + * freedreno: Add fd_ringbuffer_flush2 to symbol check. + * headers: Sync drm{,_mode}.h with the kernel + * Add drmModePageFlipTarget + * intel: Add new symbols to intel-symbol-check + * intel: Allow some codenames in INTEL_DEVID_OVERRIDE + * add libsync.h helper + * freedreno: sync uapi header + * freedreno: add fence fd support + * Return an -ENODEV from drmGetDevice() when no device was found. + +------------------------------------------------------------------- +Tue Oct 4 08:21:19 UTC 2016 - mimi.vx@gmail.com + +- update to 2.4.71 +* amdgpu: expose the AMDGPU_GEM_CREATE_VRAM_CLEARED flag +* Add drmModeAddFB2WithModifiers() which takes format modifiers +* tests/amdgpu: update vce encRefPic addr mode to tiled +* radeon: sync radeon_drm.h with the kernel +* amdgpu: sync amdgpu_drm.h with the kernel +* amdgpu: fix valgrind warnings caused by amdgpu_query_firmware_version +* intel: Add new symbols to intel-symbol-check +* amdgpu: add SI support +* modetest: Also print the pixel clock +* intel: Export pooled EU and min no. of eus in a pool +* modetest: Adding amdgpu to module list + +------------------------------------------------------------------- +Mon Jul 25 11:56:07 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.70: + More bugfixes on top of 2.4.69! + +------------------------------------------------------------------- +Sun Jul 24 22:30:52 UTC 2016 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.69: + A new libdrm release, in order to use the new vc4 ioctl in Mesa. A few + bugfixes on top as well. + +------------------------------------------------------------------- +Thu Apr 28 13:36:17 UTC 2016 - sndirsch@suse.com + +- update to 2.4.68 + * bugfixes + +------------------------------------------------------------------- +Wed Apr 20 15:17:44 UTC 2016 - sndirsch@suse.com + +- removed no longer needed patch + u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch + (https://lists.freedesktop.org/archives/dri-devel/2016-April/105283.html) + +------------------------------------------------------------------- +Tue Feb 16 10:25:48 UTC 2016 - mimi.vx@gmail.com + +- update to 2.4.67 +* fixes for amdgpu +* adds KabyLake PCIids +* Fix memory leak with drmModeGetConnectorCurrent() + +------------------------------------------------------------------- +Wed Feb 3 18:32:17 UTC 2016 - eich@suse.com + +- Disable valgrind support for all architectures if not + explicitely enabled by a macro (boo#963979). + +------------------------------------------------------------------- +Wed Dec 30 02:06:48 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.66: + This is mainly for introducing a new nouveau API. Lots of other + changes as well. + +------------------------------------------------------------------- +Mon Sep 21 07:33:11 UTC 2015 - sndirsch@suse.com + +- Update to version 2.4.65 + * bugfixes + +------------------------------------------------------------------- +Wed Aug 19 14:18:09 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Add libdrm_amdgpu1 as a requirement for libdrm-devel + +------------------------------------------------------------------- +Tue Aug 18 20:14:40 UTC 2015 - zaitor@opensuse.org + +- Update to version 2.4.64: + + amdgpu: + - Improve amdgpu_vamgr_init. + - Add flag to support 32bit VA address v4. + - Make vamgr per device v2. + + tests/amdgpu: + - Include config.h first. + - Remove unused local variable 'i'. + + freedreno/msm: + - Reorg ringbuffer struct. + - Fix issue where same bo is on multiple rings. + - Dump out submit info on error. + + freedreno: + - Add fd_pipe_wait_timeout(). + - Update freedreno-symbol-check. + + tests: modetest: Accept connector names in addition to + connector IDs. + + libdrm: + - Remove gratuitous blank lines. + - Make indentation consistent. +- Use url to tarball as source. + +------------------------------------------------------------------- +Fri Aug 14 18:51:06 UTC 2015 - mimi.vx@gmail.com + +- update baselibs.conf for AMDGPU + +------------------------------------------------------------------- +Fri Aug 14 13:25:00 UTC 2015 - mimi.vx@gmail.com + +- update to version 2.4.6.3 + * This release adds AMDGPU driver, adds new AMD OLAND PCIids + +------------------------------------------------------------------- +Mon Jul 27 14:46:49 UTC 2015 - schwab@suse.de + +- Disable valgrind support if not available + +------------------------------------------------------------------- +Tue Jun 30 07:54:30 UTC 2015 - sndirsch@suse.com + +- Update to version 2.4.62 + * This release introduces the atomic and blob APIs, adds support + for new devices (AMD Bonaire) and a new flag for coherent BOs + in nouveau. + +------------------------------------------------------------------- +Fri May 8 09:47:52 UTC 2015 - sndirsch@suse.com + +- Update to version 2.4.61 + * Release to fix regression in nouveau in 2.4.60, but brings lots + of android changes and other fixes. +- deprecates reverse applied patches + * U_nouveau-Do-not-add-most-bo-s-to-the-global-bo-list.patch + * U_nouveau-make-nouveau-importing-global-buffers-comple.patch + +------------------------------------------------------------------- +Wed Apr 29 08:17:19 UTC 2015 - sndirsch@suse.com + +- U_nouveau-Do-not-add-most-bo-s-to-the-global-bo-list.patch + U_nouveau-make-nouveau-importing-global-buffers-comple.patch + * reverse apply these patches in order to fix a regression in + 2.4.60 triggered by new legacy tray in GNOME 3.16.0 (fdo#89842) + +------------------------------------------------------------------- +Wed Apr 8 16:04:17 UTC 2015 - schwab@suse.de + +- Build package libdrm_freedreno1 also on aarch64 + +------------------------------------------------------------------- +Fri Mar 20 21:19:37 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.60: + + bugfixes and cleanup + + exynos improvements + +------------------------------------------------------------------- +Sun Feb 22 14:11:43 UTC 2015 - zombah@gmail.com + +- Fix include directories + +------------------------------------------------------------------- +Thu Feb 19 13:33:22 UTC 2015 - zombah@gmail.com + +- Add subpackage libdrm_tegra0 for Nvidia Tegra chips + +------------------------------------------------------------------- +Mon Feb 9 12:59:54 UTC 2015 - sndirsch@suse.com + +- Update to version 2.4.59: + * bugfixes + * more Intel Skylake support + +------------------------------------------------------------------- +Sun Sep 28 19:35:01 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.58: + Build fixes for 32bit Systems. + +------------------------------------------------------------------- +Sun Sep 28 17:29:22 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.57: + + Intel Userptr support. + + Android build support. + + New "SI" and "CIK" PCI IDs for the libdrm Radeon graphics + driver code. + + DMA-BUF import/export helpers were added to libdrm's Freedreno + driver support. + +------------------------------------------------------------------- +Tue Jul 29 22:33:46 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.56: + Libdrm 2.4.56 has been released. It fixes MSAA for the Radeon Hawaii GPU. +- Remove upstreamed patch: + u_No-longer-hardcode-path-for-drm.h-include-in-qxl_drm.patch + +------------------------------------------------------------------- +Fri Jul 25 15:08:00 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.55: + + exynos: do not build fimg2d_test when building without libkms support. + + radeon: Add missing header includes. + + exynos: fix scaling factor computation in g2d_copy_with_scale + + exynos: fix G2D_DOUBLE_TO_FIXED for non-integer input + + exynos: fix coordinate computation in g2d_copy + + intel: Add new userptr ioctl + + intel: Sync typo fix from the kernel sources. + + intel: Sync the command parser version parameter from kernel + + freedreno: add chip-id property + + freedreno: sync kernel header + + drm: Add universal plane capability bit and plane type enums + + exynos: prime: use drmPrime*() helpers + + exynos_fimg2d_test: fix drmModeRmFB + + eyxnos: install exynos tests if HAVE_INSTALL_TESTS +- Drop upstreamed patches: + + libdrm-implicit-defs.diff (Patch1) + +------------------------------------------------------------------- +Sun May 25 15:00:04 UTC 2014 - afaerber@suse.de + +- Enable valgrind support for armv6l and ppc64le + +------------------------------------------------------------------- +Sun May 4 22:30:38 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Fix typos in package description + +------------------------------------------------------------------- +Fri May 2 21:56:08 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.54: + + Use signed location for drmModeSetPlane + + nouveau: safen up nouveau_device list usage against concurrent access + + amend previous commit to actually compile + + modetest: add cursor support + + freedreno: add missing fxn prototype + + radeon: add Mullins chip family + + radeon: add Mullins pci ids + + Mark functions printf-like where possible + + intel: Fix some format strings + + libdrm: Remove extraneous parameter + + tests: Use drmFreeVersion() instead of drmFree() + + intel/chv: Add Cherryview PCI IDs + +------------------------------------------------------------------- +Thu Apr 24 09:46:48 UTC 2014 - sndirsch@suse.com + +- u_No-longer-hardcode-path-for-drm.h-include-in-qxl_drm.patch: + * No longer hardcode path for drm.h include in qxl_drm.h, i.e. + handle it the same as in other _drm.h files; change + required for KMS support in xf86-video-qxl (bnc#870501) + +------------------------------------------------------------------- +Sat Apr 12 01:28:02 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.53: + + drm: Implement drmCheckModesettingSupported() for FreeBSD + + Enable libkms by default on DragonFly + + freedreno: do not leak drmVersion + + freedreno: fix license + + freedreno: some msm-ring reset/flush fixes + + freedreno: simplify device creation + + freedreno: fix null ptr in error path + + freedreno/kgsl: don't even bother trying CREATE_FD + + freedreno: zero out unused field + + modeprint: pretty print connector names + + radeon: sync with radeon_drm.h from kernel headers +- Remove upstream patch: Patch3: U_freedreno_license_fix.patch + +------------------------------------------------------------------- +Sun Feb 16 15:16:40 UTC 2014 - afaerber@suse.de + +- U_freedreno_license_fix.patch: Backport relicensing of freedreno + DRM header from GPL-2.0 to MIT (bnc#860595). + +------------------------------------------------------------------- +Tue Jan 21 11:14:46 UTC 2014 - sndirsch@suse.com + +- Update to version 2.4.52 + + intel: squash unused variable 'bo_gem' + + intel: Handle malloc fails in context create + + intel: Merge latest i915_drm.h + + drm: Initialize or valgrind-clear modesetting ioctl arguments. + + intel: Track whether a buffer is idle to avoid trips to the kernel. + + tests/kmstest: support exynos + + Mark debug_print with __attribute__ ((format(__printf__, 1, 0))) + + intel: Create a new drm_intel_bo offset64 field. + + freedreno: add fd_device_new_dup() + + modetest: add the possibility to select the refresh frequency for a mode + +------------------------------------------------------------------- +Wed Jan 15 13:15:05 UTC 2014 - afaerber@suse.de + +- Make libdrm-devel depend on libdrm_freedreno1 on arm + +------------------------------------------------------------------- +Wed Jan 15 02:03:29 UTC 2014 - afaerber@suse.de + +- Add subpackage for freedreno (Qualcomm Adreno) + +------------------------------------------------------------------- +Wed Jan 8 22:19:21 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.51: + + radeon: avoid possible divide by 0 in surface manager + + radeon: fix sumo2 pci id + + intel/test_decode: Allow gen8 to be infered from the batch filenames + + freedreno: add bo cache + + freedreno/kgsl: fix crash introduced w/ bo-cache + + freedreno: allow IB to different ringbuffer + +------------------------------------------------------------------- +Wed Dec 4 00:35:02 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 2.4.50: + + intel: Track known prime buffers for re-use + + radeon: Update unaligned offset for 2D->1D tiling transition on SI +- Droped U_update-unaligned-offset-for-2D-1D-tiling-transition-on-SI.patch, + included in this release + +------------------------------------------------------------------- +Mon Nov 25 17:15:43 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 2.4.49: + + intel: Use memset instead of VG_CLEAR + + radeon: implement 2D tiling for CIK + + radeon: handle P16 pipe configs for Hawaii + + radeon: fix mipmap level 0 and 1 alignment for SI and CIK + + radeon: don't overallocate stencil by 4 on SI and CIK + + libdrm/mode: Update the encoder and connector defines +- Added U_update-unaligned-offset-for-2D-1D-tiling-transition-on-SI.patch: + fdo#71983, resolves crasing on radeon SI chips wth 2.4.49 + +------------------------------------------------------------------- +Sat Nov 16 18:43:00 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 2.4.48: + + radeon: add hawaii chip family + + radeon: add hawaii pci ids + + intel/bdw: Add broadwell chipset IDs + + intel/bdw: Handle gen8 bufmgr_init + + intel/bdw: Add gen8 to the decode init + + intel/bdw: Update MI_BATCH_BUFFER_START for aub dumps + + Revert "intel: Add support for GPU reset status query ioctl" + + intel: Add support for GPU reset status query ioctl + + intel: Add support for GPU reset status query ioctl + + libdrm: bump to 2.4.48 + + Add DRM_MODE_PAGE_FLIP_ASYNC define + + intel: Add the Gen6+ version of MI_REPORT_PERF_COUNT to + intel_decode.c. + + intel: Add MI_LOAD_REGISTER_MEM to intel_decode.c. + + intel/bdw/aub: Update AUB trace block writes for 48-bit + addressing. + + nouveau: prevent undefined behavior in nouveau_pushbuf_reloc + with gcc-4.8 + +------------------------------------------------------------------- +Sun Oct 27 09:11:03 UTC 2013 - sndirsch@suse.com + +- updated to re-uploaded 2.4.47 tarball with correct checksums + +------------------------------------------------------------------- +Fri Oct 11 17:42:15 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 2.4.47: + + libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC + + modetest fixes + + radeon: add berlin pci ids + + intel: Update package name and description in libdrm_intel.pc + + freedreno fixes + + radeon: Fix tiling mode index for 1D tiled depth/stencil + surfaces on CIK + + radeon: fix pitch alignment for non-power-of-two mipmaps on SI + + drm: Synchronize the stereo 3D mode flags from the kernel headers + + drm: Sync the DRM_SET_CLIENT_CAP ioctl definition + + drm: Introduce a drmSetClientCap() wrapper + + intel: Set bo size from lseek if kernel supports it +- Droped U_radeon-pad-CS-to-8-DW.patch, included in this release + +------------------------------------------------------------------- +Tue Sep 17 17:49:28 UTC 2013 - hrvoje.senjan@gmail.com + +- Added U_radeon-pad-CS-to-8-DW.patch from upstream -- aligns the + IB to 8 DWs. r6xx also require at least 4 DW alignment to avoid + a hw bug. + +------------------------------------------------------------------- +Fri Aug 30 00:28:37 CEST 2013 - ro@suse.de + +- buildrequire valgrind on the arch list that valgrind builds on + +------------------------------------------------------------------- +Tue Jul 2 16:42:39 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to version 2.4.46: + + radeon: add CIK chip families + + radeon: add Bonaire pci ids + + radeon: add kabini pci ids + + intel/aub: Sync the AUB defines with mesa's + + intel/aub: Return early if we disable aub dumps + + intel/aub: Implement a way to specify the output .aub filename + + drm: add hotspot cursor interface support. + + radeon: correct RADEON_GEM_WAIT_IDLE use + + freedreno: add handle and name tracking + + freedreno: add some asserts + + freedreno: also remove from name table on bo delete + + intel: Fix Haswell GT3 names. + + intel: Adding more reserved PCI IDs for Haswell. + + modetest: Make RGB565 pwetty too + +------------------------------------------------------------------- +Tue May 21 16:04:21 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.45: + The main motivation for this + release is the changes in the radeon surface allocator, which helps fix + multisample textures on the Radeon Cayman family chipsets. + + radeon: add new SI pci ids + + radeon: add new richland pci ids + + radeon: add HAINAN family + + radeon: add HAINAN pci ids + + drm: add qxl drm header file + + radeon: add RADEON_SURF_FMASK flag which disables 2D->1D tiling transition + + freedreno: add gpu-id property + + Add exynos_fimg2d_test to .gitignore + + freedreno: add synchronization between mesa and ddx + + intel: Add support for VEBOX ring (v2) + +------------------------------------------------------------------- +Fri Apr 19 14:43:02 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.44: + New release for radeonsi tiling support + + drm: Fix error message in drmWaitVBlank + + intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding + + radeon: update radeon_drm.h to kernel last API additions v2 + + radeon: add si tiling support v5 + + intel: Fix Haswell CRW PCI IDs. + + kms: Make libkms.h usable in C++ + + kms: Return a negative error code in kms_bo_create() + + Remove unused header xf86mm.h. + + makefiles: Add missing headers. + + freedreno: add shifted reloc + + modetest: Fix pitches, somewhat + + modetest: Add support for all 16/32 bpp RGB formats + + modetest: Print possible_crtcs for planes + + modetest: Reduce the length of the connector type string + + modetest: Pass format_info to fill_tiles functions + + modetest: Add YUV420 support and fix YVU420 Cb/Cr ordering + +------------------------------------------------------------------- +Wed Mar 27 11:27:27 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.43: + + radeon: add pci ids for Richland APUs + + intel_chipset: Merge intel-gpu-tools chipsets + + tests: allow tests programs to be installed + + tests: allow tests programs to be installed (cumulative patch) + + intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS + + libdrm/exynos: add test application for 2d gpu. + + radeonsi: make sure tile_split field are not garbage + + intel/aub: Actually run BLT batches on the blit ring. + + nouveau: return error from pushbuf_validate + + nouveau: add a way to override single pushbuffer memory limits + + freedreno: add freedreno DRM + + intel_chipset: Use parens around macro arguments + + intel_chipset: Fix up VLV confusion + +------------------------------------------------------------------- +Mon Mar 25 20:40:32 UTC 2013 - jengelh@inai.de + +- Remove unneeded dependency on libkms-devel + +------------------------------------------------------------------- +Wed Feb 27 16:40:51 UTC 2013 - dmueller@suse.com + +- disable valgrind support for aarch64 + +------------------------------------------------------------------- +Tue Feb 5 16:50:49 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.42: + + radeon: add OLAND family + + radeon: add OLAND pci ids + + man: fix manpage build instructions + + intel: add more VLV PCI IDs + + nouveau: use @PACKAGE_VERSION@ in libdrm_nouveau.pc + + libdrm: remove DISTCHECK_CONFIGURE_FLAGS + + configure.ac: bump version to 2.4.42 for release + + radeon: Fix 1D tiling layout on SI. + + man: Fix typo and use $() for make expressions + +------------------------------------------------------------------- +Wed Jan 16 17:17:16 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.41: + + radeon: add new SI pci id + + nouveau: disallow pushbuf BOs in multiple memory types + + nouveau: expose channel engine selection on kepler chipsets + + intel: Remove the fence count contributions when clearing relocs + + man: convert manpages to XML instead of plain troff + + man: add drm.7 overview page + + man: add drm-kms overview page + + man: add drm-memory overview page + + intel: Fix missing ETIME on BSD operating systems + + drm/radeon: track global bo name and always return the same + + man: disable man page building until David saves us all + + libdrm_nouveau.pc: don't include I${includedir}/nouveau + + libkms: fix memory leak in error path + + libkms: return -EINVAL on fstat error + +------------------------------------------------------------------- +Tue Nov 6 00:37:44 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.40: + + radeon: add some new SI pci ids + + radeon: fix unused-function warning + + intel: Fix "properly test for HAS_LLC" + + intel: Correct the word decoding for gen2 3DSTATE_LOAD_STATE_IMMEDIATE_1 + + configure.ac: Allow forcible disabling of Cairo support + + intel: properly test for HAS_LLC + + fix make distcheck + + vmwgfx: No longer experimental + + intel: add support for ValleyView + + libdrm: man page infrastructure and a few sample man pages + + intel: Mark bo's exported to prime as not reusable + + libkms: link against libdrm + + radeon: don't take the stencil-specific codepath for buffers without + stencil + + radeon: don't force stencil tile split to 0 + + radeon: fix stencil miptree allocation of combined ZS buffers on EG and + SI + + radeon: fix tile_split of 128-bit surface formats with 8x MSAA + + radeon: Fix layout of linear aligned mipmaps on SI. + + radeon: Memory footprint of SI mipmap base level is padded to powers of + two. + + radeon: Sampling pitch for non-mipmaps seems padded to slice alignment + on SI. + + initialize width/height fields in drmModeCrtc + + omap: release lock also on error paths + +------------------------------------------------------------------- +Thu Sep 27 09:45:10 UTC 2012 - idonmez@suse.com + +- Require libdrm_omap1-32bit only on ARM + +------------------------------------------------------------------- +Sun Sep 23 10:53:52 UTC 2012 - sndirsch@suse.com + +- u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch + * Fix compilation on systems that don't provide O_CLOEXEC. + Patch suggestion by Thomas Klausner . + See also http://mail-index.netbsd.org/pkgsrc-changes/2012/08/13/msg076887.html + +------------------------------------------------------------------- +Thu Sep 20 22:13:32 UTC 2012 - sndirsch@suse.com + +- let libdrm-devel require libkms-devel + +------------------------------------------------------------------- +Fri Aug 24 21:10:18 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.39: + + radeon: add prime import/export support + + intel: Use VG_CLEAR on the context destroy ioctl as well. + + radeon: fix allocation of MSAA surfaces on r600-r700 + + radeon: align r600 msaa buffers to a multiple of macrotile size + * num samples + + tests/modetest: Add a forgotten return, needed for opensuse buildservice + + omap: include omap_drm.h independently + +------------------------------------------------------------------- +Mon Aug 13 16:44:20 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.38: + + Bugfix release + +------------------------------------------------------------------- +Sun Jul 22 21:59:27 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.37: + + Put the proper context APIs in place. +- Add a patch to build 2.4.37 successfully! + + Added N_0001-Add-a-forgotten-return-needed-for-opensuse-buildserv.patch + +------------------------------------------------------------------- +Thu Jul 5 12:35:11 UTC 2012 - sndirsch@suse.com + +- build omap support only on %arm platform + +------------------------------------------------------------------- +Tue Jul 3 18:36:20 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.4.36: + + packaging changes: + - nouveau.h was moved out from its subdirectory (upstream change) + - lidrm_nouveau version bumped to 2 + - Removed --enable-nouveau-experimental-api from configure + it is now stable and will build without it + + new in this release: + - Context API and wait render timeout API added to libdrm for Intel + +------------------------------------------------------------------- +Mon Jul 2 08:52:51 UTC 2012 - guillaume@opensuse.org + +- Disable valgrind support for armv5 since valgrind only supports armv7 + +------------------------------------------------------------------- +Fri Jun 29 09:27:32 UTC 2012 - sndirsch@suse.com + +- U_intel-add-Ivy-Bridge-GT2-server-variant.patch + * intel: add Ivy Bridge GT2 server variant (bnc#769209) + +------------------------------------------------------------------- +Wed Jun 27 20:04:08 UTC 2012 - guillaume@opensuse.org + +- enable omapdrm support + +------------------------------------------------------------------- +Tue May 29 09:47:00 UTC 2012 - sndirsch@suse.com + +- back to libdrm 2.4.33, since 2.4.34 currentlz requires Mesa git + master changes for nouveau Mesa driver build + +------------------------------------------------------------------- +Sat May 26 22:25:01 UTC 2012 - crrodriguez@opensuse.org + +- update to version 2.4.34, see NEWS for detail, here follows + packaging changes only. + + nouveau.h was moved out from its subdirectory (upstream change) + + lidrm_nouveau version bumped to 2. + + remove obsolete configure options. + + Fix many more "implicit declarations" and "undefined references" + +------------------------------------------------------------------- +Thu Apr 12 11:30:32 UTC 2012 - vuntz@opensuse.org + +- Update to version 2.4.33: + + intel: add some PCI IDs for Haswell + + omap: add omapdrm support + + radeon: add TN surface support +- Changes from version 2.4.32: + + Add valgrind support + + Make drm/drm_fourcc.h portable to non-linux platforms + + intel: + - Add support for (possibly) unsynchronized maps + - Add .aub file output support + - Add support for overriding the PCI ID via an environment + variable + - Add decode for gen7 3DSTATE_WM, HIER_DEPTH_BUFFER + - Add per-dword decode of gen7 3DPRIMITIVE + + radeon: fix pitch alignment for scanout buffer + + radeon_cs_setup_bo: Fix accounting if caller specified write + and read domains + + Build system improvements +- Add pkgconfig(valgrind) BuildRequires to build valgrind support. + +------------------------------------------------------------------- +Sun Feb 26 15:57:23 CET 2012 - dmueller@suse.de + +- fix build on arm + +------------------------------------------------------------------- +Wed Feb 22 12:30:56 UTC 2012 - dvaleev@suse.com + +- don't package libdrm-intel on ppc, ppc64. As there is not intel + cards + +------------------------------------------------------------------- +Sat Feb 11 16:37:39 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 2.4.31 +* radeon: add surface allocator helper v10 +* intel: add sprite ioctl defines and struct for i915 sprite code +- Remove autoreconf call for now, there are no patches that + would necessitate this +- Remove redundant tags/sections from specfile +- Parallel build with %_smp_mflags +- Package shlibs separately according to policy +- Package description updates + +------------------------------------------------------------------- +Mon Jan 16 16:11:11 UTC 2012 - vljn@ovi.com + +- Update to libdrm-2.4.30 + * required for lastest Mesa + +------------------------------------------------------------------- +Sun Nov 13 09:15:31 UTC 2011 - coolo@suse.com + +- add libtool as explicit buildrequire to avoid implicit dependency from prjconf + +------------------------------------------------------------------- +Wed Nov 2 12:58:04 UTC 2011 - sndirsch@suse.com + +- Update to libdrm 2.4.27 + * required for latest intel driver ... + +------------------------------------------------------------------- +Wed Oct 5 15:17:04 UTC 2011 - uli@suse.com + +- cross-build fix: move testing to %check section + +------------------------------------------------------------------- +Fri Jun 17 18:19:08 UTC 2011 - vljn@ovi.com + +- Update to libdrm 2.6.26 +- obsoletes intel-Export-CONSTANT_BUFFER-addressing-mode.patch +- a bunch of fixes +- new Intel API for use by mesa + +------------------------------------------------------------------- +Wed May 25 10:38:44 UTC 2011 - sndirsch@novell.com + +- install the binaries of dristat, drmstat, drmmodeprint and + drmmodetest instead of the useless libtool wrappers ... + +------------------------------------------------------------------- +Tue May 24 16:56:34 UTC 2011 - eich@suse.de + +- removed patch: enable_test_tools.diff. + - Building and installing dristat and drmstat can be done + from the spec file. Same is true for installing drmmodeprint + and drmmodetest. + +------------------------------------------------------------------- +Wed Jan 5 02:10:17 UTC 2011 - sndirsch@novell.com + +- intel-Export-CONSTANT_BUFFER-addressing-mode.patch + * intel: Export CONSTANT_BUFFER addressing mode + +------------------------------------------------------------------- +Mon Dec 20 15:26:43 UTC 2010 - sndirsch@novell.com + +- removed revert-09b1062.diff; due to Mesa 7.10-pre update no longer + required/useful + +------------------------------------------------------------------- +Sat Dec 11 20:55:58 UTC 2010 - sndirsch@novell.com + +- libdrm 2.4.23 + * drm: don't do the create the node ourselves if we have udev. + * intel: Reorder need_fence vs fenced_command to avoid fences on + gen4 + * tests: Update for ENOENT returns from unknown handles + +------------------------------------------------------------------- +Sat Dec 4 05:57:28 UTC 2010 - sndirsch@novell.com + +- updated to git master commit #af3d282 (2010-12-03, still 2.4.22) +- obsoletes intel-initialize-bufmgr.bo_mrb_exec-unconditionally.patch + +------------------------------------------------------------------- +Mon Nov 8 09:02:40 UTC 2010 - sndirsch@novell.com + +- intel-initialize-bufmgr.bo_mrb_exec-unconditionally.patch + * no longer require kernels without BLT ring support (2.6.34 an + before). (bnc #651989, bnc #651501) + +------------------------------------------------------------------- +Sat Nov 6 00:29:27 UTC 2010 - sndirsch@novell.com + +- updated to git master commit #a52e61b (2010-11-02, still 2.4.22) + +------------------------------------------------------------------- +Tue Nov 2 13:28:24 UTC 2010 - sndirsch@novell.com + +- updated to git master commit #d0a4f2e (2010-10-31, still 2.4.22) +- revert-09b1062.diff (to fix Mesa's nouveau driver build) + * Revert "nouveau: Let the user choose the push buffer size." + This reverts commit 09b1062628f2cbddb3ebae20e7b3b8a0a93acebf. + +------------------------------------------------------------------- +Wed Sep 29 12:34:42 UTC 2010 - sndirsch@novell.com + +- libdrm 2.4.22 + * nouveau: fix thinko in drm version check + * nouveau: fix drm version check some more + * intel: Replace open-coded drmIoctl with calls to drmIoctl() + +------------------------------------------------------------------- +Wed Sep 15 04:08:53 UTC 2010 - sndirsch@novell.com + +- updated to git master commit #7ec9a1e (2010-09-09, still 2.4.21) + +------------------------------------------------------------------- +Sat Aug 28 14:02:09 UTC 2010 - sndirsch@novell.com + +- updated to git master commit #23287f0 (still 2.4.21) +- "--enable-nouveau-experimental-api" configure option appears to + be obsolete meanwhile +- enabled build of VMWare's experimental API + +------------------------------------------------------------------- +Wed Jul 7 00:00:00 CEST 2010 - johannesobermayr@gmx.de + +- bnc #620037 + * remove libdrm-204c76c.diff (reverse applied) +- silence some RPMLINT warnings + +------------------------------------------------------------------- +Thu Jun 24 16:57:19 CEST 2010 - sndirsch@suse.de + +- updated to git master commit #726210f + * various tiling related fixes for intel + +------------------------------------------------------------------- +Tue Jun 15 12:10:49 CEST 2010 - sndirsch@suse.de + +- libdrm 2.4.21 +- obsoletes commit-3506173.diff +- adjusted enable_test_tools.diff +- libdrm-204c76c.diff (reverse applied) + * old nouveau gallium driver in Mesa still requires + nouveau_class.h in libdrm + +------------------------------------------------------------------- +Mon May 31 22:08:35 CEST 2010 - sndirsch@suse.de + +- intel: Use the correct size when allocating reloc_target_info + array. Thomas tracked down this error with kdm and commit b509640 + (bnc #608149) + +------------------------------------------------------------------- +Fri Apr 9 09:40:21 CEST 2010 - sndirsch@suse.de + +- libdrm 2.4.20 + * /usr/include/drm/ --> /usr/include/libdrm/ + * /usr/include/intel_bufmgr.h --> /usr/include/libdrm + + +------------------------------------------------------------------- +Thu Mar 18 07:26:44 UTC 2010 - coolo@novell.com + +- fix typo in description + +------------------------------------------------------------------- +Wed Mar 17 21:38:43 CET 2010 - ro@suse.de + +- update to 2.4.19 for Mesa-7.8 + * added nouveau driver + * added kms wrapper library driver + +------------------------------------------------------------------- +Sun Feb 28 18:51:47 CET 2010 - sndirsch@suse.de + +- update to libdrm 2.4.18, which also obsoletes + * intel-Account-for-potential-pinned-buffers-hogging-f.patch + * intel-Handle-resetting-of-input-params-after-EINTR-d.patch + +------------------------------------------------------------------- +Wed Feb 17 16:25:36 CET 2010 - sndirsch@suse.de + +- intel-Account-for-potential-pinned-buffers-hogging-f.patch + * intel: Account for potential pinned buffers hogging fences + (bfo #25911) +- intel-Handle-resetting-of-input-params-after-EINTR-d.patch + * intel: Handle resetting of input params after EINTR during + SET_TILING (bfo #25475, bfo #25554) + +------------------------------------------------------------------- +Wed Jan 6 03:44:44 CET 2010 - sndirsch@suse.de + +- update to libdrm 2.4.17, which is part of Intel 2009Q4 release + +------------------------------------------------------------------- +Tue Dec 15 21:25:54 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Dec 4 21:49:42 CET 2009 - sndirsch@suse.de + +- update to libdrm 2.4.16 + * "Here's the 2.4.16 release of libdrm. There are a lot of + changes this time, in particular we dropped the orphaned + driver code from Linux and BSD and this release is now + really just libdrm. Going forward, the drm header files + we ship in libdrm will be a straight copy from the linux + kernel header files. Once a feature is merged into the + drm-next branch of Dave's kernel tree the header files can + be copied from $kernel_src/usr/include/drm into libdrm and + userspace support for the new functionality can be added." + +------------------------------------------------------------------- +Fri Dec 4 21:46:53 CET 2009 - sndirsch@suse.de + +- readded modeprint, modetest for intel driver + +------------------------------------------------------------------- +Tue Dec 1 22:52:13 CET 2009 - sndirsch@suse.de + +- libdrm 2.4.15_2009-12-01_8ffd2e1 + * update to git commit 8ffd2e1 (2009-12-01); required for + xf86-video-intel 2.10 RC1 +- adjusted enable_test_tools.diff + +------------------------------------------------------------------- +Thu Nov 5 00:51:29 CET 2009 - ro@suse.de + +- add "--enable-radeon-experimental-api --enable-udev" + to configure arguments and package libdrm_radeon as well + +------------------------------------------------------------------- +Thu Oct 29 11:54:08 CET 2009 - sndirsch@suse.de + +- enable_test_tools.diff + * enabled build of test tools (dristat, drmstat, modeprint, + modeset) + +------------------------------------------------------------------- +Wed Oct 28 16:34:52 UTC 2009 - crrodriguez@opensuse.org + +- libdrm-devel requires glibc-devel. + +------------------------------------------------------------------- +Tue Sep 29 20:56:36 CEST 2009 - sndirsch@suse.de + +- libdrm 2.4.14 + * intel: adds support for G41, B43 and Ironlake + +------------------------------------------------------------------- +Sat May 16 03:05:19 CEST 2009 - sndirsch@suse.de + +- libdrm 2.4.11 + * Two releases in one, so twice the usual tiny amount of changes. + Both of the new libdrm_intel interfaces enable KMS fixes in the + Intel 2D driver. +- enabled build of Nouveau's experimental API + +------------------------------------------------------------------- +Sat Apr 18 13:52:48 CEST 2009 - sndirsch@suse.de + +- libdrm 2.4.9 + * Aka, the "kick jbarnes" release. Not only did I push the + broken speedup patch but I flubbed the version bump, so we get + to go from 2.4.7 to 2.4.9. Yay for me. + +------------------------------------------------------------------- +Fri Apr 10 12:38:59 CEST 2009 - sndirsch@suse.de + +- libdrm 2.4.7 + * quick follow on release to 2.4.6 to fix an embarrasing + build problem in the test suite when libudev is not available. +- obsoletes libdrm-commit-1faab66.diff + +------------------------------------------------------------------- +Tue Apr 7 21:50:09 CEST 2009 - sndirsch@suse.de + +- libdrm 2.4.6 + * various fixes +- libdrm-commit-1faab66.diff + * fixes build of 2.4.6 + +------------------------------------------------------------------- +Wed Feb 25 16:01:27 CET 2009 - sndirsch@suse.de + +- libdrm 2.4.5 + +------------------------------------------------------------------- +Fri Jan 23 15:06:47 CET 2009 - sndirsch@suse.de + +- Provides/Obsolete: libdrm23, i.e. get rid of confusing SLE10 + packages (bnc #468796) + +------------------------------------------------------------------- +Wed Jan 7 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Fri Oct 31 05:46:01 CET 2008 - sndirsch@suse.de + +- libdrm 2.4.1 + * New libdrm release to fix the symbol name collision between + Mesa 7.2 and libdrm_intel. Also includes a fix for deadlock + in non-GEM 2D, and support for aperture size checking in GEM. + * Changes since commit a59ea02 + - intel: Rename dri_ and intel_ symbols to drm_intel_. + - intel: Add dri_bufmgr_check_aperture support for bufmgr_gem. + - nv50: symlink nv50_grctx.h to linux-core... + - nv50: move context-related tables a separate header file + - drm: missing init_mm symbol, compatibility fix + - i915: Since FreeBSD doesn't have gem support yet, don't + advertise it. + - radeon: fix error in busmaster enable logic + - radeon: fix some fallout from the busmaster disable cleanup + - drm/i915: fix ioremap of a user address for non-root + (CVE-2008-3831) + - intel: Also total child_size of the target_bos. Partial fix + #17964. + - [FreeBSD] We should use dev2unit() rather than minor() + - [FreeBSD] This check isn't correct and causes at least mga + to lockup. + +------------------------------------------------------------------- +Tue Oct 21 16:23:20 CEST 2008 - sndirsch@suse.de + +- update to git commit a59ea02 (=2.4.1, Intel-2008-Q3-RC5) + * avoid deadlock in intel_bufmgr_fake. + * ioctl is not defined to return -errno. Don't count on ioctl + returning -errno; use errno directly. + +------------------------------------------------------------------- +Sun Oct 19 22:27:00 CEST 2008 - sndirsch@suse.de + +- libdrm 2.4.0 finally available + +------------------------------------------------------------------- +Thu Oct 9 09:27:47 CEST 2008 - sndirsch@suse.de + +- updated to git commit ce40261, which is required by latest + xf86-video-intel driver (Intel-2008-Q3-RC3) + +------------------------------------------------------------------- +Fri Sep 26 09:39:09 CEST 2008 - sndirsch@suse.de + +- updated to git commit 2db8e0c, which is required by latest + xf86-video-intel driver (Intel-2008-Q3-RC2) + +------------------------------------------------------------------- +Wed Sep 24 11:52:52 CEST 2008 - sndirsch@suse.de + +- updated to git commit 973c634, which is required by latest + xf86-video-intel driver (Intel-2008-Q3-RC1) + +------------------------------------------------------------------- +Sun Aug 17 12:33:38 CEST 2008 - sndirsch@suse.de + +- updated to 2.4.0 prerelease (git commit a5381ca) + +------------------------------------------------------------------- +Fri Jul 4 22:16:39 CEST 2008 - sndirsch@suse.de + +- updated to release 2.3.1 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Thu Dec 27 05:13:17 CET 2007 - crrodriguez@suse.de + +- fix library-without-ldconfig-postun warning +- libdrm.la had an empty dependency_libs, removed. + +------------------------------------------------------------------- +Sat Dec 2 20:39:53 CET 2006 - sndirsch@suse.de + +- updated to 2.3.0 (required by X.Org (Server) 7.2 RC3) + +------------------------------------------------------------------- +Fri Jul 28 14:42:41 CEST 2006 - sndirsch@suse.de + +- use "-fno-strict-aliasing" + +------------------------------------------------------------------- +Thu Jul 27 11:31:48 CEST 2006 - sndirsch@suse.de + +- use $RPM_OPT_FLAGS + +------------------------------------------------------------------- +Wed Jun 28 08:06:51 CEST 2006 - sndirsch@suse.de + +- updated to 2.0.2 + * various bugfixes in libdrm + +------------------------------------------------------------------- +Wed Jun 21 22:14:29 CEST 2006 - sndirsch@suse.de + +- updated to current CVS (2006-06-21) + +------------------------------------------------------------------- +Sat Apr 15 20:28:06 CEST 2006 - sndirsch@suse.de + +- updated to 2.0.1 + * various bugfixes in libdrm + +------------------------------------------------------------------- +Sat Feb 4 14:45:10 CET 2006 - aj@suse.de + +- xorg-x11-devel is not needed for build. + +------------------------------------------------------------------- +Wed Jan 25 21:37:25 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Dec 23 20:02:15 CET 2005 - mls@suse.de + +- Require main package in devel subpackage + +------------------------------------------------------------------- +Wed Nov 30 22:33:20 CET 2005 - sndirsch@suse.de + +- update to 2.0 branch (2005-11-30) + +------------------------------------------------------------------- +Tue Nov 1 17:35:43 CET 2005 - sndirsch@suse.de + +- updated to 1.0.5 (version Bump for new via header) + +------------------------------------------------------------------- +Sat Oct 29 18:05:45 CEST 2005 - sndirsch@suse.de + +- call ldconfig in %post + +------------------------------------------------------------------- +Tue Oct 25 05:03:47 CEST 2005 - sndirsch@suse.de + +- updated to CVS 051025 (required for Mesa 6.4) + +------------------------------------------------------------------- +Tue Oct 4 20:04:46 CEST 2005 - sndirsch@suse.de + +- added libdrm.so to filelist + +------------------------------------------------------------------- +Sun Oct 2 18:30:17 CEST 2005 - sndirsch@suse.de + +- created package + diff --git a/libdrm.spec b/libdrm.spec new file mode 100644 index 0000000..2f9b85a --- /dev/null +++ b/libdrm.spec @@ -0,0 +1,385 @@ +# +# spec file for package libdrm +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%ifarch aarch64 x86_64 ppc64le s390x +%bcond_without valgrind_support +%else +%bcond_with valgrind_support +%endif + +Name: libdrm +# Please remember to adjust the version in the n_libdrm-drop-valgrind* patches +Version: 2.4.119 +Release: 0 +Summary: Userspace Interface for Kernel DRM Services +License: MIT +Group: Development/Libraries/X11 +URL: https://dri.freedesktop.org/ +# Git-Clone: https://gitlab.freedesktop.org/mesa/drm.git +# Git-Web: https://gitlab.freedesktop.org/mesa/drm +# Source URL: https://dri.freedesktop.org/libdrm/ +Source: https://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.xz +Source2: baselibs.conf +Source3: n_libdrm-drop-valgrind-dep-generic.patch +Source4: n_libdrm-drop-valgrind-dep-intel.patch +BuildRequires: fdupes +BuildRequires: meson >= 0.43 +BuildRequires: pkgconfig +# needed for rst2man to create manual pages +BuildRequires: python3-docutils +BuildRequires: pkgconfig(pciaccess) >= 0.10 +Provides: libdrm23 = %{version} +Obsoletes: libdrm23 < %{version} +%if %{with valgrind_support} +BuildRequires: pkgconfig(valgrind) +%endif + +%description +The package contains the userspace interface to the kernel DRM +services. + +%package tools +Summary: Diagnostic utilities for DRI and DRM +Group: System/Base +Obsoletes: libdrm < %{version}-%{release} +Provides: libdrm = %{version}-%{release} + +%description tools +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems that support the ioctl +interface, and for chipsets with DRM memory manager, support for +tracking relocations and buffers. libdrm is a low-level library, +typically used by graphics drivers such as the Mesa DRI and X +drivers. + +This package contains diagnostic utilities for DRI and DRM. + +%package devel +Summary: Libraries, includes and more to develop libdrm applications +Group: Development/Libraries/X11 +Requires: libdrm2 = %{version} +Requires: libdrm_amdgpu1 = %{version} +Requires: libdrm_nouveau2 = %{version} +Requires: libdrm_radeon1 = %{version} +%ifarch %{arm} aarch64 +Requires: libdrm_etnaviv1 = %{version} +Requires: libdrm_exynos1 = %{version} +Requires: libdrm_freedreno1 = %{version} +Requires: libdrm_tegra0 = %{version} +%endif +%ifarch %{arm} +Requires: libdrm_omap1 = %{version} +%endif +%ifnarch s390x +Requires: libdrm_intel1 = %{version} +%endif +# bug437293 +%ifarch ppc64 +Obsoletes: libdrm-devel-64bit < %{version} +Provides: libdrm-devel-64bit = %{version} +%endif +# bsc#1215526 +Obsoletes: libkms-devel < %{version}-%{release} +Provides: libkms-devel = %{version}-%{release} + +%description devel +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems that support the ioctl +interface, and for chipsets with DRM memory manager, support for +tracking relocations and buffers. libdrm is a low-level library, +typically used by graphics drivers such as the Mesa DRI and X +drivers. + +This package contains the development headers for the library found +in libdrm2. + +%package -n libdrm2 +Summary: Userspace Interface for Kernel DRM Services +Group: System/Libraries +# bsc#1215526 +Obsoletes: libkms1 < %{version}-%{release} +Provides: libkms1 = %{version}-%{release} + +%description -n libdrm2 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems that support the ioctl +interface, and for chipsets with DRM memory manager, support for +tracking relocations and buffers. libdrm is a low-level library, +typically used by graphics drivers such as the Mesa DRI and X +drivers. + +%package -n libdrm_intel1 +Summary: Userspace interface for Kernel DRM services for Intel chips +Group: System/Libraries + +%description -n libdrm_intel1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for Intel chips. + +%package -n libdrm_nouveau2 +Summary: Userspace interface for Kernel DRM services for NVIDIA chips +Group: System/Libraries + +%description -n libdrm_nouveau2 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for NVIDIA chips. + +%package -n libdrm_radeon1 +Summary: Userspace interface for Kernel DRM services for AMD Radeon chips +Group: System/Libraries + +%description -n libdrm_radeon1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for AMD Radeon chips. + +%package -n libdrm_amdgpu1 +Summary: Userspace interface for Kernel DRM services for AMD Radeon chips +Group: System/Libraries + +%description -n libdrm_amdgpu1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface for Kernel DRM services +for AMD Radeon chips. + +%package -n libdrm_omap1 +Summary: Userspace interface to kernel DRM services for omap chips +Group: System/Libraries + +%description -n libdrm_omap1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for omap chips. + +%package -n libdrm_etnaviv1 +Summary: Userspace interface to kernel DRM services for Vivante chips +Group: System/Libraries + +%description -n libdrm_etnaviv1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Vivante chips. + +%package -n libdrm_exynos1 +Summary: Userspace interface to kernel DRM services for Samsung Exynos chips +Group: System/Libraries + +%description -n libdrm_exynos1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Samsung Exynos chips. + +%package -n libdrm_freedreno1 +Summary: Userspace interface to kernel DRM services for Qualcomm Adreno chips +Group: System/Libraries + +%description -n libdrm_freedreno1 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Qualcomm Adreno chips. + +%package -n libdrm_tegra0 +Summary: Userspace interface to kernel DRM services for Nvidia Tegra chips +Group: System/Libraries + +%description -n libdrm_tegra0 +libdrm is a library for accessing the Direct Rendering Manager on +Linux, BSD and other operating systems. + +This package provides userspace interface to kernel DRM services +for Nvidia Tegra chips. + +%prep +%autosetup -p1 + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%meson \ + --default-library=shared \ + -Dinstall-test-programs=true \ + -Dudev=true \ + -Dcairo-tests=disabled \ +%ifarch %{arm} + -Domap=enabled \ +%endif +%ifarch %{arm} aarch64 + -Detnaviv=enabled \ + -Dexynos=enabled \ + -Dfreedreno=enabled \ + -Dvc4=enabled \ + -Dtegra=enabled \ +%else + -Detnaviv=disabled \ + -Dfreedreno=disabled \ + -Dvc4=disabled \ +%endif +%ifarch s390x + -Dintel=disabled \ +%endif +%if %{with valgrind_support} + -Dvalgrind=enabled \ +%else + -Dvalgrind=disabled \ +%endif + %{nil} +%meson_build + +%check +### FIXME ### Tests fail on arm, so lets not run them there for now. +%ifnarch %{arm} +%meson_test +%endif + +%install +%meson_install +%if %{pkg_vcmp meson < 0.64} +%if %{with valgrind_support} +# patch the generated pkgconfig files to not have a dependency on valgrind +# intentionally using a patch file to catch if we need to adjust +pushd %{buildroot}%{_libdir}/pkgconfig +echo "arch: %_arch" +%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x +patch -p1 --no-backup-if-mismatch < %{SOURCE3} +%ifnarch s390x +patch -p1 --no-backup-if-mismatch < %{SOURCE4} +%endif +%endif +popd +%endif +%endif +%fdupes %{buildroot}/%{_prefix} + +%post -n libdrm2 -p /sbin/ldconfig +%postun -n libdrm2 -p /sbin/ldconfig +%ifnarch s390x +%post -n libdrm_intel1 -p /sbin/ldconfig +%postun -n libdrm_intel1 -p /sbin/ldconfig +%endif +%post -n libdrm_nouveau2 -p /sbin/ldconfig +%postun -n libdrm_nouveau2 -p /sbin/ldconfig +%post -n libdrm_radeon1 -p /sbin/ldconfig +%postun -n libdrm_radeon1 -p /sbin/ldconfig +%post -n libdrm_amdgpu1 -p /sbin/ldconfig +%postun -n libdrm_amdgpu1 -p /sbin/ldconfig + +%ifarch %{arm} +%post -n libdrm_omap1 -p /sbin/ldconfig +%postun -n libdrm_omap1 -p /sbin/ldconfig +%endif + +%ifarch %{arm} aarch64 +%post -n libdrm_etnaviv1 -p /sbin/ldconfig +%postun -n libdrm_etnaviv1 -p /sbin/ldconfig +%post -n libdrm_exynos1 -p /sbin/ldconfig +%postun -n libdrm_exynos1 -p /sbin/ldconfig +%post -n libdrm_freedreno1 -p /sbin/ldconfig +%postun -n libdrm_freedreno1 -p /sbin/ldconfig +%post -n libdrm_tegra0 -p /sbin/ldconfig +%postun -n libdrm_tegra0 -p /sbin/ldconfig +%endif + +%files tools +%{_bindir}/drmdevice +%ifarch %{arm} aarch64 +%{_bindir}/etnaviv_2d_test +%{_bindir}/etnaviv_bo_cache_test +%{_bindir}/etnaviv_cmd_stream_test +%{_bindir}/exynos_fimg2d_test +%{_bindir}/exynos_fimg2d_event +%{_bindir}/exynos_fimg2d_perf +%{_bindir}/tegra-* +%endif +%{_bindir}/amdgpu_stress +%{_bindir}/modeprint +%{_bindir}/modetest +%{_bindir}/proptest +%{_bindir}/vbltest + +%files devel +%{_mandir}/man?/drm*?%{ext_man} +%{_includedir}/libdrm +%ifarch %{arm} +%{_includedir}/omap +%endif +%ifarch %{arm} aarch64 +%{_includedir}/exynos +%{_includedir}/freedreno +%endif +%{_includedir}/xf86drm.h +%{_includedir}/xf86drmMode.h +%{_includedir}/libsync.h +%{_libdir}/libdrm*.so +%{_libdir}/pkgconfig/libdrm*.pc + +%files -n libdrm2 +%{_libdir}/libdrm.so.2* +%dir %{_datarootdir}/libdrm + +%ifnarch s390x +%files -n libdrm_intel1 +%{_libdir}/libdrm_intel.so.1* +%endif + +%files -n libdrm_nouveau2 +%{_libdir}/libdrm_nouveau.so.2* + +%files -n libdrm_radeon1 +%{_libdir}/libdrm_radeon.so.1* + +%files -n libdrm_amdgpu1 +%{_libdir}/libdrm_amdgpu.so.1* +%{_datarootdir}/libdrm/amdgpu.ids + +%ifarch %{arm} +%files -n libdrm_omap1 +%{_libdir}/libdrm_omap.so.1* +%endif + +%ifarch %{arm} aarch64 +%files -n libdrm_etnaviv1 +%{_libdir}/libdrm_etnaviv.so.1* + +%files -n libdrm_exynos1 +%{_libdir}/libdrm_exynos.so.1* + +%files -n libdrm_freedreno1 +%{_libdir}/libdrm_freedreno.so.1* + +%files -n libdrm_tegra0 +%{_libdir}/libdrm_tegra.so.0* +%endif + +%changelog diff --git a/n_libdrm-drop-valgrind-dep-generic.patch b/n_libdrm-drop-valgrind-dep-generic.patch new file mode 100644 index 0000000..8ccb3fc --- /dev/null +++ b/n_libdrm-drop-valgrind-dep-generic.patch @@ -0,0 +1,10 @@ +--- pkgconfig/libdrm.pc.orig 2023-11-17 14:37:30.634039982 +0100 ++++ pkgconfig/libdrm.pc 2023-11-17 14:38:13.366905622 +0100 +@@ -5,7 +5,6 @@ + Name: libdrm + Description: Userspace interface to kernel DRM services + Version: 2.4.119 +-Requires.private: valgrind + Libs: -L${libdir} -ldrm + Libs.private: -lm + Cflags: -I${includedir} -I${includedir}/libdrm diff --git a/n_libdrm-drop-valgrind-dep-intel.patch b/n_libdrm-drop-valgrind-dep-intel.patch new file mode 100644 index 0000000..8d26a6c --- /dev/null +++ b/n_libdrm-drop-valgrind-dep-intel.patch @@ -0,0 +1,11 @@ +--- pkgconfig/libdrm_intel.pc.orig 2023-11-17 14:37:37.898187134 +0100 ++++ pkgconfig/libdrm_intel.pc 2023-11-17 14:38:39.303431015 +0100 +@@ -6,7 +6,7 @@ + Description: Userspace interface to intel kernel DRM services + Version: 2.4.119 + Requires: libdrm +-Requires.private: pciaccess >= 0.10, valgrind ++Requires.private: pciaccess >= 0.10 + Libs: -L${libdir} -ldrm_intel + Libs.private: -pthread + Cflags: -I${includedir} -I${includedir}/libdrm