mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
drm/amdkfd: Increase vcrat size for GPU
GPU cache info (part of virtual CRAT) size depends on CU number. For arcturus, CU number has been increased. So the required memory for vcrat also increases. Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Reviewed-by: Yong Zhao <Yong.Zhao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -788,7 +788,7 @@ int kfd_create_crat_image_acpi(void **crat_image, size_t *size)
|
||||
* is put in the code to ensure we don't overwrite.
|
||||
*/
|
||||
#define VCRAT_SIZE_FOR_CPU (2 * PAGE_SIZE)
|
||||
#define VCRAT_SIZE_FOR_GPU (3 * PAGE_SIZE)
|
||||
#define VCRAT_SIZE_FOR_GPU (4 * PAGE_SIZE)
|
||||
|
||||
/* kfd_fill_cu_for_cpu - Fill in Compute info for the given CPU NUMA node
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user