Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / libdrm
Commits: 87a68fe9 by Luben Tuikov at 2021-07-16T12:10:06-04:00 tests/amdgpu: Fix TMZ secure bounce test Fix the TMZ secure bounce test, in that Bob's buffer has to be created encrypted (with the encrypted flag set), so that when we copy from Alice's buffer, which is also encrypted, to Bob's buffer, the copy can be successful and the data actually copied. This fixes the test and it no longer fails. Tested on Sienna Cichlid. Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: Aaron Liu <[email protected]> Cc: Huang Rui <[email protected]> Signed-off-by: Luben Tuikov <[email protected]> Reviewed-by: Alex Deucher <[email protected]> - - - - - 4ac7d6bf by Aaron Liu at 2021-07-23T10:24:22+08:00 test/amdgpu: Bob to Alice copy should be TMZ in secure bounce test SDMA copy from Alice to Bob is in TMZ mode. Therefore SDMA copy back from Bob to Alice should be in TMZ mode too. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Luben Tuikov <[email protected]> - - - - - a819b9ad by Eric Anholt at 2021-07-30T10:58:11-07:00 meson: Build libdrm.so as an unversioned lib on Android. Android vendor libraries don't have sonames, and libdrm.so shouldn't either. This lets a Mesa built against a libdrm.so built for Android be copied directly to a Chrome OS ARC installation. Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> - - - - - e6fb9ccf by Eric Anholt at 2021-07-30T10:58:11-07:00 meson: Don't build libkms for Android. Nobody wants that that I know of. Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> - - - - - 149b99fe by Mario Kleiner at 2021-08-02T02:39:12+00:00 headers: drm: Sync with drm-next Generated using make headers_install from the drm-next tree - git://anongit.freedesktop.org/drm/drm branch - drm-next commit - 8a02ea42bc1d4c448caf1bab0e05899dad503f74 Some changes were omitted, e.g., to nouveau_drm.h, i915_drm.h, and msm_drm.h, as the nouveau and i915 changes looked to me as if they could break compatibility or require other compatibility fixes to libdrm which i can not judge. msm_drm.h broke the build, as there are definitely changes needed to libdrm's msm support code. The shortlog below is edited to only list what corresponds to files that are included here, because it looked safe to me. The changes were as follows (shortlog from b10733527bfd864605c33ab2e9a886eec317ec39..HEAD): Aaron Liu (1): drm/amdgpu: add uapi to define yellow carp series Alex Deucher (1): drm/amdgpu: add INFO ioctl support for querying video caps (v4) Christian Gmeiner (1): drm/etnaviv: provide more ID values via GET_PARAM ioctl. Felix Kuehling (1): drm/amdgpu: Add new placement for preemptible SG BOs Jiawei Gu (1): drm/amdgpu: Add vbios info ioctl interface Lionel Landwerlin (1): drm: fix drm_mode_create_blob comment Mario Kleiner (1): drm/fourcc: Add 16 bpc fixed point framebuffer formats. Nirmoy Das (1): drm/amdgpu: remove AMDGPU_GEM_CREATE_SHADOW flag Noralf Trønnes (1): drm/uapi: Add USB connector type Radhakrishna Sripada (1): drm/framebuffer: Format modifier for Intel Gen 12 render compression with Clear Color Simon Ser (13): drm: improve kernel-docs in drm_mode.h drm: document drm_mode_get_connector drm: document drm_mode_modeinfo drm: document that user-space should force-probe connectors drm/doc: atomic implicitly enables other caps drm/doc: re-format drm.h file comment drm/doc: demote old doc-comments in drm.h drm/fourcc: fix Amlogic format modifier masks drm/uapi: document kernel capabilities drm/connector: demote connector force-probes for non-master clients drm: reference mode flags in DRM_CLIENT_CAP_* docs drm: clarify and linkify DRM_CLIENT_CAP_WRITEBACK_CONNECTORS docs drm: document minimum kernel version for DRM_CLIENT_CAP_* Signed-off-by: Mario Kleiner <[email protected]> - - - - - 8d0fb9b3 by Jordan Justen at 2021-08-02T15:31:26-07:00 libdrm: NOTE! Default branch is now main To update your local repository to use the new default branch, these commands may help: $ git fetch origin $ git checkout master $ git branch -m main $ git branch --set-upstream-to=origin/main $ git remote set-head origin --auto Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Dave Airlie <[email protected]> - - - - - 1d29e1df by Karol Herbst at 2021-08-04T18:27:13+02:00 nouveau: print bo address in the GPU/CPU vm and its size v2: print bo->offset as 64 bit Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Karol Herbst <[email protected]> - - - - - 1a4c0ec9 by Eric Engestrom at 2021-08-14T09:05:49+01:00 xf86drm: fix mem leak in drm_usb_dev_path() `sysfs_uevent_get()` returns a `strndup()`ed string, which must be `free()`d. Fixes: bf63f8acdc94164ad29d ("libdrm: Handle usb_interface devices for usb parsing") Reviewed-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - a7892962 by Tejas Upadhyay at 2021-08-24T12:49:19+05:30 intel: sync ADL-S PCI IDs with kernel Align with kernel commits: c79b846f892d ("drm/i915/adl_s: Update ADL-S PCI IDs") 3f50033dd88a ("drm/i915/adl_s: ADL-S platform Update PCI ids for Mobile BGA") Signed-off-by: Tejas Upadhyay <[email protected]> - - - - - d201a41d by ZhiJie.Zhang at 2021-09-02T09:26:17+00:00 tests/modetest: get cursor width and height by drmGetCap Should get cursor width and height by drmGetCap. Signed-off-by: ZhiJie.Zhang <[email protected]> - - - - - 4529056e by Alex Deucher at 2021-09-20T15:10:08-04:00 amdgpu: add marketing names from 21.30 Add new marketing names Acked-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]> - - - - - a97f265c by Alex Deucher at 2021-09-20T15:10:08-04:00 amdgpu: add new marketing name Acked-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]> - - - - - 02dd464b by José Roberto de Souza at 2021-09-23T21:40:58+00:00 intel: Sync pci ids Sync libdrm with kernel, a new DG1 pci was added. Commit 5f0d4214938d ("drm/i915/dg1: Add new PCI id") Signed-off-by: José Roberto de Souza <[email protected]> - - - - - 122ff0e8 by Tvrtko Ursulin at 2021-09-24T12:55:02+00:00 intel: Do not assert on unknown chips in drm_intel_decode_context_alloc There is this long standing nit of igt/tools/intel_error_decode asserting when you feed it an error state from a GPU the local libdrm does not know of. To fix this I need a tweak in drm_intel_decode_context_alloc to make it not assert but just return NULL (which seems an already possible return value). Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Zbigniew Kempczyński <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> - - - - - 264e66b5 by Simon Ser at 2021-09-27T12:57:02+02:00 xf86drm: add GEM_CLOSE ioctl wrapper We have wrappers for PRIME_HANDLE_TO_FD and PRIME_FD_TO_HANDLE, but not for GEM_CLOSE. Add it so that callers don't need to manually call drmIoctl. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Acked-by: Daniel Stone <[email protected]> - - - - - f9c27a9e by Jason Ekstrand at 2021-09-27T11:26:27+00:00 intel: Drop legacy execbuffer support Execbuffer2 support was introduced to libdrm in b50964027be, 10 years ago, and no driver has used the old execbuf path since. There's no need to support 10-year-old kernels. Reviewed-by: Daniel Vetter <[email protected]> - - - - - e939bd1e by Simon Ser at 2021-09-27T15:01:55+02:00 xf86drmMode: make drm_property_type_is arg const This function only needs read-only access to the property. This is not a breaking ABI change. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - bb709e60 by Simon Ser at 2021-09-27T15:01:59+02:00 xf86drmMode: switch to standard inline qualifier __inline is non-standard, inline is. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 02ac4a0a by Simon Ser at 2021-09-27T15:02:03+02:00 xf86drmMode: simplify drm_property_type_is No need to have two branches depending on DRM_MODE_PROP_EXTENDED_TYPE. We can just use drmModeGetPropertyType instead. This does introduce a slight change: previously, drm_property_type_is() could be called with non-type flags such as IMMUTABLE. However no user seems to do this (checked KWin/Mutter/Sway/Weston/Xorg). Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - d2875fe0 by Dennis Tsiang at 2021-10-04T10:18:41+00:00 drm_fourcc: sync drm_fourcc with latest drm-next kernel Update drm_fourcc.h to include latest changes from drm-next branch. This brings in AFRC (Arm Fixed-Rate Compression) modifiers. Generated using make headers_install. Generated from drm-next branch commit 6880fa6 Signed-off-by: Dennis Tsiang <[email protected]> - - - - - bd26b61c by Dennis Tsiang at 2021-10-04T10:18:41+00:00 xf86drm: Update drmGetFormatModifierNameFromArm to handle AFRC Update drmGetFormatModifierNameFromArm function to handle AFRC modifiers. Signed-off-by: Dennis Tsiang <[email protected]> - - - - - ef77e5e1 by Simon Ser at 2021-10-06T09:03:21+02:00 amdgpu: use drmCloseBufferHandle Instead of using a hand-rolled amdgpu_close_kms_handle function, use the function from libdrm core, which does exactly the same thing. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 7e13fe1d by Simon Ser at 2021-10-06T09:03:21+02:00 intel: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 80f8fbd4 by Simon Ser at 2021-10-06T09:03:21+02:00 radeon: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - bd1f320b by Simon Ser at 2021-10-06T09:03:21+02:00 etnaviv: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 2fda5f9b by Simon Ser at 2021-10-06T09:03:21+02:00 exynos: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 7b67fec6 by Simon Ser at 2021-10-06T09:03:21+02:00 freedreno: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 53ef4b37 by Simon Ser at 2021-10-06T09:03:21+02:00 nouveau: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - bf23fe37 by Simon Ser at 2021-10-06T09:03:21+02:00 omap: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - 751752d2 by Simon Ser at 2021-10-06T09:03:21+02:00 tegra: use drmCloseBufferHandle Instead of manually calling drmIoctl, use the equivalent function from libdrm core. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - dd3655ce by Simon Ser at 2021-10-06T09:03:21+02:00 man: refer to drmCloseBufferHandle instead of DRM_IOCTL_GEM_CLOSE This function in libdrm core wraps DRM_IOCTL_GEM_CLOSE. Signed-off-by: Simon Ser <[email protected]> Reviewed-by: Emil Velikov <[email protected]> - - - - - d77ccdf3 by Christian König at 2021-10-20T15:15:30+02:00 amdgpu: add amdgpu_stress utility v2 Simple yet useful command line utility to simulate memory pressure. Already found quite a number of problems in TTM with that. v2: replace spaces with tabs Signed-off-by: Christian König <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> - - - - - fda3d001 by Alex Richardson at 2021-11-02T10:44:30+00:00 Fix -Werror=format build errors on FreeBSD On 64-bit FreeBSD targets uint64_t is generally defined as `unsigned long` and not `unsigned long long`. Use the PRI macros to fix -Wformat. Signed-off-by: Alex Richardson <[email protected]> Reviewed-by: Simon Ser <[email protected]> - - - - - f256bb9a by Joshua Ashton at 2021-11-04T06:03:49+00:00 amdgpu: Make marketing names consistent Fixes sporadic (TM), capitalization, missing AMD suffixes and spacing. Signed-off-by: Joshua Ashton <[email protected]> - - - - - e641e2a6 by Luigi Santivetti at 2021-11-08T16:20:04+00:00 xf86drm: add iterator API for DRM/KMS IN_FORMATS blobs Add support for parsing IN_FORMATS property blobs. Providing libdrm with this functionality helps to standardise how user-space reads kernel blobs and decreases duplication on the client side. drmModeFormatModifierBlobIterNext() allows the caller to view formats and associated modifiers given a valid property blob. An example is available inside the libdrm unit test, modetest.c. Signed-off-by: Luigi Santivetti <[email protected]> Reviewed-by: Simon Ser <[email protected]> - - - - - d76c3871 by Simon Ser at 2021-11-08T17:35:03+01:00 build: bump version to 2.4.108 Signed-off-by: Simon Ser <[email protected]> - - - - - 07f2f7aa by Timo Aaltonen at 2021-11-17T11:27:35+02:00 Merge branch 'upstream-unstable' into debian-unstable - - - - - 5f716650 by Timo Aaltonen at 2021-11-17T11:28:25+02:00 bump the version - - - - - 79276dec by Timo Aaltonen at 2021-11-17T11:30:21+02:00 libdrm-tests: Add amdgpu_stress. - - - - - 859d6466 by Timo Aaltonen at 2021-11-17T11:32:16+02:00 symbols: Updated. - - - - - addd33ec by Timo Aaltonen at 2021-11-17T11:35:57+02:00 release to sid - - - - - 30 changed files: - amdgpu/amdgpu_bo.c - core-symbols.txt - data/amdgpu.ids - debian/changelog - debian/libdrm-tests.install - debian/libdrm2.symbols - etnaviv/etnaviv_bo.c - etnaviv/etnaviv_drm.h - exynos/exynos_drm.c - freedreno/freedreno_bo.c - gen_table_fourcc.py - include/drm/amdgpu_drm.h - include/drm/drm.h - include/drm/drm_fourcc.h - include/drm/drm_mode.h - intel/i915_pciids.h - intel/intel_bufmgr_gem.c - intel/intel_decode.c - man/drm-memory.7.rst - meson.build - nouveau/nouveau.c - nouveau/pushbuf.c - omap/omap_drm.c - radeon/radeon_bo_gem.c - tegra/tegra.c - + tests/amdgpu/amdgpu_stress.c - tests/amdgpu/meson.build - tests/amdgpu/security_tests.c - tests/modeprint/modeprint.c - tests/modetest/modetest.c The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/lib/libdrm/-/compare/9b2880947656440dec4b098e402b20d035f6fa1b...addd33ec2bbcd2cee0b9880bf569b73aa3bd1daa -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/libdrm/-/compare/9b2880947656440dec4b098e402b20d035f6fa1b...addd33ec2bbcd2cee0b9880bf569b73aa3bd1daa You're receiving this email because of your account on salsa.debian.org.

