Home
last modified time | relevance | path

Searched refs:physical_dev (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_physical_device.c38 vn_physical_device_init_features(struct vn_physical_device *physical_dev) in vn_physical_device_init_features() argument
40 struct vn_physical_device_features *feats = &physical_dev->features; in vn_physical_device_init_features()
41 struct vn_instance *instance = physical_dev->instance; in vn_physical_device_init_features()
43 &physical_dev->renderer_extensions; in vn_physical_device_init_features()
75 if (physical_dev->renderer_version >= VK_API_VERSION_1_2) { in vn_physical_device_init_features()
172 instance, vn_physical_device_to_handle(physical_dev), &features2); in vn_physical_device_init_features()
203 if (physical_dev->renderer_version < VK_API_VERSION_1_2) { in vn_physical_device_init_features()
377 vn_physical_device_init_uuids(struct vn_physical_device *physical_dev) in vn_physical_device_init_uuids() argument
379 struct vn_physical_device_properties *props = &physical_dev->properties; in vn_physical_device_init_uuids()
419 vn_physical_device_init_properties(struct vn_physical_device *physical_dev) in vn_physical_device_init_properties() argument
[all …]
Dvn_wsi.c70 struct vn_physical_device *physical_dev = in vn_wsi_proc_addr() local
73 &physical_dev->instance->base.base, pName); in vn_wsi_proc_addr()
77 vn_wsi_init(struct vn_physical_device *physical_dev) in vn_wsi_init() argument
80 &physical_dev->instance->base.base.alloc; in vn_wsi_init()
82 &physical_dev->wsi_device, vn_physical_device_to_handle(physical_dev), in vn_wsi_init()
83 vn_wsi_proc_addr, alloc, -1, &physical_dev->instance->dri_options, in vn_wsi_init()
88 if (physical_dev->base.base.supported_extensions in vn_wsi_init()
90 physical_dev->wsi_device.supports_modifiers = true; in vn_wsi_init()
92 physical_dev->base.base.wsi_device = &physical_dev->wsi_device; in vn_wsi_init()
98 vn_wsi_fini(struct vn_physical_device *physical_dev) in vn_wsi_fini() argument
[all …]
Dvn_device.c209 const struct vn_physical_device *physical_dev = dev->physical_device; in vn_device_fix_create_info() local
227 physical_dev->renderer_extensions.EXT_image_drm_format_modifier) { in vn_device_fix_create_info()
231 if (physical_dev->renderer_version < VK_API_VERSION_1_2 && in vn_device_fix_create_info()
242 physical_dev->renderer_extensions.EXT_queue_family_foreign) { in vn_device_fix_create_info()
267 switch (physical_dev->external_memory.renderer_handle_type) { in vn_device_fix_create_info()
289 assert(!physical_dev->instance->renderer->info.has_dma_buf_import); in vn_device_fix_create_info()
343 struct vn_physical_device *physical_dev, in vn_device_init() argument
347 struct vn_instance *instance = physical_dev->instance; in vn_device_init()
349 vn_physical_device_to_handle(physical_dev); in vn_device_init()
355 dev->physical_device = physical_dev; in vn_device_init()
[all …]
Dvn_common.h286 struct vn_physical_device_base *physical_dev, in vn_physical_device_base_init() argument
292 vk_physical_device_init(&physical_dev->base, &instance->base, in vn_physical_device_base_init()
294 physical_dev->id = (uintptr_t)physical_dev; in vn_physical_device_base_init()
299 vn_physical_device_base_fini(struct vn_physical_device_base *physical_dev) in vn_physical_device_base_fini() argument
301 vk_physical_device_finish(&physical_dev->base); in vn_physical_device_base_fini()
306 struct vn_physical_device_base *physical_dev, in vn_device_base_init() argument
311 VkResult result = vk_device_init(&dev->base, &physical_dev->base, in vn_device_base_init()
Dvn_wsi.h21 vn_wsi_init(struct vn_physical_device *physical_dev);
24 vn_wsi_fini(struct vn_physical_device *physical_dev);
51 vn_wsi_init(UNUSED struct vn_physical_device *physical_dev) in vn_wsi_init() argument
57 vn_wsi_fini(UNUSED struct vn_physical_device *physical_dev) in vn_wsi_fini() argument
Dvn_physical_device.h125 vn_physical_device_fini(struct vn_physical_device *physical_dev);
Dvn_pipeline.c192 struct vn_physical_device *physical_dev = dev->physical_device; in vn_GetPipelineCacheData() local
212 &physical_dev->properties.vulkan_1_0; in vn_GetPipelineCacheData()