drm/amdgpu: reserve bad pages during recovery
authorxinhui pan <xinhui.pan@amd.com>
Mon, 21 Jan 2019 12:33:48 +0000 (20:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:50 +0000 (15:36 -0500)
commit2be4c4a9d47844b83082458ae369efc7ca60b997
tree2d15a7c03159c504587b86f1f888141ea238297f
parent36ea1bd2d084e43d4aea890ff2f41054776a9416
drm/amdgpu: reserve bad pages during recovery

Mark vram pages with errors as bad and prevent the driver
from using them.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c