Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c610 struct drm_amdgpu_info_gds gds_info; in amdgpu_info_ioctl() local
612 memset(&gds_info, 0, sizeof(gds_info)); in amdgpu_info_ioctl()
613 gds_info.compute_partition_size = adev->gds.gds_size; in amdgpu_info_ioctl()
614 gds_info.gds_total_size = adev->gds.gds_size; in amdgpu_info_ioctl()
615 gds_info.gws_per_compute_partition = adev->gds.gws_size; in amdgpu_info_ioctl()
616 gds_info.oa_per_compute_partition = adev->gds.oa_size; in amdgpu_info_ioctl()
617 return copy_to_user(out, &gds_info, in amdgpu_info_ioctl()
618 min((size_t)size, sizeof(gds_info))) ? -EFAULT : 0; in amdgpu_info_ioctl()