Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1875 static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) in kfd_create_vcrat_image_cpu() argument
1877 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_cpu()
1888 if (!pcrat_image) in kfd_create_vcrat_image_cpu()
2234 static int kfd_create_vcrat_image_gpu(void *pcrat_image, in kfd_create_vcrat_image_gpu() argument
2238 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_gpu()
2250 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_GPU) in kfd_create_vcrat_image_gpu()
2408 void *pcrat_image = NULL; in kfd_create_crat_image_virtual() local
2429 pcrat_image = kvmalloc(dyn_size, GFP_KERNEL); in kfd_create_crat_image_virtual()
2430 if (!pcrat_image) in kfd_create_crat_image_virtual()
2434 ret = kfd_create_vcrat_image_cpu(pcrat_image, size); in kfd_create_crat_image_virtual()
[all …]