Searched refs:physical_device (Results 1 - 25 of 28) sorted by relevance

12

/external/mesa3d/src/amd/vulkan/
H A Dradv_wsi_wayland.c37 RADV_FROM_HANDLE(radv_physical_device, physical_device, physicalDevice);
39 return wsi_wl_get_presentation_support(&physical_device->wsi_device, display);
H A Dradv_wsi.c34 radv_init_wsi(struct radv_physical_device *physical_device) argument
38 memset(physical_device->wsi_device.wsi, 0, sizeof(physical_device->wsi_device.wsi));
41 result = wsi_x11_init_wsi(&physical_device->wsi_device, &physical_device->instance->alloc);
47 result = wsi_wl_init_wsi(&physical_device->wsi_device, &physical_device->instance->alloc,
48 radv_physical_device_to_handle(physical_device),
52 wsi_x11_finish_wsi(&physical_device->wsi_device, &physical_device
62 radv_finish_wsi(struct radv_physical_device *physical_device) argument
[all...]
H A Dsi_cmd_buffer.c39 si_write_harvested_raster_configs(struct radv_physical_device *physical_device, argument
44 unsigned sh_per_se = MAX2(physical_device->rad_info.max_sh_per_se, 1);
45 unsigned num_se = MAX2(physical_device->rad_info.max_se, 1);
46 unsigned rb_mask = physical_device->rad_info.enabled_rb_mask;
47 unsigned num_rb = MIN2(physical_device->rad_info.num_render_backends, 16);
149 if (physical_device->rad_info.chip_class < CIK)
158 if (physical_device->rad_info.chip_class >= CIK)
163 if (physical_device->rad_info.chip_class < CIK)
174 si_init_compute(struct radv_physical_device *physical_device, argument
189 if (physical_device
214 si_init_config(struct radv_physical_device *physical_device, struct radv_cmd_buffer *cmd_buffer) argument
[all...]
H A Dradv_device.c657 RADV_FROM_HANDLE(radv_physical_device, physical_device, physicalDevice);
688 .size = physical_device->rad_info.vram_size -
689 physical_device->rad_info.visible_vram_size,
693 .size = physical_device->rad_info.visible_vram_size,
697 .size = physical_device->rad_info.gart_size,
731 RADV_FROM_HANDLE(radv_physical_device, physical_device, physicalDevice);
736 if (!is_extension_enabled(physical_device->extensions.ext_array,
737 physical_device->extensions.num_ext,
742 device = vk_alloc2(&physical_device->instance->alloc, pAllocator,
751 device->instance = physical_device
[all...]
H A Dradv_pipeline_cache.c322 if (header.device_id != device->physical_device->rad_info.pci_id)
324 if (memcmp(header.uuid, device->physical_device->uuid, VK_UUID_SIZE) != 0)
422 header->device_id = device->physical_device->rad_info.pci_id;
423 memcpy(header->uuid, device->physical_device->uuid, VK_UUID_SIZE);
H A Dradv_image.c115 device->physical_device->rad_info.chip_class < VI ||
126 return (ATI_VENDOR_ID << 16) | device->physical_device->rad_info.pci_id;
329 if (device->physical_device->rad_info.chip_class <= CIK && image->samples <= 1) {
521 unsigned pipe_interleave_bytes = device->physical_device->rad_info.pipe_interleave_bytes;
522 unsigned num_pipes = device->physical_device->rad_info.num_tile_pipes;
595 unsigned num_pipes = device->physical_device->rad_info.num_tile_pipes;
596 unsigned pipe_interleave_bytes = device->physical_device->rad_info.pipe_interleave_bytes;
605 if (device->physical_device->rad_info.chip_class >= CIK && num_pipes < 4)
830 if (device->physical_device->rad_info.chip_class >= CIK) {
H A Dradv_formats.c447 static bool radv_is_storage_image_format_supported(struct radv_physical_device *physical_device, argument
542 radv_physical_device_get_format_properties(struct radv_physical_device *physical_device, argument
556 if (radv_is_storage_image_format_supported(physical_device, format)) {
950 RADV_FROM_HANDLE(radv_physical_device, physical_device, physicalDevice);
952 radv_physical_device_get_format_properties(physical_device,
966 RADV_FROM_HANDLE(radv_physical_device, physical_device, physicalDevice);
974 radv_physical_device_get_format_properties(physical_device, format,
H A Dradv_query.c38 unsigned num_db = device->physical_device->rad_info.num_render_backends;
39 MAYBE_UNUSED unsigned rb_mask = device->physical_device->rad_info.enabled_rb_mask;
41 if (device->physical_device->rad_info.chip_class == SI)
H A Dradv_private.h299 VkResult radv_init_wsi(struct radv_physical_device *physical_device);
300 void radv_finish_wsi(struct radv_physical_device *physical_device);
500 struct radv_physical_device *physical_device; member in struct:radv_device
736 void si_init_compute(struct radv_physical_device *physical_device,
738 void si_init_config(struct radv_physical_device *physical_device,
H A Dradv_pipeline.c281 unsigned lds_increment = device->physical_device->rad_info.chip_class >= CIK ? 512 : 256;
302 if (device->physical_device->rad_info.chip_class >= VI)
412 enum radeon_family chip_family = device->physical_device->rad_info.family;
426 options.chip_class = device->physical_device->rad_info.chip_class;
1037 unsigned num_tile_pipes = pipeline->device->physical_device->rad_info.num_tile_pipes;
H A Dradv_cmd_buffer.c120 cmd_buffer->device->physical_device->rad_info.chip_class >= CIK;
655 bool is_vi = cmd_buffer->device->physical_device->rad_info.chip_class >= VI;
921 if (cmd_buffer->device->physical_device->rad_info.chip_class >= CIK) {
927 if (cmd_buffer->device->physical_device->rad_info.chip_class >= CIK) {
1139 if (cmd_buffer->device->physical_device->rad_info.chip_class <= CIK && stride)
1171 if (cmd_buffer->device->physical_device->rad_info.chip_class >= CIK) {
1443 si_init_config(cmd_buffer->device->physical_device, cmd_buffer);
1453 si_init_compute(cmd_buffer->device->physical_device, cmd_buffer);
2650 if (cmd_buffer->device->physical_device->rad_info.chip_class == CIK) {
/external/mesa3d/src/intel/vulkan/
H A Danv_wsi_wayland.c38 ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice);
40 return wsi_wl_get_presentation_support(&physical_device->wsi_device, display);
H A Danv_wsi.c33 anv_init_wsi(struct anv_physical_device *physical_device) argument
37 memset(physical_device->wsi_device.wsi, 0, sizeof(physical_device->wsi_device.wsi));
40 result = wsi_x11_init_wsi(&physical_device->wsi_device, &physical_device->instance->alloc);
46 result = wsi_wl_init_wsi(&physical_device->wsi_device, &physical_device->instance->alloc,
47 anv_physical_device_to_handle(physical_device),
51 wsi_x11_finish_wsi(&physical_device->wsi_device, &physical_device
61 anv_finish_wsi(struct anv_physical_device *physical_device) argument
[all...]
H A Danv_formats.c379 anv_physical_device_get_format_properties(struct anv_physical_device *physical_device, argument
383 int gen = physical_device->info.gen * 10;
384 if (physical_device->info.is_haswell)
392 if (physical_device->info.gen >= 8)
399 linear_fmt = anv_get_format(&physical_device->info, format,
402 tiled_fmt = anv_get_format(&physical_device->info, format,
406 linear = get_image_format_properties(&physical_device->info,
408 tiled = get_image_format_properties(&physical_device->info,
410 buffer = get_buffer_format_properties(&physical_device->info,
445 ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevic
[all...]
H A Danv_device.c677 ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice);
683 heap_size = 3 * physical_device->aperture_size / 4;
685 if (physical_device->info.has_llc) {
879 ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice);
898 device = vk_alloc2(&physical_device->instance->alloc, pAllocator,
905 device->instance = physical_device->instance;
906 device->chipset_id = physical_device->chipset_id;
911 device->alloc = physical_device->instance->alloc;
914 device->fd = open(physical_device->path, O_RDWR | O_CLOEXEC);
926 device->info = physical_device
[all...]
H A Danv_allocator.c935 const struct anv_physical_device *physical_device = local
937 const struct gen_device_info *devinfo = &physical_device->info;
954 const unsigned subslices = MAX2(physical_device->subslice_total, 1);
H A DgenX_pipeline.c1539 const struct anv_physical_device *physical_device = local
1541 const struct gen_device_info *devinfo = &physical_device->info;
1603 const uint32_t subslices = MAX2(physical_device->subslice_total, 1);
H A Danv_private.h537 VkResult anv_init_wsi(struct anv_physical_device *physical_device);
538 void anv_finish_wsi(struct anv_physical_device *physical_device);
/external/vulkan-validation-layers/libs/vkjson/
H A Dvkjson_instance.cc65 VkPhysicalDevice physical_device,
83 vkEnumerateDeviceExtensionProperties(physical_device, nullptr,
88 physical_device, nullptr, &extension_count, device.extensions.data());
92 vkEnumerateDeviceLayerProperties(physical_device, &layer_count, nullptr);
95 vkEnumerateDeviceLayerProperties(physical_device, &layer_count,
99 vkGetPhysicalDeviceProperties(physical_device, &device.properties);
113 vkpGetPhysicalDeviceFeatures2KHR(physical_device, &features);
116 vkGetPhysicalDeviceFeatures(physical_device, &device.features);
118 vkGetPhysicalDeviceMemoryProperties(physical_device, &device.memory);
121 vkGetPhysicalDeviceQueueFamilyProperties(physical_device,
[all...]
/external/vulkan-validation-layers/tests/layers/
H A Dwrap_objects.h52 static inline VkPhysicalDevice unwrap_phys_dev(const VkPhysicalDevice physical_device, wrapped_phys_dev_obj **phys_dev) { argument
53 *phys_dev = reinterpret_cast<wrapped_phys_dev_obj *> (physical_device);
/external/vulkan-validation-layers/layers/
H A Dobject_tracker.h89 VkPhysicalDevice physical_device; member in struct:object_tracker::layer_data
117 : instance(nullptr), physical_device(nullptr), num_objects{}, num_total_objects(0), report_data(nullptr),
H A Dobject_tracker.cpp106 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(device_data->physical_device), layer_data_map);
2655 skip_call |= ValidateObject(device_data->physical_device, pCreateInfo->surface,
2952 skip_call |= ValidateObject(device_data->physical_device, pCreateInfos[i].surface,
3184 device_data->physical_device = physicalDevice;
/external/mesa3d/src/vulkan/wsi/
H A Dwsi_common_wayland.c62 VkPhysicalDevice physical_device; member in struct:wsi_wayland
83 display->wsi_wl->cbs->get_phys_device_format_properties(display->wsi_wl->physical_device,
776 VkPhysicalDevice physical_device,
789 wsi->physical_device = physical_device;
774 wsi_wl_init_wsi(struct wsi_device *wsi_device, const VkAllocationCallbacks *alloc, VkPhysicalDevice physical_device, const struct wsi_callbacks *cbs) argument
H A Dwsi_common.h146 VkPhysicalDevice physical_device,
/external/vulkan-validation-layers/loader/
H A Dloader.h463 VkPhysicalDevice physical_device,

Completed in 2259 milliseconds

12