diff options
| author | Srinivasan Shanmugam <[email protected]> | 2025-02-13 18:13:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-17 19:09:28 +0000 |
| commit | 2012aff9815e8a0b6439a2fe73aedef12ba4595e (patch) | |
| tree | 34c711f4398f785962dd5ff68e39453762a9c2bf | |
| parent | drm/amdgpu/vcn4.0.3: drop dpm power helpers (diff) | |
| download | kernel-2012aff9815e8a0b6439a2fe73aedef12ba4595e.tar.gz kernel-2012aff9815e8a0b6439a2fe73aedef12ba4595e.zip | |
drm/amdgpu: Rename VCN clock gating function for consistency
Change the function name from vcn_v2_5_enable_clock_gating_inst
to vcn_v2_5_enable_clock_gating to ensure consistency in naming.
Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:781: warning: expecting prototype for vcn_v2_5_enable_clock_gating_inst(). Prototype was for vcn_v2_5_enable_clock_gating() instead
Cc: Leo Liu <[email protected]>
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c index b9be304aa294..105e59f6132b 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c @@ -770,7 +770,7 @@ static void vcn_v2_5_clock_gating_dpg_mode(struct amdgpu_device *adev, } /** - * vcn_v2_5_enable_clock_gating_inst - enable VCN clock gating + * vcn_v2_5_enable_clock_gating - enable VCN clock gating * * @adev: amdgpu_device pointer * @i: instance to enable clockgating on |
