/external/libkmsxx/kms++/ |
D | meson.build | 26 'inc/kms++/dmabufframebuffer.h', 27 'inc/kms++/atomicreq.h', 28 'inc/kms++/property.h', 29 'inc/kms++/plane.h', 30 'inc/kms++/kms++.h', 31 'inc/kms++/connector.h', 32 'inc/kms++/card.h', 33 'inc/kms++/modedb.h', 34 'inc/kms++/pagefliphandler.h', 35 'inc/kms++/encoder.h', [all …]
|
/external/libdrm/libkms/ |
D | intel.c | 48 intel_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in intel_get_prop() argument 61 intel_destroy(struct kms_driver *kms) in intel_destroy() argument 63 free(kms); in intel_destroy() 68 intel_bo_create(struct kms_driver *kms, in intel_bo_create() argument 108 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_CREATE, &arg, sizeof(arg)); in intel_bo_create() 112 bo->base.kms = kms; in intel_bo_create() 126 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile)); in intel_bo_create() 168 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_I915_GEM_MMAP_GTT, &arg, sizeof(arg)); in intel_bo_map() 172 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in intel_bo_map() 207 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in intel_bo_destroy() [all …]
|
D | exynos.c | 48 exynos_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in exynos_get_prop() argument 61 exynos_destroy(struct kms_driver *kms) in exynos_destroy() argument 63 free(kms); in exynos_destroy() 68 exynos_bo_create(struct kms_driver *kms, in exynos_bo_create() argument 108 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg)); in exynos_bo_create() 112 bo->base.kms = kms; in exynos_bo_create() 152 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in exynos_bo_map() 156 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in exynos_bo_map() 191 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy() 202 struct kms_driver *kms; in exynos_create() local [all …]
|
D | dumb.c | 46 dumb_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in dumb_get_prop() argument 59 dumb_destroy(struct kms_driver *kms) in dumb_destroy() argument 61 free(kms); in dumb_destroy() 66 dumb_bo_create(struct kms_driver *kms, in dumb_bo_create() argument 98 ret = drmIoctl(kms->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create() 102 bo->base.kms = kms; in dumb_bo_create() 142 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map() 146 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset); in dumb_bo_map() 181 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy() 192 struct kms_driver *kms; in dumb_create() local [all …]
|
D | vmwgfx.c | 46 vmwgfx_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in vmwgfx_get_prop() argument 59 vmwgfx_destroy(struct kms_driver *kms) in vmwgfx_destroy() argument 61 free(kms); in vmwgfx_destroy() 66 vmwgfx_bo_create(struct kms_driver *kms, in vmwgfx_bo_create() argument 98 bo->base.kms = kms; in vmwgfx_bo_create() 101 ret = drmCommandWriteRead(bo->base.kms->fd, in vmwgfx_bo_create() 145 …map = drm_mmap(NULL, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_… in vmwgfx_bo_map() 178 drmCommandWrite(bo->base.kms->fd, DRM_VMW_UNREF_DMABUF, &arg, sizeof(arg)); in vmwgfx_bo_destroy() 187 struct kms_driver *kms; in vmwgfx_create() local 189 kms = calloc(1, sizeof(*kms)); in vmwgfx_create() [all …]
|
D | radeon.c | 51 radeon_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in radeon_get_prop() argument 64 radeon_destroy(struct kms_driver *kms) in radeon_destroy() argument 66 free(kms); in radeon_destroy() 71 radeon_bo_create(struct kms_driver *kms, in radeon_bo_create() argument 117 ret = drmCommandWriteRead(kms->fd, DRM_RADEON_GEM_CREATE, in radeon_bo_create() 122 bo->base.kms = kms; in radeon_bo_create() 166 ret = drmCommandWriteRead(bo->base.kms->fd, DRM_RADEON_GEM_MMAP, in radeon_bo_map() 172 bo->base.kms->fd, arg.addr_ptr); in radeon_bo_map() 210 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in radeon_bo_destroy() 221 struct kms_driver *kms; in radeon_create() local [all …]
|
D | nouveau.c | 49 nouveau_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in nouveau_get_prop() argument 62 nouveau_destroy(struct kms_driver *kms) in nouveau_destroy() argument 64 free(kms); in nouveau_destroy() 69 nouveau_bo_create(struct kms_driver *kms, in nouveau_bo_create() argument 114 ret = drmCommandWriteRead(kms->fd, DRM_NOUVEAU_GEM_NEW, &arg, sizeof(arg)); in nouveau_bo_create() 118 bo->base.kms = kms; in nouveau_bo_create() 154 …map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, bo->map_han… in nouveau_bo_map() 189 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in nouveau_bo_destroy() 200 struct kms_driver *kms; in nouveau_create() local 202 kms = calloc(1, sizeof(*kms)); in nouveau_create() [all …]
|
D | api.c | 41 drm_public int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out) in kms_get_prop() argument 49 return kms->get_prop(kms, key, out); in kms_get_prop() 52 drm_public int kms_destroy(struct kms_driver **kms) in kms_destroy() argument 54 if (!(*kms)) in kms_destroy() 57 free(*kms); in kms_destroy() 58 *kms = NULL; in kms_destroy() 62 drm_public int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out) in kms_bo_create() argument 97 return kms->bo_create(kms, width, height, type, attr, out); in kms_bo_create() 118 return bo->kms->bo_map(bo, out); in kms_bo_map() 123 return bo->kms->bo_unmap(bo); in kms_bo_unmap() [all …]
|
D | internal.h | 37 int (*get_prop)(struct kms_driver *kms, const unsigned key, 39 int (*destroy)(struct kms_driver *kms); 41 int (*bo_create)(struct kms_driver *kms, 58 struct kms_driver *kms; member
|
D | libkms.h | 69 int kms_get_prop(struct kms_driver *kms, unsigned key, unsigned *out); 70 int kms_destroy(struct kms_driver **kms); 72 int kms_bo_create(struct kms_driver *kms, const unsigned *attr, struct kms_bo **out);
|
D | meson.build | 45 'kms', 71 'kms-symbols-check', 75 '--symbols-file', files('kms-symbols.txt'),
|
/external/libkmsxx/kms++util/ |
D | meson.build | 15 'inc/kms++util/color.h', 16 'inc/kms++util/kms++util.h', 17 'inc/kms++util/stopwatch.h', 18 'inc/kms++util/cpuframebuffer.h', 19 'inc/kms++util/strhelpers.h', 20 'inc/kms++util/opts.h', 21 'inc/kms++util/extcpuframebuffer.h', 22 'inc/kms++util/resourcemanager.h', 23 'inc/kms++util/videodevice.h', 39 libkmsxxutil = library('kms++util', [all …]
|
/external/libkmsxx/kms++util/inc/kms++util/ |
D | videodevice.h | 27 std::vector<std::tuple<uint32_t, uint32_t>> get_discrete_frame_sizes(kms::PixelFormat fmt); 28 VideoFrameSize get_frame_sizes(kms::PixelFormat fmt); 50 std::vector<kms::DumbFramebuffer*> m_capture_fbs; 51 std::vector<kms::DumbFramebuffer*> m_output_fbs; 72 std::vector<kms::PixelFormat> get_formats(); 73 void set_format(kms::PixelFormat fmt, uint32_t width, uint32_t height); 77 void queue(kms::DumbFramebuffer* fb); 78 kms::DumbFramebuffer* dequeue(); 87 std::vector<kms::DumbFramebuffer*> m_fbs;
|
/external/libdrm/tests/kmstest/ |
D | main.c | 42 static int test_bo(struct kms_driver *kms) in test_bo() argument 53 ret = kms_bo_create(kms, attrs, &bo); in test_bo() 72 struct kms_driver *kms; in main() local 94 ret = kms_create(fd, &kms); in main() 97 ret = test_bo(kms); in main() 103 kms_destroy(&kms); in main() 107 kms_destroy(&kms); in main()
|
/external/libdrm/tests/kms/ |
D | meson.build | 23 'kms-test', 34 'kms-steal-crtc', 35 files('kms-steal-crtc.c'), 43 'kms-universal-planes', 44 files('kms-universal-planes.c'),
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | SSLParametersImpl.java | 123 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument 131 if (kms == null) { in SSLParametersImpl() 136 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl() 137 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl() 541 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local 542 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager() 545 + Arrays.toString(kms)); in createDefaultX509KeyManager() 562 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument 563 for (KeyManager km : kms) { in findFirstX509KeyManager() 577 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager() argument [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SSLParametersImpl.java | 122 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, in SSLParametersImpl() argument 130 if (kms == null) { in SSLParametersImpl() 135 x509KeyManager = findFirstX509KeyManager(kms); in SSLParametersImpl() 136 pskKeyManager = findFirstPSKKeyManager(kms); in SSLParametersImpl() 537 KeyManager[] kms = kmf.getKeyManagers(); in createDefaultX509KeyManager() local 538 X509KeyManager result = findFirstX509KeyManager(kms); in createDefaultX509KeyManager() 541 + Arrays.toString(kms)); in createDefaultX509KeyManager() 558 private static X509KeyManager findFirstX509KeyManager(KeyManager[] kms) { in findFirstX509KeyManager() argument 559 for (KeyManager km : kms) { in findFirstX509KeyManager() 573 private static PSKKeyManager findFirstPSKKeyManager(KeyManager[] kms) { in findFirstPSKKeyManager() argument [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | README | 6 - application opens kms device (kmscube, weston, ..) 9 For the kms device case we provide a renderonly based driver like 10 imx where all the magic for buffer import and export between kms
|
/external/libkmsxx/ |
D | meson.build | 1 project('kms++', 'cpp', 38 subdir('kms++') 41 subdir('kms++util')
|
D | README.md | 3 # kms++ - C++ library for kernel mode setting 5 kms++ is a C++17 library for kernel mode setting. 7 Also included are some simple utilities for KMS and python bindings for kms++. 71 kms++ specific build options are: 81 You can use the following runtime environmental variables to control the behavior of kms++.
|
D | METADATA | 1 name: "kms++" 2 …ting. It tries to implement as little extra as possible while bringing the kms API in a C++ form t…
|
D | meson_options.txt | 8 description : 'Build kms++utils library') 11 description : 'Build an assortment of kms++ utils and tests')
|
/external/libdrm/tests/util/ |
D | Makefile.sources | 5 kms.c \ 6 kms.h \
|
/external/libkmsxx/kms++/src/ |
D | atomicreq.cpp | 37 namespace kms namespace 63 void AtomicReq::add(kms::DrmPropObject* ob, const string& prop, uint64_t value) in add() 73 void AtomicReq::add(kms::DrmPropObject* ob, const map<string, uint64_t>& values) in add()
|
/external/igt-gpu-tools/overlay/ |
D | Makefile.am | 65 kms/kms-overlay.c \
|