drm/amdgpu/SRIOV: SRIOV VF doesn't support BACO
Subsystems (2)
PATCH 1/1 drm/amdgpu/SRIOV: SRIOV VF doesn't support BACO
From: Jiange Zhao <[email protected]>
SRIOV VF doesn't support BACO.
Only PF with BACO capability can do it.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -1
@@ -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 ;
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Deucher, Alexander
Acked-by________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of [email protected] <[email protected]>
Sent: Monday, October 28, 2019 6:14 AM
To: [email protected] <[email protected]>
Cc: Deng, Emily <[email protected]>; Zhao, Jiange <[email protected]>; Nieto, David M <[email protected]>
Subject: [PATCH] drm/amdgpu/SRIOV: SRIOV VF doesn't support BACO
From: Jiange Zhao <[email protected]>
SRIOV VF doesn't support BACO.
Only PF with BACO capability can do it.
--- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -1
@@ -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 ;
--
2.20.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx