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.c1895 static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) in kfd_create_vcrat_image_cpu() argument
1897 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_cpu()
1908 if (!pcrat_image) in kfd_create_vcrat_image_cpu()
2254 static int kfd_create_vcrat_image_gpu(void *pcrat_image, in kfd_create_vcrat_image_gpu() argument
2258 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_gpu()
2270 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_GPU) in kfd_create_vcrat_image_gpu()
2428 void *pcrat_image = NULL; in kfd_create_crat_image_virtual() local
2449 pcrat_image = kvmalloc(dyn_size, GFP_KERNEL); in kfd_create_crat_image_virtual()
2450 if (!pcrat_image) in kfd_create_crat_image_virtual()
2454 ret = kfd_create_vcrat_image_cpu(pcrat_image, size); in kfd_create_crat_image_virtual()
[all …]