]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: revert "reserve backup pages for bad page retirment"
authorChristian König <christian.koenig@amd.com>
Thu, 18 Mar 2021 13:04:06 +0000 (14:04 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:40:06 +0000 (23:40 -0400)
commitfcd169c23cc5b6c17c55fce3ad5822c2c5e0a784
treee8eb34a03fa13a26c8568206987e31d7e0244ae8
parent939b01977ec9698f8be15c119246cd6db553668e
drm/amdgpu: revert "reserve backup pages for bad page retirment"

As noted during the review this approach doesn't make sense at all.

We should not apply any limitation on the VRAM applications can use inside the kernel.

If an application or end user wants to reserve a certain amount of VRAM for bad pages handling we should do this in the upper layer.

This reverts commit 16bf2cf6670403d9110e470c2e282ab000e036bf.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c