drm-uapi,radv,radeonsi: Add amdgpu_drm.h header.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 25 Apr 2020 18:03:15 +0000 (20:03 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 12:27:02 +0000 (12:27 +0000)
commit531728d6cbf0eb7d87698b9f03d0083ca0e2a7c0
tree306812c979c35bf8449cc08e5c0b7484be06f7e5
parent03ba57c6c53214b19aa0fdb66c680f2cadc3bbd9
drm-uapi,radv,radeonsi: Add amdgpu_drm.h header.

Use it instead of the libdrm provided amdgpu_drm.h header. I used
the kernel revision from the README to get the header so the
header versions should be consistent.

Tested by removing /usr/include/libdrm/amdgpu_drm.h from my dev-machine.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4749>
12 files changed:
include/drm-uapi/amdgpu_drm.h [new file with mode: 0644]
src/amd/common/ac_gpu_info.c
src/amd/common/ac_surface.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_rgp.c
src/amd/vulkan/radv_wsi_display.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c