projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu: Avoid accessing HW when suspending SW state
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
amd
/
pm
/
swsmu
/
smu_cmn.c
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
index
a58ea08
..
97aa72a
100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
@@
-112,6
+112,9
@@
int smu_cmn_send_smc_msg_with_param(struct smu_context *smu,
struct amdgpu_device *adev = smu->adev;
int ret = 0, index = 0;
+ if (smu->adev->in_pci_err_recovery)
+ return 0;
+
index = smu_cmn_to_asic_specific_index(smu,
CMN2ASIC_MAPPING_MSG,
msg);