projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70b78a
)
drm/amdgpu:don't check soft_reset for sriov
author
Monk Liu
<
[email protected]
>
Mon, 16 Oct 2017 11:46:01 +0000
(19:46 +0800)
committer
Alex Deucher
<
[email protected]
>
Thu, 19 Oct 2017 19:27:18 +0000
(15:27 -0400)
Signed-off-by: Monk Liu <
[email protected]
>
Ack-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 0731b4f9b25ca6f1496ef86bedbcee120c873fc5..3a6ce6386ad018bb03c1d39834d62ded0677f16d 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@
-2625,6
+2625,9
@@
static bool amdgpu_check_soft_reset(struct amdgpu_device *adev)
int i;
bool asic_hang = false;
+ if (amdgpu_sriov_vf(adev))
+ return true;
+
for (i = 0; i < adev->num_ip_blocks; i++) {
if (!adev->ip_blocks[i].status.valid)
continue;