Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1681 static int kfd_create_vcrat_image_cpu(void *pcrat_image, size_t *size) in kfd_create_vcrat_image_cpu() argument
1683 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_cpu()
1694 if (!pcrat_image) in kfd_create_vcrat_image_cpu()
2035 static int kfd_create_vcrat_image_gpu(void *pcrat_image, in kfd_create_vcrat_image_gpu() argument
2039 struct crat_header *crat_table = (struct crat_header *)pcrat_image; in kfd_create_vcrat_image_gpu()
2050 if (!pcrat_image || avail_size < VCRAT_SIZE_FOR_GPU) in kfd_create_vcrat_image_gpu()
2213 void *pcrat_image = NULL; in kfd_create_crat_image_virtual() local
2234 pcrat_image = kvmalloc(dyn_size, GFP_KERNEL); in kfd_create_crat_image_virtual()
2235 if (!pcrat_image) in kfd_create_crat_image_virtual()
2239 ret = kfd_create_vcrat_image_cpu(pcrat_image, size); in kfd_create_crat_image_virtual()
[all …]