drm/amdgpu: bypass vce clock if vce is idle on Fiji.
Subsystems (2)
PATCH 1/1 drm/amdgpu: bypass vce clock if vce is idle on Fiji.
--- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +2 -1
@@ -716,7 +716,8 @@ static int vce_v3_0_set_clockgating_state(void *handle,int i;if ((adev->asic_type ==CHIP_POLARIS10 ) || - (adev->asic_type ==CHIP_TONGA )) + (adev->asic_type ==CHIP_TONGA ) || + (adev->asic_type ==CHIP_FIJI ))vce_v3_0_set_bypass_mode (adev, enable);if (!(adev->cg_flags &AMD_CG_SUPPORT_VCE_MGCG ))
Signature · 6 lines
1.9.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): 1474706314-30663-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 10 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Rex Zhu
Sent: Saturday, September 24, 2016 4:39 AM
To: [email protected]
Cc: Zhu, Rex
Subject: [PATCH] drm/amdgpu: bypass vce clock if vce is idle on Fiji.Change-Id I74bdf39af332eb369e87c989b344f3e06cbfc714Signed-off-by Rex Zhu <[email protected]>
Is there any reason not to do this for all asics?
Quoted 23 lines
--- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +2
-1@@ -716,7 +716,8 @@ static int vce_v3_0_set_clockgating_state(void *handle, int i;if ((adev->asic_type ==CHIP_POLARIS10 ) || - (adev->asic_type ==CHIP_TONGA )) + (adev->asic_type ==CHIP_TONGA ) || + (adev->asic_type ==CHIP_FIJI ))vce_v3_0_set_bypass_mode (adev, enable);if (!(adev->cg_flags &
AMD_CG_SUPPORT_VCE_MGCG))
--
1.9.1
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