Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c78 static int kfd_topology_get_crat_acpi(void *crat_image, size_t *size) in kfd_topology_get_crat_acpi() argument
100 if (*size >= crat_table->length && crat_image != NULL) in kfd_topology_get_crat_acpi()
101 memcpy(crat_image, crat_table, crat_table->length); in kfd_topology_get_crat_acpi()
434 static int kfd_parse_crat_table(void *crat_image) in kfd_parse_crat_table() argument
440 struct crat_header *crat_table = (struct crat_header *)crat_image; in kfd_parse_crat_table()
444 if (!crat_image) in kfd_parse_crat_table()
467 ((char *)crat_image) + image_len) { in kfd_parse_crat_table()
1020 void *crat_image = NULL; in kfd_topology_init() local
1036 ret = kfd_topology_get_crat_acpi(crat_image, &image_size); in kfd_topology_init()
1039 crat_image = kmalloc(image_size, GFP_KERNEL); in kfd_topology_init()
[all …]