Re: [PATCH 1/2] drm/amdgpu/mes11: fix set_hw_resources_1 calculation

2025-02-10 Thread Christian König
Am 10.02.25 um 17:27 schrieb Alex Deucher: It's GPU page size not CPU page size. In most cases they are the same, but not always. This can lead to overallocation on systems with larger pages. Cc: Srinivasan Shanmugam Cc: Christian König Signed-off-by: Alex Deucher Reviewed-by: Christian K

[PATCH 1/2] drm/amdgpu/mes11: fix set_hw_resources_1 calculation

2025-02-10 Thread Alex Deucher
It's GPU page size not CPU page size. In most cases they are the same, but not always. This can lead to overallocation on systems with larger pages. Cc: Srinivasan Shanmugam Cc: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- 1 file changed, 1 i

[PATCH 1/2] drm/amdgpu/mes11: fix set_hw_resources_1 calculation

2025-02-07 Thread Alex Deucher
It's GPU page size not CPU page size. In most cases they are the same, but not always. This can lead to overallocation on systems with larger pages. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver