Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libdrm/dist initial import of libdrm-2.4.114
details: https://anonhg.NetBSD.org/xsrc/rev/8e7445b5b36a
branches: trunk
changeset: 7247:8e7445b5b36a
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Nov 12 02:04:41 2022 +0000
description:
initial import of libdrm-2.4.114
diffstat:
external/mit/libdrm/dist/.gitlab-ci.yml | 24 +-
external/mit/libdrm/dist/amdgpu/amdgpu_device.c | 5 +-
external/mit/libdrm/dist/core-symbols.txt | 4 +
external/mit/libdrm/dist/data/amdgpu.ids | 452 +-
external/mit/libdrm/dist/include/drm/amdgpu_drm.h | 4 +
external/mit/libdrm/dist/include/drm/drm_fourcc.h | 100 +-
external/mit/libdrm/dist/intel/i915_pciids.h | 83 +-
external/mit/libdrm/dist/intel/intel_chipset.c | 3 +
external/mit/libdrm/dist/intel/test_decode.c | 5 +-
external/mit/libdrm/dist/meson.build | 101 +-
external/mit/libdrm/dist/meson_options.txt | 67 +-
external/mit/libdrm/dist/tests/amdgpu/amdgpu_test.c | 8 +
external/mit/libdrm/dist/tests/amdgpu/amdgpu_test.h | 13 +-
external/mit/libdrm/dist/tests/amdgpu/basic_tests.c | 1821 +----------
external/mit/libdrm/dist/tests/amdgpu/deadlock_tests.c | 204 +-
external/mit/libdrm/dist/tests/amdgpu/meson.build | 2 +-
external/mit/libdrm/dist/tests/amdgpu/shader_code.h | 153 +
external/mit/libdrm/dist/tests/amdgpu/shader_code_gfx10.h | 202 +
external/mit/libdrm/dist/tests/amdgpu/shader_code_gfx11.h | 320 +
external/mit/libdrm/dist/tests/amdgpu/shader_code_gfx9.h | 204 +
external/mit/libdrm/dist/tests/amdgpu/shader_code_hang.h | 104 +
external/mit/libdrm/dist/tests/amdgpu/shader_test_util.c | 2156 +++++++++++++
external/mit/libdrm/dist/tests/amdgpu/vcn_tests.c | 383 +-
external/mit/libdrm/dist/tests/drmdevice.c | 2 +-
external/mit/libdrm/dist/tests/modetest/buffers.c | 35 +-
external/mit/libdrm/dist/tests/util/kms.c | 2 +
26 files changed, 4250 insertions(+), 2207 deletions(-)
diffs (truncated from 7504 to 300 lines):
diff -r c0d5ce5fe7b4 -r 8e7445b5b36a external/mit/libdrm/dist/.gitlab-ci.yml
--- a/external/mit/libdrm/dist/.gitlab-ci.yml Sat Nov 12 01:45:25 2022 +0000
+++ b/external/mit/libdrm/dist/.gitlab-ci.yml Sat Nov 12 02:04:41 2022 +0000
@@ -44,7 +44,7 @@
FDO_DISTRIBUTION_EXEC: 'pip3 install meson==0.53.0'
# bump this tag every time you change something which requires rebuilding the
# base image
- FDO_DISTRIBUTION_TAG: "2022-01-19.0"
+ FDO_DISTRIBUTION_TAG: "2022-08-22.0"
.debian-x86_64:
extends:
@@ -68,10 +68,10 @@
variables:
BUILD_OS: freebsd
FDO_DISTRIBUTION_VERSION: "13.0"
- FDO_DISTRIBUTION_PACKAGES: 'meson ninja pkgconf libpciaccess libpthread-stubs py38-docutils cairo'
+ FDO_DISTRIBUTION_PACKAGES: 'meson ninja pkgconf libpciaccess libpthread-stubs py39-docutils cairo'
# bump this tag every time you change something which requires rebuilding the
# base image
- FDO_DISTRIBUTION_TAG: "2021-11-10.1"
+ FDO_DISTRIBUTION_TAG: "2022-08-22.0"
.freebsd-x86_64:
extends:
@@ -191,22 +191,8 @@
GIT_DEPTH: 10
script:
- meson build
- -D amdgpu=true
- -D cairo-tests=true
- -D etnaviv=true
- -D exynos=true
- -D freedreno=true
- -D freedreno-kgsl=true
- -D intel=true
- -D man-pages=true
- -D nouveau=true
- -D omap=true
- -D radeon=true
- -D tegra=true
+ --auto-features=enabled
-D udev=true
- -D valgrind=auto
- -D vc4=true
- -D vmwgfx=true
- ninja -C build
- ninja -C build test
- DESTDIR=$PWD/install ninja -C build install
@@ -227,7 +213,7 @@
# the workspace to see details about the failed tests.
- |
set +e
- /app/vmctl exec "pkg info; cd $CI_PROJECT_NAME ; meson build -D amdgpu=true -D cairo-tests=true -D intel=true -D man-pages=true -D nouveau=false -D radeon=true -D valgrind=auto && ninja -C
build"
+ /app/vmctl exec "pkg info; cd $CI_PROJECT_NAME ; meson build --auto-features=enabled -D etnaviv=disabled -D nouveau=disabled -D valgrind=disabled && ninja -C build"
set -ex
scp -r vm:$CI_PROJECT_NAME/build/meson-logs .
/app/vmctl exec "ninja -C $CI_PROJECT_NAME/build install"
diff -r c0d5ce5fe7b4 -r 8e7445b5b36a external/mit/libdrm/dist/amdgpu/amdgpu_device.c
--- a/external/mit/libdrm/dist/amdgpu/amdgpu_device.c Sat Nov 12 01:45:25 2022 +0000
+++ b/external/mit/libdrm/dist/amdgpu/amdgpu_device.c Sat Nov 12 02:04:41 2022 +0000
@@ -292,7 +292,10 @@
drm_public const char *amdgpu_get_marketing_name(amdgpu_device_handle dev)
{
- return dev->marketing_name;
+ if (dev->marketing_name)
+ return dev->marketing_name;
+ else
+ return "AMD Radeon Graphics";
}
drm_public int amdgpu_query_sw_info(amdgpu_device_handle dev,
diff -r c0d5ce5fe7b4 -r 8e7445b5b36a external/mit/libdrm/dist/core-symbols.txt
--- a/external/mit/libdrm/dist/core-symbols.txt Sat Nov 12 01:45:25 2022 +0000
+++ b/external/mit/libdrm/dist/core-symbols.txt Sat Nov 12 02:04:41 2022 +0000
@@ -105,10 +105,12 @@
drmModeAttachMode
drmModeConnectorGetPossibleCrtcs
drmModeConnectorSetProperty
+drmModeCreateDumbBuffer
drmModeCreateLease
drmModeCreatePropertyBlob
drmModeCrtcGetGamma
drmModeCrtcSetGamma
+drmModeDestroyDumbBuffer
drmModeDestroyPropertyBlob
drmModeDetachMode
drmModeDirtyFB
@@ -139,6 +141,7 @@
drmModeGetPropertyBlob
drmModeGetResources
drmModeListLessees
+drmModeMapDumbBuffer
drmModeMoveCursor
drmModeObjectGetProperties
drmModeObjectSetProperty
@@ -203,3 +206,4 @@
drmWaitVBlank
drmGetFormatModifierName
drmGetFormatModifierVendor
+drmGetFormatName
diff -r c0d5ce5fe7b4 -r 8e7445b5b36a external/mit/libdrm/dist/data/amdgpu.ids
--- a/external/mit/libdrm/dist/data/amdgpu.ids Sat Nov 12 01:45:25 2022 +0000
+++ b/external/mit/libdrm/dist/data/amdgpu.ids Sat Nov 12 02:04:41 2022 +0000
@@ -4,120 +4,177 @@
# device_id, revision_id, product_name <-- single tab after comma
1.0.0
-15DD, C3, AMD Radeon Vega 3 Graphics
-15DD, CB, AMD Radeon Vega 3 Graphics
-15DD, CE, AMD Radeon Vega 3 Graphics
-15DD, D8, AMD Radeon Vega 3 Graphics
-15DD, CC, AMD Radeon Vega 6 Graphics
-15DD, D9, AMD Radeon Vega 6 Graphics
-15DD, C2, AMD Radeon Vega 8 Graphics
-15DD, C4, AMD Radeon Vega 8 Graphics
-15DD, C8, AMD Radeon Vega 8 Graphics
-15DD, CA, AMD Radeon Vega 8 Graphics
-15DD, D1, AMD Radeon Vega 8 Graphics
-15DD, D5, AMD Radeon Vega 8 Graphics
-15DD, D7, AMD Radeon Vega 8 Graphics
-15DD, C3, AMD Radeon Vega 10 Graphics
-15DD, D0, AMD Radeon Vega 10 Graphics
-15DD, C1, AMD Radeon Vega 11 Graphics
-15DD, C6, AMD Radeon Vega 11 Graphics
-15DD, C9, AMD Radeon Vega 11 Graphics
-15DD, D3, AMD Radeon Vega 11 Graphics
-15DD, D6, AMD Radeon Vega 11 Graphics
-15DD, 81, AMD Ryzen Embedded V1807B with Radeon Vega Gfx
-15DD, 82, AMD Ryzen Embedded V1756B with Radeon Vega Gfx
-15DD, 83, AMD Ryzen Embedded V1605B with Radeon Vega Gfx
-15DD, 85, AMD Ryzen Embedded V1202B with Radeon Vega Gfx
+1309, 00, AMD Radeon R7 Graphics
+130A, 00, AMD Radeon R6 Graphics
+130B, 00, AMD Radeon R4 Graphics
+130C, 00, AMD Radeon R7 Graphics
+130D, 00, AMD Radeon R6 Graphics
+130E, 00, AMD Radeon R5 Graphics
+130F, 00, AMD Radeon R7 Graphics
+130F, D4, AMD Radeon R7 Graphics
+130F, D5, AMD Radeon R7 Graphics
+130F, D6, AMD Radeon R7 Graphics
+130F, D7, AMD Radeon R7 Graphics
+1313, 00, AMD Radeon R7 Graphics
+1313, D4, AMD Radeon R7 Graphics
+1313, D5, AMD Radeon R7 Graphics
+1313, D6, AMD Radeon R7 Graphics
+1315, 00, AMD Radeon R5 Graphics
+1315, D4, AMD Radeon R5 Graphics
+1315, D5, AMD Radeon R5 Graphics
+1315, D6, AMD Radeon R5 Graphics
+1315, D7, AMD Radeon R5 Graphics
+1316, 00, AMD Radeon R5 Graphics
+1318, 00, AMD Radeon R5 Graphics
+131B, 00, AMD Radeon R4 Graphics
+131C, 00, AMD Radeon R7 Graphics
+131D, 00, AMD Radeon R6 Graphics
+15D8, 00, AMD Radeon RX Vega 8 Graphics WS
+15D8, 91, AMD Radeon Vega 3 Graphics
+15D8, 91, AMD Ryzen Embedded R1606G with Radeon Vega Gfx
+15D8, 92, AMD Radeon Vega 3 Graphics
+15D8, 92, AMD Ryzen Embedded R1505G with Radeon Vega Gfx
15D8, 93, AMD Radeon Vega 1 Graphics
+15D8, A1, AMD Radeon Vega 10 Graphics
+15D8, A2, AMD Radeon Vega 8 Graphics
+15D8, A3, AMD Radeon Vega 6 Graphics
+15D8, A4, AMD Radeon Vega 3 Graphics
+15D8, B1, AMD Radeon Vega 10 Graphics
+15D8, B2, AMD Radeon Vega 8 Graphics
+15D8, B3, AMD Radeon Vega 6 Graphics
+15D8, B4, AMD Radeon Vega 3 Graphics
+15D8, C1, AMD Radeon Vega 10 Graphics
+15D8, C2, AMD Radeon Vega 8 Graphics
+15D8, C3, AMD Radeon Vega 6 Graphics
15D8, C4, AMD Radeon Vega 3 Graphics
15D8, C5, AMD Radeon Vega 3 Graphics
+15D8, C8, AMD Radeon Vega 11 Graphics
+15D8, C9, AMD Radeon Vega 8 Graphics
+15D8, CA, AMD Radeon Vega 11 Graphics
+15D8, CB, AMD Radeon Vega 8 Graphics
15D8, CC, AMD Radeon Vega 3 Graphics
15D8, CE, AMD Radeon Vega 3 Graphics
-15D8, CF, AMD Radeon Vega 3 Graphics
+15D8, CF, AMD Ryzen Embedded R1305G with Radeon Vega Gfx
+15D8, D1, AMD Radeon Vega 10 Graphics
+15D8, D2, AMD Radeon Vega 8 Graphics
+15D8, D3, AMD Radeon Vega 6 Graphics
15D8, D4, AMD Radeon Vega 3 Graphics
+15D8, D8, AMD Radeon Vega 11 Graphics
+15D8, D9, AMD Radeon Vega 8 Graphics
+15D8, DA, AMD Radeon Vega 11 Graphics
+15D8, DB, AMD Radeon Vega 3 Graphics
+15D8, DB, AMD Radeon Vega 8 Graphics
15D8, DC, AMD Radeon Vega 3 Graphics
15D8, DD, AMD Radeon Vega 3 Graphics
15D8, DE, AMD Radeon Vega 3 Graphics
15D8, DF, AMD Radeon Vega 3 Graphics
15D8, E3, AMD Radeon Vega 3 Graphics
-15D8, E4, AMD Radeon Vega 3 Graphics
-15D8, A3, AMD Radeon Vega 6 Graphics
-15D8, B3, AMD Radeon Vega 6 Graphics
-15D8, C3, AMD Radeon Vega 6 Graphics
-15D8, D3, AMD Radeon Vega 6 Graphics
-15D8, A2, AMD Radeon Vega 8 Graphics
-15D8, B2, AMD Radeon Vega 8 Graphics
-15D8, C2, AMD Radeon Vega 8 Graphics
-15D8, C9, AMD Radeon Vega 8 Graphics
-15D8, CB, AMD Radeon Vega 8 Graphics
-15D8, D2, AMD Radeon Vega 8 Graphics
-15D8, D9, AMD Radeon Vega 8 Graphics
-15D8, DB, AMD Radeon Vega 8 Graphics
-15D8, A1, AMD Radeon Vega 10 Graphics
-15D8, B1, AMD Radeon Vega 10 Graphics
-15D8, C1, AMD Radeon Vega 10 Graphics
-15D8, D1, AMD Radeon Vega 10 Graphics
-15D8, C8, AMD Radeon Vega 11 Graphics
-15D8, CA, AMD Radeon Vega 11 Graphics
-15D8, D8, AMD Radeon Vega 11 Graphics
-15D8, DA, AMD Radeon Vega 11 Graphics
-15D8, 91, AMD Ryzen Embedded R1606G with Radeon Vega Gfx
-15D8, 92, AMD Ryzen Embedded R1505G with Radeon Vega Gfx
-15D8, CF, AMD Ryzen Embedded R1305G with Radeon Vega Gfx
15D8, E4, AMD Ryzen Embedded R1102G with Radeon Vega Gfx
+15DD, 81, AMD Ryzen Embedded V1807B with Radeon Vega Gfx
+15DD, 82, AMD Ryzen Embedded V1756B with Radeon Vega Gfx
+15DD, 83, AMD Ryzen Embedded V1605B with Radeon Vega Gfx
+15DD, 84, AMD Radeon Vega 6 Graphics
+15DD, 85, AMD Ryzen Embedded V1202B with Radeon Vega Gfx
+15DD, 86, AMD Radeon Vega 11 Graphics
+15DD, 88, AMD Radeon Vega 8 Graphics
+15DD, C1, AMD Radeon Vega 11 Graphics
+15DD, C2, AMD Radeon Vega 8 Graphics
+15DD, C3, AMD Radeon Vega 3 / 10 Graphics
+15DD, C4, AMD Radeon Vega 8 Graphics
+15DD, C5, AMD Radeon Vega 3 Graphics
+15DD, C6, AMD Radeon Vega 11 Graphics
+15DD, C8, AMD Radeon Vega 8 Graphics
+15DD, C9, AMD Radeon Vega 11 Graphics
+15DD, CA, AMD Radeon Vega 8 Graphics
+15DD, CB, AMD Radeon Vega 3 Graphics
+15DD, CC, AMD Radeon Vega 6 Graphics
+15DD, CE, AMD Radeon Vega 3 Graphics
+15DD, CF, AMD Radeon Vega 3 Graphics
+15DD, D0, AMD Radeon Vega 10 Graphics
+15DD, D1, AMD Radeon Vega 8 Graphics
+15DD, D3, AMD Radeon Vega 11 Graphics
+15DD, D5, AMD Radeon Vega 8 Graphics
+15DD, D6, AMD Radeon Vega 11 Graphics
+15DD, D7, AMD Radeon Vega 8 Graphics
+15DD, D8, AMD Radeon Vega 3 Graphics
+15DD, D9, AMD Radeon Vega 6 Graphics
+15DD, E1, AMD Radeon Vega 3 Graphics
+15DD, E2, AMD Radeon Vega 3 Graphics
163F, AE, AMD Custom GPU 0405
-6600, 0, AMD Radeon HD 8600 / 8700M
+6600, 00, AMD Radeon HD 8600 / 8700M
6600, 81, AMD Radeon R7 M370
-6601, 0, AMD Radeon HD 8500M / 8700M
-6604, 0, AMD Radeon R7 M265 Series
+6601, 00, AMD Radeon HD 8500M / 8700M
+6604, 00, AMD Radeon R7 M265 Series
6604, 81, AMD Radeon R7 M350
-6605, 0, AMD Radeon R7 M260 Series
+6605, 00, AMD Radeon R7 M260 Series
6605, 81, AMD Radeon R7 M340
-6606, 0, AMD Radeon HD 8790M
-6607, 0, AMD Radeon HD 8530M
-6608, 0, AMD FirePro W2100
-6610, 0, AMD Radeon HD 8600 Series
+6606, 00, AMD Radeon HD 8790M
+6607, 00, AMD Radeon R5 M240
+6608, 00, AMD FirePro W2100
+6610, 00, AMD Radeon R7 200 Series
6610, 81, AMD Radeon R7 350
6610, 83, AMD Radeon R5 340
-6611, 0, AMD Radeon HD 8500 Series
-6613, 0, AMD Radeon HD 8500 series
+6610, 87, AMD Radeon R7 200 Series
+6611, 00, AMD Radeon R7 200 Series
+6611, 87, AMD Radeon R7 200 Series
+6613, 00, AMD Radeon R7 200 Series
+6617, 00, AMD Radeon R7 240 Series
+6617, 87, AMD Radeon R7 200 Series
6617, C7, AMD Radeon R7 240 Series
-6640, 0, AMD Radeon HD 8950
+6640, 00, AMD Radeon HD 8950
6640, 80, AMD Radeon R9 M380
-6646, 0, AMD Radeon R9 M280X
+6646, 00, AMD Radeon R9 M280X
+6646, 80, AMD Radeon R9 M385
6646, 80, AMD Radeon R9 M470X
-6647, 0, AMD Radeon R9 M270X
+6647, 00, AMD Radeon R9 M200X Series
6647, 80, AMD Radeon R9 M380
-6649, 0, AMD FirePro W5100
-6658, 0, AMD Radeon R7 200 Series
-665C, 0, AMD Radeon HD 7700 Series
-665D, 0, AMD Radeon R7 200 Series
-665F, 81, AMD Radeon R7 300 Series
Home |
Main Index |
Thread Index |
Old Index