mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 12:28:03 +02:00
read-only mirror of https://gitlab.freedesktop.org/mesa/drm
Proper format for command line option "-l", listing the supported and unsupported tests: 1) Add an aligned column header. 2) Align all fields into columns. 3) Fixed length fields, come before the last column, which is a variable length field. 4) Variable length field, which is the name of the test, goes in the last column. 5) If a suite is disabled, do not iterate over its tests, as they'd naturally be all disabled. Now the output looks like this: $sudo ./amdgpu_test -l What: ID: Status: Name Suite: 1: ENABLED: Basic Tests Test: 1: ENABLED: Query Info Test Test: 2: ENABLED: Userptr Test Test: 3: DISABLED: bo eviction Test Test: 4: ENABLED: Command submission Test (GFX) Test: 5: ENABLED: Command submission Test (Compute) Test: 6: ENABLED: Command submission Test (Multi-Fence) Test: 7: ENABLED: Command submission Test (SDMA) Test: 8: ENABLED: SW semaphore Test Test: 9: DISABLED: Sync dependency Test Test: 10: DISABLED: Dispatch Test (Compute) Test: 11: DISABLED: Dispatch Test (GFX) Test: 12: DISABLED: Draw Test Test: 13: DISABLED: GPU reset Test Suite: 2: ENABLED: BO Tests Test: 1: ENABLED: Export/Import Test: 2: DISABLED: Metadata Test: 3: ENABLED: CPU map/unmap Test: 4: ENABLED: Memory alloc Test Test: 5: ENABLED: Memory fail alloc Test Test: 6: ENABLED: Find bo by CPU mapping Suite: 3: DISABLED: CS Tests Suite: 4: DISABLED: VCE Tests Suite: 5: ENABLED: VCN Tests Test: 1: ENABLED: VCN DEC create Test: 2: ENABLED: VCN DEC decode Test: 3: ENABLED: VCN DEC destroy Test: 4: ENABLED: VCN ENC create Test: 5: ENABLED: VCN ENC decode Test: 6: ENABLED: VCN ENC destroy Suite: 6: DISABLED: UVD ENC Tests Suite: 7: DISABLED: Deadlock Tests Suite: 8: ENABLED: VM Tests Test: 1: ENABLED: resere vmid test Test: 2: ENABLED: unaligned map Test: 3: ENABLED: vm mapping test Suite: 9: DISABLED: RAS Tests Suite: 10: ENABLED: SYNCOBJ TIMELINE Tests Test: 1: ENABLED: syncobj timeline test $_ Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> |
||
|---|---|---|
| .gitlab-ci | ||
| amdgpu | ||
| android | ||
| data | ||
| etnaviv | ||
| exynos | ||
| freedreno | ||
| include/drm | ||
| intel | ||
| libkms | ||
| man | ||
| nouveau | ||
| omap | ||
| radeon | ||
| tegra | ||
| tests | ||
| vc4 | ||
| .editorconfig | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Android.common.mk | ||
| Android.mk | ||
| CleanSpec.mk | ||
| CONTRIBUTING.rst | ||
| libdrm.pc.in | ||
| libdrm_lists.h | ||
| libdrm_macros.h | ||
| libsync.h | ||
| Makefile.sources | ||
| meson.build | ||
| meson_options.txt | ||
| README.rst | ||
| RELEASING | ||
| symbols-check.py | ||
| util_double_list.h | ||
| util_math.h | ||
| xf86atomic.h | ||
| xf86drm.c | ||
| xf86drm.h | ||
| xf86drmHash.c | ||
| xf86drmHash.h | ||
| xf86drmMode.c | ||
| xf86drmMode.h | ||
| xf86drmRandom.c | ||
| xf86drmRandom.h | ||
| xf86drmSL.c | ||
libdrm - userspace library for drm
----------------------------------
This is libdrm, a userspace library for accessing the DRM, direct rendering
manager, on Linux, BSD and other operating systems that support the ioctl
interface.
The library provides wrapper functions for the ioctls to avoid exposing the
kernel interface directly, and for chipsets with drm memory manager, support
for tracking relocations and buffers.
New functionality in the kernel DRM drivers typically requires a new libdrm,
but a new libdrm will always work with an older kernel.
libdrm is a low-level library, typically used by graphics drivers such as
the Mesa drivers, the X drivers, libva and similar projects.
Compiling
---------
To set up meson:
meson builddir/
By default this will install into /usr/local, you can change your prefix
with --prefix=/usr (or `meson configure builddir/ -Dprefix=/usr` after
the initial meson setup).
Then use ninja to build and install:
ninja -C builddir/ install
If you are installing into a system location you will need to run install
separately, and as root.