drm/amdgpu/mmhub_v1: bypass clockgating setting
Subsystems (2)
PATCH 1/2 drm/amdgpu/mmhub_v1: bypass clockgating setting
For SRIOV doesn't need CG, so bypass it.
--- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +3 -0
@@ -511,6 +511,9 @@ static int mmhub_v1_0_set_clockgating_state(void *handle, {struct amdgpu_device *adev = (struct amdgpu_device *)handle; +if (amdgpu_sriov_vf (adev)) +return 0 ; +switch (adev->asic_type) {case CHIP_VEGA10 : mmhub_v1_0_update_medium_grain_clock_gating(adev,
Signature · 6 lines
2.7.4 _______________________________________________ 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): 1492501093-26948-1-git-send-email-Xiangliang.Yu-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 11 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Xiangliang Yu
Sent: Tuesday, April 18, 2017 3:38 AM
To: [email protected]
Cc: Yu, Xiangliang
Subject: [PATCH 1/2] drm/amdgpu/mmhub_v1: bypass clockgating settingFor SRIOV doesn't need CG, so bypass it.
Signed-off-by Xiangliang Yu <[email protected]>
Quoted 23 lines
--- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +3
-0@@ -511,6 +511,9 @@ static int mmhub_v1_0_set_clockgating_state(void *handle, {struct amdgpu_device *adev = (struct amdgpu_device *)handle; +if (amdgpu_sriov_vf (adev)) +return 0 ; +switch (adev->asic_type) {case CHIP_VEGA10 :mmhub_v1_0_update_medium_grain_clock_gating(adev,
--
2.7.4
Quoted 4 lines
_______________________________________________
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