summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-08-18 12:37:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-08-25 12:22:09 -0400
commit0174df4e664dfc481b6ee3f9f4528c0b727b6fb0 (patch)
tree7c0fa1a06cf104045046e242c0a29336758433c1 /drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
parent6f0359ff73076483902de0c17f9649bf55651e2a (diff)
downloadlinux-stable-0174df4e664dfc481b6ee3f9f4528c0b727b6fb0.tar.gz
linux-stable-0174df4e664dfc481b6ee3f9f4528c0b727b6fb0.tar.bz2
linux-stable-0174df4e664dfc481b6ee3f9f4528c0b727b6fb0.zip
drm/amdgpu: refine function name for consistency
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v3_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vce_v3_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
index d734ac9292ca..c25a0960d775 100644
--- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
@@ -696,7 +696,7 @@ static int vce_v3_0_process_interrupt(struct amdgpu_device *adev,
return 0;
}
-static void vce_v3_set_bypass_mode(struct amdgpu_device *adev, bool enable)
+static void vce_v3_0_set_bypass_mode(struct amdgpu_device *adev, bool enable)
{
u32 tmp = RREG32_SMC(ixGCK_DFS_BYPASS_CNTL);
@@ -716,7 +716,7 @@ static int vce_v3_0_set_clockgating_state(void *handle,
int i;
if (adev->asic_type == CHIP_POLARIS10)
- vce_v3_set_bypass_mode(adev, enable);
+ vce_v3_0_set_bypass_mode(adev, enable);
if (!(adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG))
return 0;