]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add gpu_recovery parameter
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 12 Dec 2017 19:09:30 +0000 (14:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Dec 2017 22:14:50 +0000 (17:14 -0500)
commit717883ec440d95ed4f1af2f60ba1cf92ceb8f574
tree3d31743b19a61d9e826092a8c5d2e97f9f95e1cf
parent5ce8f494b602f1e8d1f72fb938ec11647fe036e8
drm/amdgpu: Add gpu_recovery parameter

Add new parameter to control GPU recovery procedure.

v2:
Add auto logic where reset is disabled for bare metal and enabled
for SR-IOV.
Allow forced reset from debugfs.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c