Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libdrm: List of commits

external/libdrm


RSS
Rev. Tiempo Autor
9ed47ee r-x86 2021-07-21 04:37:28 Mauro Rossi

android: add genrule for generated_static_table_fourcc.h

Fixes the following building error:

external/libdrm/xf86drm.c:158:10: fatal error: 'generated_static_table_fourcc.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Change-Id: I1b0cac498ed63ebec6e8c03629bbf4a1b6a9618d

e4a8d72 2021-07-21 04:36:41 Mauro Rossi

libdrm-2.4.107
-----BEGIN PGP SIGNATURE-----

iQJMBAABCAA2FiEEiZqBCQC4FYB3QubYlaZ3ojCsSqkFAmDfCfcYHGJhc0BiYXNu
aWV1d2VuaHVpemVuLm5sAAoJEJWmd6IwrEqpi/kP/1BTDb+cDt29v+GsyC34hpOU
DluFxgivD2w6lC3yVQwVKe2FM0e7BktiotHIGGItBem3hcz1738JacyucVcaaCaV
lcYAgs6fLxVGJbZtljiHLdnaUSeHzfrMe5auSqWSnWsFJZ9sNHFf6Iwx3VXufAFa
Uzd1ZnDoUKjLeG1MrKvCPo7FoyjKmu6n2GyqLMcmwEaS5i9Dy2mPGgraiOKwzQyj
26WGSo2Yp1LziF9kdIMKK7cHlCP18hlz7dHkhPFw5FJuw7czah288HlQcdjC8C6K
oarAP4ECuSAaz4sqNPvjObcnq4EYjl4ap00dINtGz/e1S4d+0GtmfuakbMc4rYoo
fSV9TQ3XgMh0Bxptl7cisfFRQrl9EtAhLkvDLqZ/mEg5NFsiXtVLk7SlxWOqvh3h
v7nDnUFebKBPvf1XDMNJqQwOvJJOxCKUSCqCzutBYIWIr77z8jJebcma2LPxG1ss
hY69woXhUs4eqPc3T5M7CxgTA9RLaQRq1NVUXuVe51EmuIhxM0MHfo0ZMBy8+t0o
NcfIoS1VEG8AA0DVCK125aB8OO6hfKvwj0+YNcV7kqmxRbxzasf2bspq3VX+/kP1
ZEaOYVYvCsXUIy9JhoYAkFGA3hSAjO11J8ZAvD8xDmQxW1LqIfR+DMq9zQ5oHcDx
8CM5A604g5j+5OeCI+HS
=G+Uw
-----END PGP SIGNATURE-----

Merge tag 'libdrm-2.4.107'

libdrm-2.4.107

Change-Id: Ida30e1c76b4f6c1ccfce29c2465efcba15995420

f9c8933 pie-x86 2021-07-05 20:41:32 Chih-Wei Huang

Restore data/Android.mk

Since libdrm_amdgpu defined in Android.bp can't require the module
defined in Android.mk, amdgpu.ids has to be added to PRODUCT_PACKAGES.

d63cf79 2021-07-05 20:38:05 Chih-Wei Huang

Merge tag 'libdrm-2.4.106' into pie-x86

Conflicts:
xf86drm.c

9cef5de 2021-07-02 10:12:30 Bas Nieuwenhuizen

Bump version to 2.4.107

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>

ab72fde 2021-06-30 10:06:42 Alex Deucher

amdgpu: update marketing names

From 21.20 release.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

5d97031 2021-06-22 20:16:04 Marius Vlad

README.rst: Include some notes about syncing uapi headers

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>

65d8939 2021-06-22 20:16:04 Marius Vlad

xf86drm: Add support for decoding AMLOGIC format modifiers

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>

9ae8f17 2021-06-22 20:16:04 Marius Vlad

xf86drm: Add support for decoding AMD format modifiers

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>

99a0522 2021-06-22 20:16:04 Marius Vlad

xf86drm: Add support for decoding Nvidia format modifiers

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>

a04b674 2021-06-22 20:16:04 Marius Vlad

xf86drm: Add a vendor function to decode the format modifier

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>

67e9119 2021-06-22 20:16:04 Marius Vlad

xf86drm: Add a human readable representation for format modifiers

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>

f287d19 2021-06-20 20:32:33 Eleni Maria Stea

Conditionally include <linux/limits.h> and <sys/params.h> on Linux, BSD

<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>

8bc56fe 2021-06-20 15:20:08 Eleni Maria Stea

_WANT_KERNEL_ERRNO must be defined in FreeBSD for ERESTART to be used

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>

90c9175 2021-06-20 15:20:08 Eleni Maria Stea

include <sys/types.h> in xf86drmMode when the OS is FreeBSD

<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>

085ee3e 2021-06-15 22:08:20 Bas Nieuwenhuizen

amdgpu: Add vamgr for capture/replay.

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>

d615430 2021-06-10 05:27:09 Andrey Grodzovsky

tests/amdgpu/hotunplug: Add hotunplug with exported fence

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

93a4708 2021-06-10 05:27:09 Andrey Grodzovsky

tests/amdgpu/hotunplug: Add hotunplug with exported bo test

Disconnect device while BO is exported.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher alexander.deucher@amd.com

b5f611c 2021-06-10 05:27:09 Andrey Grodzovsky

tests/amdgpu/hotunplug: Add unplug with cs test.

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

d4b780a 2021-06-10 05:27:09 Andrey Grodzovsky

test/amdgpu/hotunplug: Add test suite for GPU unplug

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

d330f68 2021-06-10 05:27:09 Andrey Grodzovsky

test/amdgpu: Add helper functions for hot unplug

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

ae2e2bd 2021-06-10 05:27:09 Andrey Grodzovsky

tests/amdgpu: Fix valgrind warning

Struct access after free

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher alexander.deucher@amd.com

140ce56 2021-06-07 23:59:19 Rahul Kumar

amdgpu: Added product name for E9390,E9560 and E9565 dgpu

Update marketing names.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

4e17880 2021-06-01 21:56:24 Lang Yu

Revert "tests/amdgpu: fix bo eviction test issue"

This reverts commit a5a400c9581c3b91598623603067556b18084c5d.

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>

e3b4f9d 2021-05-24 05:41:52 Mauro Rossi

libdrm-2.4.106
-----BEGIN PGP SIGNATURE-----

iQIcBAABAgAGBQJgozfFAAoJEAx081l5xIa+rs0P/04g1X0qr3UZ29snokLLPvfz
II4eIpSr7KwGUGWWmVi7qtA2j4US3ohB4CeE9wMvkk+DiVQc3NQlG4VOc6uPihqx
j0M02uxtpeyM8ZAHnMvRamzZZzVQbYu5uJRxQ1evCxDdqjX5pDh431WAZCFwih6Z
RAU9j1feJXYqQbfm45euZub9qm37XCsPF2sQ07hZkP1GeORng7CWaYTIH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VU4P4neQz5/tYxbdG/yp4HirSyAQNIjymb5kXvYTLmFM
N4kuBUR8pMyqPhxQJAd1OWAb2r7JSDHXXsVOzorfICYDskIqP2yaEhHs7KqJcqeL
8Nwq72SYagRgZPO6eK2Iz5I6kLorbbE3ML/tvEq/eFcLCkDw6YU4Mq+AFJAoOSon
8DzA8hgG+7WKyJJqbRZugpPu/sboka2xHGOQqGoa/UgXiSSeCye6KTQXZewl9/nR
0IdWrZd8i/LPqSHHBACDY28afY0RB45n1doQJNPJmQ5RrHlxXUlFvsRWVx68QRMT
eJikasUEgZpOW5nWIef0qnccJJ/bWKWNzZxEO9WXpsWTArndBzo=
=xfvN
-----END PGP SIGNATURE-----

Merge tag 'libdrm-2.4.105' into r-x86

libdrm-2.4.105

Change-Id: Icf68fcf833139aff782377ff994061eaf64f4820

4c83651 2021-05-20 21:01:25 Tejas Upadhyay

intel: Add support for ADLP

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>

77b642b 2021-05-18 12:38:07 Dave Airlie

Bump version to 2.4.106

Signed-off-by: Dave Airlie <airlied@redhat.com>

cfbea78 2021-05-07 02:41:16 Karol Herbst

nouveau: add debug option to sync pushbuffer submissions

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>

91c3eb1 2021-05-07 02:41:14 Karol Herbst

novueau: document debug flags

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>

Show on old repository browser