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:
44b582b
)
drm/amdgpu/SRIOV: SRIOV VF doesn't support BACO
author
Jiange Zhao
<Jiange.Zhao@amd.com>
Mon, 28 Oct 2019 10:04:14 +0000
(18:04 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:06:51 +0000
(11:06 -0400)
SRIOV VF doesn't support BACO.
Only PF with BACO capability can do it.
Signed-off-by: Jiange Zhao <Jiange.Zhao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/nv.c
b/drivers/gpu/drm/amd/amdgpu/nv.c
index 22ab1955b923da8afb9877e7ae6ab78deb2f3e92..a55a2e83fb197afaa4825892bf7de5f398c1d6a2 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nv.c
@@
-299,7
+299,7
@@
nv_asic_reset_method(struct amdgpu_device *adev)
{
struct smu_context *smu = &adev->smu;
- if (smu_baco_is_support(smu))
+ if (
!amdgpu_sriov_vf(adev) &&
smu_baco_is_support(smu))
return AMD_RESET_METHOD_BACO;
else
return AMD_RESET_METHOD_MODE1;