OSDN Git Service

drm/amdgpu: add gpu reset control for umc page retirement
authorTao Zhou <tao.zhou1@amd.com>
Fri, 10 Dec 2021 09:01:15 +0000 (17:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:02:32 +0000 (16:02 -0500)
commitf4409ee84658ff95d92daace9f094fa6bf80b0e3
tree036ed91e20a1cc0cf234087266cccf9cf0d5b173
parentd764fb2af6cd92eee080978856f24b0cc6d555ad
drm/amdgpu: add gpu reset control for umc page retirement

Add a reset parameter for umc page retirement, let user decide whether
call gpu reset in umc page retirement.

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