Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgmc_v10_0.c800 adev->gmc.mall_size = 128 * 1024 * 1024; in gmc_v10_0_sw_init()
803 adev->gmc.mall_size = 96 * 1024 * 1024; in gmc_v10_0_sw_init()
806 adev->gmc.mall_size = 32 * 1024 * 1024; in gmc_v10_0_sw_init()
809 adev->gmc.mall_size = 16 * 1024 * 1024; in gmc_v10_0_sw_init()
812 adev->gmc.mall_size = 0; in gmc_v10_0_sw_init()
Damdgpu_discovery.c1621 u64 mall_size; in amdgpu_discovery_get_mall_info() local
1639 mall_size = 0; in amdgpu_discovery_get_mall_info()
1645 mall_size += mall_size_per_umc * 2; in amdgpu_discovery_get_mall_info()
1647 mall_size += mall_size_per_umc / 2; in amdgpu_discovery_get_mall_info()
1649 mall_size += mall_size_per_umc; in amdgpu_discovery_get_mall_info()
1651 adev->gmc.mall_size = mall_size; in amdgpu_discovery_get_mall_info()
1656 adev->gmc.mall_size = (uint64_t)mall_size_per_umc * adev->gmc.num_umc; in amdgpu_discovery_get_mall_info()
Damdgpu_gmc.h320 u64 mall_size; member
Damdgpu_kms.c954 dev_info->mall_size = adev->gmc.mall_size; in amdgpu_info_ioctl()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1489 if (adev->gmc.mall_size) { in kfd_fill_gpu_cache_info_from_gfx_config()
1490 pcache_info[i].cache_size = adev->gmc.mall_size / 1024; in kfd_fill_gpu_cache_info_from_gfx_config()
1550 if (adev->gmc.mall_size) { in kfd_fill_gpu_cache_info_from_gfx_config_v2()
1551 pcache_info[i].cache_size = adev->gmc.mall_size / 1024; in kfd_fill_gpu_cache_info_from_gfx_config_v2()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
Ddcn30_hwseq.c1095 unsigned int mall_size = dc->caps.mall_size_total; in dcn30_does_plane_fit_in_mall() local
1099 mall_size = 1024 * 1024 * dc->debug.mall_size_override; in dcn30_does_plane_fit_in_mall()
1121 return (surface_size + cursor_size) < mall_size; in dcn30_does_plane_fit_in_mall()
/linux-6.12.1/include/uapi/drm/
Damdgpu_drm.h1173 __u64 mall_size; /* AKA infinity cache */ member