Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c751 void *pcrat_image; in kfd_create_crat_image_acpi() local
775 pcrat_image = kmemdup(crat_table, crat_table->length, GFP_KERNEL); in kfd_create_crat_image_acpi()
776 if (!pcrat_image) in kfd_create_crat_image_acpi()
779 *crat_image = pcrat_image; in kfd_create_crat_image_acpi()
929 static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) in kfd_create_vcrat_image_cpu() argument
931 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_cpu()
942 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_CPU) in kfd_create_vcrat_image_cpu()
1137 static int kfd_create_vcrat_image_gpu(void *pcrat_image, in kfd_create_vcrat_image_gpu() argument
1141 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_gpu()
1154 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_GPU) in kfd_create_vcrat_image_gpu()
[all …]