Home
last modified time | relevance | path

Searched refs:device_data (Results 1 – 21 of 21) sorted by relevance

/external/vulkan-validation-layers/layers/
Dbuffer_validation.h37 bool PreCallValidateCreateImage(layer_data *device_data, const VkImageCreateInfo *pCreateInfo,
40 void PostCallRecordCreateImage(layer_data *device_data, const VkImageCreateInfo *pCreateInfo, VkIma…
42 void PostCallRecordDestroyImage(layer_data *device_data, VkImage image, IMAGE_STATE *image_state, V…
44 bool PreCallValidateDestroyImage(layer_data *device_data, VkImage image, IMAGE_STATE **image_state,…
46 bool ValidateImageAttributes(layer_data *device_data, IMAGE_STATE *image_state, VkImageSubresourceR…
52 bool VerifyClearImageLayout(layer_data *device_data, GLOBAL_CB_NODE *cb_node, IMAGE_STATE *image_st…
55 bool VerifyImageLayout(layer_data const *device_data, GLOBAL_CB_NODE const *cb_node, IMAGE_STATE *i…
72 bool FindLayoutVerifyNode(layer_data const *device_data, GLOBAL_CB_NODE const *pCB, ImageSubresourc…
75 bool FindLayoutVerifyLayout(layer_data const *device_data, ImageSubresourcePair imgpair, VkImageLay…
78 bool FindCmdBufLayout(layer_data const *device_data, GLOBAL_CB_NODE const *pCB, VkImage image, VkIm…
[all …]
Dbuffer_validation.cpp36 void SetLayout(layer_data *device_data, GLOBAL_CB_NODE *pCB, ImageSubresourcePair imgpair, const Vk… in SetLayout() argument
42 if (!FindCmdBufLayout(device_data, pCB, imgpair.image, imgpair.subresource, node)) { in SetLayout()
45 SetLayout(device_data, pCB, imgpair, {node.initialLayout, layout}); in SetLayout()
49 void SetLayout(layer_data *device_data, OBJECT *pObject, VkImage image, VkImageSubresource range, c… in SetLayout() argument
51 SetLayout(device_data, pObject, imgpair, layout, VK_IMAGE_ASPECT_COLOR_BIT); in SetLayout()
52 SetLayout(device_data, pObject, imgpair, layout, VK_IMAGE_ASPECT_DEPTH_BIT); in SetLayout()
53 SetLayout(device_data, pObject, imgpair, layout, VK_IMAGE_ASPECT_STENCIL_BIT); in SetLayout()
54 SetLayout(device_data, pObject, imgpair, layout, VK_IMAGE_ASPECT_METADATA_BIT); in SetLayout()
58 void SetLayout(layer_data *device_data, OBJECT *pObject, ImageSubresourcePair imgpair, const LAYOUT… in SetLayout() argument
62 SetLayout(device_data, pObject, imgpair, layout); in SetLayout()
[all …]
Dparameter_validation_utils.cpp131 static bool ValidateDeviceQueueFamily(layer_data *device_data, uint32_t queue_family, const char *c… in ValidateDeviceQueueFamily() argument
138 …skip |= log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TY… in ValidateDeviceQueueFamily()
139 HandleToUint64(device_data->device), __LINE__, error_code, LayerName, in ValidateDeviceQueueFamily()
142 …} else if (device_data->queueFamilyIndexMap.find(queue_family) == device_data->queueFamilyIndexMap… in ValidateDeviceQueueFamily()
144device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, in ValidateDeviceQueueFamily()
145 HandleToUint64(device_data->device), __LINE__, error_code, LayerName, in ValidateDeviceQueueFamily()
154 static bool ValidateQueueFamilies(layer_data *device_data, uint32_t queue_family_count, const uint3… in ValidateQueueFamilies() argument
167 …skip |= log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TY… in ValidateQueueFamilies()
168 … HandleToUint64(device_data->device), __LINE__, VALIDATION_ERROR_056002e8, LayerName, in ValidateQueueFamilies()
173 …skip |= ValidateDeviceQueueFamily(device_data, queue_families[i], cmd_name, parameter_name.c_str(), in ValidateQueueFamilies()
[all …]
Dobject_tracker.h165 … layer_data *device_data = GetLayerDataPtr(get_dispatch_key(dispatchable_object), layer_data_map); in ValidateObject() local
167 …if (device_data->object_map[object_type].find(object_handle) == device_data->object_map[object_typ… in ValidateObject()
170 … (device_data->swapchainImageMap.find(object_handle) == device_data->swapchainImageMap.end())) { in ValidateObject()
173 if (other_device_data.second != device_data) { in ValidateObject()
180 … return log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, debug_object_type, in ValidateObject()
192 …return log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, debug_object_type, object_… in ValidateObject()
228 … layer_data *device_data = GetLayerDataPtr(get_dispatch_key(dispatchable_object), layer_data_map); in DestroyObject() local
235 auto item = device_data->object_map[object_type].find(object_handle); in DestroyObject()
236 if (item != device_data->object_map[object_type].end()) { in DestroyObject()
238 assert(device_data->num_total_objects > 0); in DestroyObject()
[all …]
Dobject_tracker_utils.cpp40 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in AddQueueInfo() local
41 auto queueItem = device_data->queue_info_map.find(queue); in AddQueueInfo()
42 if (queueItem == device_data->queue_info_map.end()) { in AddQueueInfo()
48 device_data->queue_info_map[queue] = p_queue_info; in AddQueueInfo()
50 …log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE… in AddQueueInfo()
59 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DestroyQueueDataStructures() local
61 for (auto queue_item : device_data->queue_info_map) { in DestroyQueueDataStructures()
64 device_data->queue_info_map.clear(); in DestroyQueueDataStructures()
67 auto queue = device_data->object_map[kVulkanObjectTypeQueue].begin(); in DestroyQueueDataStructures()
68 while (queue != device_data->object_map[kVulkanObjectTypeQueue].end()) { in DestroyQueueDataStructures()
[all …]
Dunique_objects.cpp83 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DeviceExtensionWhitelist() local
88 …log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNKNO… in DeviceExtensionWhitelist()
254 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceProcAddr() local
255 const auto &table = device_data->dispatch_table; in GetDeviceProcAddr()
284 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in CreateComputePipelines() local
292 …local_pCreateInfos[idx0].basePipelineHandle = Unwrap(device_data, pCreateInfos[idx0].basePipelineH… in CreateComputePipelines()
295 local_pCreateInfos[idx0].layout = Unwrap(device_data, pCreateInfos[idx0].layout); in CreateComputePipelines()
298 … local_pCreateInfos[idx0].stage.module = Unwrap(device_data, pCreateInfos[idx0].stage.module); in CreateComputePipelines()
304 pipelineCache = Unwrap(device_data, pipelineCache); in CreateComputePipelines()
307 …VkResult result = device_data->dispatch_table.CreateComputePipelines(device, pipelineCache, create… in CreateComputePipelines()
[all …]
Dcore_validation.cpp2228 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in CreateDevice() local
2230 device_data->instance_data = instance_data; in CreateDevice()
2232 layer_init_device_dispatch_table(*pDevice, &device_data->dispatch_table, fpGetDeviceProcAddr); in CreateDevice()
2233 device_data->device = *pDevice; in CreateDevice()
2235 device_data->physical_device = gpu; in CreateDevice()
2237device_data->report_data = layer_debug_report_create_device(instance_data->report_data, *pDevice); in CreateDevice()
2238 device_data->extensions.InitFromDeviceCreateInfo(&instance_data->extensions, pCreateInfo); in CreateDevice()
2241 …instance_data->dispatch_table.GetPhysicalDeviceProperties(gpu, &(device_data->phys_dev_properties.… in CreateDevice()
2244 device_data->phys_dev_properties.queue_family_properties.resize(count); in CreateDevice()
2246 gpu, &count, &device_data->phys_dev_properties.queue_family_properties[0]); in CreateDevice()
[all …]
Dcore_validation_types.h830 const PHYS_DEV_PROPERTIES_NODE *GetPhysDevProperties(const layer_data *device_data);
831 const VkPhysicalDeviceFeatures *GetEnabledFeatures(const layer_data *device_data);
832 const DeviceExtensions *GetEnabledExtensions(const layer_data *device_data);
867 VkFormatProperties GetFormatProperties(core_validation::layer_data *device_data, VkFormat format);
868 VkResult GetImageFormatProperties(core_validation::layer_data *device_data, const VkImageCreateInfo…
877 std::unordered_map<VkBuffer, std::unique_ptr<BUFFER_STATE>> *GetBufferMap(layer_data *device_data);
878 …d_map<VkBufferView, std::unique_ptr<BUFFER_VIEW_STATE>> *GetBufferViewMap(layer_data *device_data);
879 …ered_map<VkImageView, std::unique_ptr<IMAGE_VIEW_STATE>> *GetImageViewMap(layer_data *device_data);
Dthreading.cpp246 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceProcAddr() local
247 auto &table = device_data->device_dispatch_table; in GetDeviceProcAddr()
Ddescriptor_sets.cpp1308 void cvdescriptorset::PerformUpdateDescriptorSetsWithTemplateKHR(layer_data *device_data, VkDescrip… in PerformUpdateDescriptorSetsWithTemplateKHR() argument
1315 auto layout_obj = GetDescriptorSetLayout(device_data, create_info.descriptorSetLayout); in PerformUpdateDescriptorSetsWithTemplateKHR()
1371 …PerformUpdateDescriptorSets(device_data, static_cast<uint32_t>(desc_writes.size()), desc_writes.da… in PerformUpdateDescriptorSetsWithTemplateKHR()
/external/autotest/client/common_lib/cros/cfm/
Dcras_node_collector.py98 def _get_device_name(self, device_data, device_id): argument
99 for device in device_data:
104 def _create_input_node(self, node_data, device_data): argument
112 device_name = self._get_device_name(device_data, device_id)
121 def _create_output_node(self, node_data, device_data): argument
129 device_name = self._get_device_name(device_data, device_id)
139 device_data = self._collect_input_device_data()
141 return [self._create_input_node(d, device_data) for d in node_data]
144 device_data = self._collect_output_device_data()
146 return [self._create_output_node(d, device_data) for d in node_data]
/external/autotest/client/profilers/powertop/src/
Durbnum.c36 struct device_data;
38 struct device_data { struct
39 struct device_data *next; argument
48 static struct device_data *devices; argument
52 struct device_data *ptr; in cachunk_urbs()
64 struct device_data *ptr; in update_urbnum()
93 ptr = malloc(sizeof(struct device_data)); in update_urbnum()
95 memset(ptr, 0, sizeof(struct device_data)); in update_urbnum()
138 struct device_data *dev; in count_usb_urbs()
173 struct device_data *dev; in display_usb_activity()
[all …]
/external/libese/apps/boot/
Dese_boot_tool.cpp94 bool collect_device_data(const std::string &modem_id, std::string *device_data) { in collect_device_data() argument
111 device_data->push_back(len); in collect_device_data()
112 device_data->append(modem_id); in collect_device_data()
128 device_data->push_back(len); in collect_device_data()
129 device_data->append(value_ptr); in collect_device_data()
329 std::string device_data; in handle_lock_state() local
330 device_data.push_back(lockVal); in handle_lock_state()
331 if (!collect_device_data(args[4], &device_data)) { in handle_lock_state()
336 for (std::string::iterator it = device_data.begin(); in handle_lock_state()
337 it != device_data.end(); ++it) { in handle_lock_state()
[all …]
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py61 device_data = {}
64 if label and label not in device_data:
65 device_data[label] = label_data
82 device_data[label] = label_data
84 self.devices[dev_name] = device_data
/external/nos/test/system-test-harness/tools/
Davb_tools.cc90 uint8_t *device_data, size_t *len) { in GetResetChallenge() argument
102 *len = (*len < response.device_data().size() ? *len : response.device_data().size()); in GetResetChallenge()
103 memcpy(device_data, response.device_data().data(), *len); in GetResetChallenge()
105 *len = response.device_data().size(); in GetResetChallenge()
Davb_tools.h40 uint8_t *device_data, size_t *len);
/external/nos/host/generic/nugget/proto/nugget/app/avb/
Davb.proto97 bytes device_data = 2; field
136 bytes device_data = 2; field
144 bytes device_data = 3; field
176 bytes device_data = 3; field
183 bytes device_data = 3; field
/external/vulkan-validation-layers/tests/layers/
Ddevice_profile_api.cpp38 struct device_data { struct
44 static std::unordered_map<VkPhysicalDevice, struct device_data> device_profile_api_dev_data_map;
/external/nos/test/system-test-harness/src/
Davb_tests.cc38 const uint8_t *device_data, size_t data_len,
180 const uint8_t *device_data, size_t data_len, in ProductionResetTest() argument
189 if (device_data && data_len) { in ProductionResetTest()
190 request.set_device_data(device_data, data_len); in ProductionResetTest()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py727 for device_data in all_devices_data:
728 data.extend(device_data)
/external/ImageMagick/coders/
Dwmf.c372 #define WMF_MAGICK_GetData(Z) ((wmf_magick_t*)((Z)->device_data))
376 #define WmfDrawingWand (((wmf_magick_t*)((API)->device_data))->draw_wand)
1424 API->device_data = (void *) ddata; in ipa_functions()