Home
last modified time | relevance | path

Searched +full:drm +full:- +full:shim (Results 1 – 25 of 195) sorted by relevance

12345678

/aosp_15_r20/external/mesa3d/docs/drivers/panfrost/
H A Ddrm-shim.rst2 drm-shim title
5 Panfrost implements ``drm-shim``, stubbing out the Panfrost kernel interface.
8 - Future hardware bring up
9 - Running shader-db on non-Mali workstations
10 - Reproducing compiler (and some driver) bugs without Mali hardware
14 compiler on shader-db on an Intel desktop.
16 To build Mesa with Panfrost drm-shim, configure Meson with
17 ``-Dgallium-drivers=panfrost`` and ``-Dtools=drm-shim``. See the above
18 building section for a full invocation. The drm-shim binary will be built to
19 ``build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so``.
[all …]
/aosp_15_r20/external/mesa3d/docs/drivers/
H A Dasahi.rst7 -----------------
12 reverse-engineering the hardware, as glue to get at the "interesting" GPU
15 The library is only built if ``-Dtools=asahi`` is passed. It builds a single
24 -----------------
36 ``st_var`` instruction. ``st_var`` takes a *vertex output index* and a 32-bit
39 consist of a single 32-bit value or an aligned 16-bit register pair, depending
40 on whether interpolation should happen at 32-bit or 16-bit. Vertex outputs are
42 32-bit user varyings coming next with perspective, flat, and linear interpolated
43 varyings grouped in that order, then 16-bit user varyings with the same groupings,
51 .. list-table:: Ordering of vertex outputs with all outputs used
[all …]
/aosp_15_r20/external/mesa3d/src/drm-shim/
H A DREADME.md1 # DRM shim - Fake GEM kernel drivers in userspace for CI
4 be able to present either no-op GEM devices (for shader-db runs) or
5 simulator-backed GEM devices (for testing against a software simulator
11 - Doesn't know how to handle DRM fds getting passed over the wire from
13 - libc interception is rather glibc-specific and fragile.
14 - Can easily break gdb if the libc interceptor code is what's broken.
15 (ulimit -c unlimited and doing gdb on the core after the fact can
20 You choose the backend by setting `LD_PRELOAD` to the shim you want.
21 Since this will effectively fake another DRM device to your system,
23 to use it if it's not the only DRM device present. Setting
[all …]
H A Ddrm_shim.c27 * Implements wrappers of libc functions to fake having a DRM device that
50 #include <drm-uapi/drm.h>
112 int render_node_minor = -1;
154 stat(render_node_path, &st) == -1) { in get_dri_render_node_minor()
188 override->path = path; in drm_shim_override_file()
189 override->contents = strdup(contents); in drm_shim_override_file()
202 * that might need to be wrapped with the shim.
254 fprintf(stderr, "Initializing DRM shim on %s\n", in init_shim()
277 if (render_node_minor == -1) in hide_drm_device_path()
287 * We want to hide all other drm devices for the shim. in hide_drm_device_path()
[all …]
H A Ddevice.c27 * wrappers, and calls into the driver-specific code as necessary.
40 #include "drm-uapi/drm.h"
57 /* Global state for the shim shared between libc, core, and driver. */
75 * Called when the first libc shim is called, to initialize GEM simulation
89 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()
90 assert(shim_device.mem_fd != -1); in drm_shim_device_init()
102 * are offsets are page-size aligned as required. Otherwise, mmap will fail in drm_shim_device_init()
109 SHIM_MEM_SIZE - shim_page_size); in drm_shim_device_init()
119 shim_fd->fd = fd; in drm_shim_file_create()
120 p_atomic_set(&shim_fd->refcount, 1); in drm_shim_file_create()
[all …]
/aosp_15_r20/external/mesa3d/
H A D.mr-label-maker.yml31 'gitlab-ci': 'CI'
38 'intel/compiler': 'intel-compiler'
39 'intel/brw': 'intel-brw'
40 'intel/elk': 'intel-elk'
41 'intel/tools': 'intel-tools'
73 'spirv': 'SPIR-V'
82 'vaapi': 'VA-API'
119 '^.gitlab-ci': ['CI']
120 '^.*/gitlab-ci(-inc)?.yml': ['CI']
121 '^.*/ci/deqp-.*\.toml': ['CI']
[all …]
/aosp_15_r20/external/mesa3d/src/etnaviv/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
8 subdir('drm') subdir
11 if with_tools.contains('drm-shim')
12 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/src/nouveau/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
4 subdir('drm') subdir
10 if with_tools.contains('drm-shim')
11 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D23.2.1.rst1 Mesa 23.2.1 Release Notes / 2023-09-28
23 ---------------
27 64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc mesa-23.2.1.tar.xz
32 ------------
34 - VK_EXT_attachment_feedback_loop_dynamic_state on RADV
36 - extendedDynamicState3SampleLocationsEnable on RADV
38 - VK_EXT_dynamic_rendering_unused_attachments on RADV
40 - VK_EXT_mesh_shader on lavapipe
42 - OpenGL 3.1 on Asahi
44 - OpenGL ES 3.0 on Asahi
[all …]
H A D22.2.0.rst1 Mesa 22.2.0 Release Notes / 2022-09-21
20 ---------------
24 b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c mesa-22.2.0.tar.xz
29 ------------
31 - WGL_ARB_create_context_robustness
33 - d3d12 ARB_robust_buffer_access_behavior
35 - VK_EXT_robustness2 for lavapipe
37 - VK_EXT_image_2d_view_of_3d on RADV
39 - zink and d3d12 GL_EXT_memory_object_win32 and GL_EXT_semaphore_win32 support
41 - vertexAttributeInstanceRateZeroDivisor support for lavapipe
[all …]
/aosp_15_r20/external/mesa3d/src/freedreno/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
12 dep_libxml2 = dependency('libxml-2.0', allow_fallback: true, required: false)
26 subdir('drm') subdir
48 if with_tools.contains('drm-shim')
49 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/src/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
16 inc_virtio_gpu = include_directories('virtio/virtio-gpu')
39 command : [prog_python, git_sha1_gen_py, '--output', '@OUTPUT@'],
57 if with_tools.contains('drm-shim')
58 subdir('drm-shim') subdir
64 subdir('egl/wayland/wayland-drm')
/aosp_15_r20/external/mesa3d/src/egl/main/
H A Degldevice.c66 dev_list = dev_list->Next; in _eglFiniDevice()
71 dev_list = dev_list->Next; in _eglFiniDevice()
75 drmFreeDevice(&dev->device); in _eglFiniDevice()
93 cur = cur->Next; in _eglCheckDeviceHandle()
115 assert(device->available_nodes & ((1 << DRM_NODE_RENDER))); in _eglAddDRMDevice()
119 * assert(device->available_nodes & ((1 << DRM_NODE_PRIMARY))); in _eglAddDRMDevice()
121 * DRM shim does not expose a primary node, so the CI would fail if we had in _eglAddDRMDevice()
122 * this assert. DRM shim is being used to run shader-db. We need to in _eglAddDRMDevice()
123 * investigate what should be done (probably fixing DRM shim). in _eglAddDRMDevice()
132 while (dev->Next) { in _eglAddDRMDevice()
[all …]
/aosp_15_r20/external/mesa3d/src/asahi/
H A Dmeson.build3 # SPDX-License-Identifier: MIT
21 if with_tools.contains('drm-shim')
22 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/src/amd/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
24 if with_tools.contains('drm-shim')
25 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/.gitlab-ci/build/
H A Dgitlab-ci.yml2 .build-common:
3 extends: .container+build-rules
6 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner
20 - _build/meson-logs/*.txt
21 - _build/meson-logs/strace
22 - artifacts
25 .build-linux:
26 extends: .build-common
33 - !reference [default, before_script]
34 - |
[all …]
/aosp_15_r20/external/kernel-headers/original/uapi/drm/
H A Dexynos_drm.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
7 * Joonyoung Shim <jy0922.shim@samsung.com>
8 * Seung-Woo Kim <[email protected]>
19 #include "drm.h"
26 * User-desired buffer creation information structure.
28 * @size: user-desired memory allocation size.
29 * - this size value would be page-aligned internally.
32 * - this handle will be set by gem module of kernel side.
41 * A structure for getting a fake-offset that can be used with mmap.
44 * @reserved: just padding to be 64-bit aligned.
[all …]
/aosp_15_r20/external/igt-gpu-tools/include/drm-uapi/
H A Dexynos_drm.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
7 * Joonyoung Shim <jy0922.shim@samsung.com>
8 * Seung-Woo Kim <[email protected]>
19 #include "drm.h"
26 * User-desired buffer creation information structure.
28 * @size: user-desired memory allocation size.
29 * - this size value would be page-aligned internally.
32 * - this handle will be set by gem module of kernel side.
41 * A structure for getting a fake-offset that can be used with mmap.
44 * @reserved: just padding to be 64-bit aligned.
[all …]
/aosp_15_r20/external/mesa3d/src/panfrost/
H A Dmeson.build3 # SPDX-License-Identifier: MIT
14 '-Wno-pointer-arith'
60 if with_tools.contains('drm-shim')
61 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/src/broadcom/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
17 if with_tools.contains('drm-shim')
18 subdir('drm-shim') subdir
24 'broadcom-v' + ver,
30 c_args : [no_override_init_args, '-DV3D_VERSION=' + ver],
36 v3d_args = ['-DV3D_BUILD_NEON']
40 v3d_neon_c_args = '-mfpu=neon'
/aosp_15_r20/external/mesa3d/src/gallium/drivers/lima/
H A Dmeson.build2 # SPDX-License-Identifier: MIT
76 prog_python, '@INPUT@', '-p', dir_compiler_nir,
93 compile_args : '-DGALLIUM_LIMA',
117 if with_tools.contains('drm-shim')
118 subdir('drm-shim') subdir
/aosp_15_r20/external/mesa3d/src/freedreno/drm-shim/
H A Dfreedreno_noop.c3 * SPDX-License-Identifier: MIT
9 #include "drm-shim/drm_shim.h"
10 #include "drm-uapi/msm_drm.h"
36 size_t size = (size_t)align64(create->size, 4096); in msm_ioctl_gem_new()
39 return -EINVAL; in msm_ioctl_gem_new()
50 create->handle = drm_shim_bo_get_handle(shim_fd, bo); in msm_ioctl_gem_new()
62 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in msm_ioctl_gem_info()
65 return -ENOENT; in msm_ioctl_gem_info()
67 switch (args->info) { in msm_ioctl_gem_info()
69 args->value = drm_shim_bo_get_mmap_offset(shim_fd, bo); in msm_ioctl_gem_info()
[all …]
/aosp_15_r20/external/mesa3d/src/etnaviv/drm-shim/
H A Detnaviv_noop.c18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
30 #include "drm-uapi/etnaviv_drm.h"
31 #include "drm-shim/drm_shim.h"
168 drm_shim_bo_init(bo, create->size); in etnaviv_ioctl_gem_new()
169 create->handle = drm_shim_bo_get_handle(shim_fd, bo); in etnaviv_ioctl_gem_new()
180 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in etnaviv_ioctl_gem_info()
182 args->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); in etnaviv_ioctl_gem_info()
193 if (gp->param > ETNAVIV_PARAM_SOFTPIN_START_ADDR) { in etnaviv_ioctl_get_param()
194 fprintf(stderr, "Unknown DRM_IOCTL_ETNAVIV_GET_PARAM %d\n", gp->param); in etnaviv_ioctl_get_param()
195 return -1; in etnaviv_ioctl_get_param()
[all …]
/aosp_15_r20/external/libdrm/freedreno/kgsl/
H A DREADME2 in libdrm freedreno (before the upstream drm/msm driver). Note
3 that the kgsl backend requires the "kgsl-drm" shim driver, which
9 ----------------
12 DRM interface for GEM, which is basically sufficient to have DRI2
14 cores is via different other devices (/dev/kgsl-*). This is not
15 quite how I'd write a DRM driver, but at this stage it is useful for
16 xf86-video-freedreno and fdre (and eventual gallium driver) to be
22 driver and xf86-video-freedreno (ignoring the fbdev->KMS changes).
25 module or a DRM driver.. it is just an attempt to paper over a non-
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/drm/
Dexynos_drm.h6 * Joonyoung Shim <jy0922.shim@samsung.com>
7 * Seung-Woo Kim <[email protected]>
18 #include <drm/drm.h>
21 * User-desired buffer creation information structure.
23 * @size: user-desired memory allocation size.
24 * - this size value would be page-aligned internally.
27 * - this handle will be set by gem module of kernel side.
39 * @pad: just padding to be 64-bit aligned.
41 * - this value should be set by user.
53 * @pad: just padding to be 64-bit aligned.
[all …]

12345678