mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amdgpu: Reenable manual GPU reset from sysfs
Otherwise it keeps rejecting the reset. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
400b6afbaa
commit
54bc1398cc
1 changed files with 1 additions and 1 deletions
|
@ -2619,7 +2619,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
|
||||||
uint64_t reset_flags = 0;
|
uint64_t reset_flags = 0;
|
||||||
int i, r, resched;
|
int i, r, resched;
|
||||||
|
|
||||||
if (!amdgpu_device_ip_check_soft_reset(adev)) {
|
if (!force && !amdgpu_device_ip_check_soft_reset(adev)) {
|
||||||
DRM_INFO("No hardware hang detected. Did some blocks stall?\n");
|
DRM_INFO("No hardware hang detected. Did some blocks stall?\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue