drm/amdgpu
Bas Nieuwenhuizen f70e8ae835 amdgpu: Add new function to get fd.
Dual purpose:
 - The drm fd dedupe functionality confuses the radeonsi
   amdgpu winsys if radeonsi isn't the first thing opening
   the device. By exposing the fd we can detect this case.
 - For a common mesa Vulkan sync objects implementation
   with syncobj. (notable: no buffer allocation)

Both shouldn't interferece with libdrm_amdgpu functionality
though it does somewhat piece the abstraction of the library.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3424
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5630
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2021-11-23 16:02:05 +00:00
..
.editorconfig Add meson build system 2018-01-12 09:40:48 -08:00
Android.mk amdgpu: Only remember the device's marketing name 2017-12-05 12:50:20 +01:00
Makefile.sources amdgpu: remove the hash table implementation 2018-08-07 13:27:33 +02:00
amdgpu-symbols.txt amdgpu: Add new function to get fd. 2021-11-23 16:02:05 +00:00
amdgpu.h amdgpu: Add new function to get fd. 2021-11-23 16:02:05 +00:00
amdgpu_asic_id.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_bo.c amdgpu: use drmCloseBufferHandle 2021-10-06 09:03:21 +02:00
amdgpu_cs.c amdgpu: clean up the cs structure variable 2020-02-12 19:55:22 +08:00
amdgpu_device.c amdgpu: Add new function to get fd. 2021-11-23 16:02:05 +00:00
amdgpu_gpu_info.c amdgpu: add function of INFO ioctl for querying video caps 2021-04-06 08:58:57 -04:00
amdgpu_internal.h amdgpu: increase cpu_map_count storage size 2020-03-23 13:18:01 +01:00
amdgpu_vamgr.c amdgpu: Add vamgr for capture/replay. 2021-06-15 13:08:20 +00:00
amdgpu_vm.c amdgpu: annotate public functions 2018-09-19 22:46:45 -07:00
handle_table.c amdgpu: fix off by one in handle_table_insert 2018-08-16 08:50:04 +02:00
handle_table.h amdgpu: add handle table implementation v2 2018-08-07 13:27:16 +02:00
libdrm_amdgpu.pc.in amdgpu: add libdrm as private requirement/dependency 2016-02-04 13:22:50 +00:00
meson.build meson: use library() instead of shared_library(). 2021-03-09 16:57:32 +08:00