]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: Estimate RAS reservation when report capacity v2
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 28 May 2024 05:52:46 +0000 (13:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 14:57:53 +0000 (10:57 -0400)
commit473af28d3e63b9b679c7878df33616c7ca6ea947
tree233826128d907b3d115c1339e4ad720d91cbde2f
parent76bec2a031630124002260c0ddc613b761819e2b
drm/amdgpu: Estimate RAS reservation when report capacity v2

Add estimate of how much vram we need to reserve for RAS
when caculating the total available vram.

v2: apply the change to MP0 v13_0_2 and v13_0_14

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h