- Aug 02, 2021
-
-
Jordan Justen authored
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 <jordan.l.justen@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
-
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 <mario.kleiner.de@gmail.com>
-
- Jul 30, 2021
-
-
Nobody wants that that I know of. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-
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 <hoegsberg@google.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-
- Jul 23, 2021
-
-
Aaron Liu authored
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 <aaron.liu@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
-
- Jul 16, 2021
-
-
Luben Tuikov authored
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 <Alexander.Deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Cc: Aaron Liu <aaron.liu@amd.com> Cc: Huang Rui <ray.huang@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
-
- Jul 02, 2021
-
-
Bas Nieuwenhuizen authored
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
- Jun 30, 2021
-
-
Alex Deucher authored
From 21.20 release. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-
- Jun 22, 2021
-
-
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
As format modifiers can be encoded in quite complex forms, the static table previously added is not sufficient to retrieve, extract and decode the token formats to a human-readable string. This patch introduces a vendor specific callback which could be used to perform an additional search to match up with vendor encoding scheme, which, will be used first, before resorting to searching the static table. With it, add support for decoding the ARM format modifiers. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
Introduces two new methods to retrieve a human readable representation of a format modifier: drmGetFormatModifierName() - returns a format modifier as a string, from a token modifier drmGetFormatModifierVendor() - returns the vendor as a string, from a token modifier and the fourcc_mod_get_vendor macro that returns the vendor. New format modifiers added in drm_fourcc.h uapi kernel header should be sync'ed up with libdrm and should include a human readable representation for that format modifier, in order to display it correctly as a string. That happens with the help of a python script that reads up drm_fourcc header file and outputs a static table comprised of token modifiers alongside a vendor table (Suggested-by Simon Ser <contact@emersion.fr>). The reason for doing it in libdrm is to have a unified place instead of each user of libdrm having a way to keep track of the format modifiers. With this patch, modetest has also been modified to make use of it. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-
- Jun 20, 2021
-
-
Eleni Maria Stea authored
<linux/limits.h> should be included conditionally for Linux only, also SPECNAMELEN used conditionally when the OS is FreeBSD requires to include <sys/params.h>. Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-
Eleni Maria Stea authored
In FreeBSD's errno.h ERESTART is not defined by default, only when the user requests the pseudo-errors returned inside the kernel to be enabled. As a result the block where drmCommandWriteRead is called returns compile error. Defined _WANT_KERNEL_ERRNO to fix it (see FreeBSD's /usr/include/errno.h) Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-
Eleni Maria Stea authored
<sys/types.h> need to be included in xf86drmMode.c for type u_int in <sys/sysctl.h> (that is included when OS is FreeBSD) to be recognized. Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-
- Jun 15, 2021
-
-
Bas Nieuwenhuizen authored
In Vulkan we have extensions to assist with capture in replay in a world where addresses are returned to the application. This involves creating buffers at the same VA during replay as they were during capture. By itself libdrm_amdgpu already has support for this, but there is the obvious failure mode that if another buffer is already allocated at that VA things fail spectacularly. This is an actual issue as internal buffers, like winsys images or shader binaries also participate in the same VA allocation. To avoid this problem applications have to create buffers which are going to be captured with a flag, and the implementation is to separate VA allocation for those buffers to reduce the collision risk: "Implementations are expected to separate such buffers in the GPU address space so normal allocations will avoid using these addresses. Apps/tools should avoid mixing app-provided and implementation-provided addresses for buffers created with VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, to avoid address space allocation conflicts." This patch implements that by adding a flag for these buffers and allocating address space from the top of the address range instead of the bottom. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Christian König <christian.koenig@amd.com>
-
- Jun 09, 2021
-
-
Disconnect device while fence is exported. Also disable this test for sytem with single GPU. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
Disconnect device while BO is exported. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
Same as simple test but while doing cs Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
Add plug/unplug device and open/close device file infrastructure. Add basic test - unplug device while device file still open. Close device file afterwards and replug the device. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
Expose close device and add open device wich preserves test index. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
Struct access after free Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
- Jun 07, 2021
-
-
Rahul Kumar authored
Update marketing names. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-
- Jun 01, 2021
-
-
This reverts commit a5a400c9. Bo evict test was disabled by default per below commit. So still keep it as disabled. 1f6a85cc test/amdgpu: disable bo eviction test by default Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Lang Yu <Lang.Yu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
- May 20, 2021
-
-
Add ADLP platform support and PCIIDs Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com> Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> Signed-off-by: Caz Yokoyama <caz.yokoyama@intel.com> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
-
- May 18, 2021
-
-
Dave Airlie authored
Signed-off-by: Dave Airlie <airlied@redhat.com>
-
- May 06, 2021
-
-
Karol Herbst authored
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
Karol Herbst authored
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
Karol Herbst authored
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
Karol Herbst authored
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
Karol Herbst authored
nvc0 sets the NVC0_IB_ENTRY_1_NO_PREFETCH bit on some pushbuffers Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
Karol Herbst authored
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-
- Apr 30, 2021
-
-
Eric Engestrom authored
ci: use `base-devel` tag of archlinux image instead of `base` and then installing `base-devel` after Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Simon Ser <contact@emersion.fr>
-
Eric Engestrom authored
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Simon Ser <contact@emersion.fr>
-
- Apr 22, 2021
-
-
Bas Nieuwenhuizen authored
This reverts commit b3628506. This breaks when the kernel driver does not support modifiers and the application properly zeroes the modifiers. Acked-by: Simon Ser <contact@emersion.fr>
-
- Apr 19, 2021
-
-
Jinzhou Su authored
In syncobj test, 3 threads will be created. Sometimes the first gfx IB and the third sdma IB will use same physical page. There will be risk that sdma engine will read gfx IB in the same physical page. So better to flush the cache before commit the sdma IB. Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
- Apr 14, 2021
-
-
Using tmz ids that reported from kernel to decide whether enable security tests. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
-
VCN is supported after AI family Arcturus. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
-