diff options
| author | Ruijing Dong <[email protected]> | 2022-06-22 14:10:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-22 20:55:30 +0000 |
| commit | f12d07d6e9f22bbe65d158de1435ec515acfb50a (patch) | |
| tree | 6481244ce03e55ff86c71a4e0f2ff2b8fd425840 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
| parent | amdgpu/pm: Fix possible array out-of-bounds if SCLK levels != 2 (diff) | |
| download | kernel-f12d07d6e9f22bbe65d158de1435ec515acfb50a.tar.gz kernel-f12d07d6e9f22bbe65d158de1435ec515acfb50a.zip | |
drm/amdgpu/vcn: fix no previous prototype warning
Declare 'static', as the function is not intended to be used
outside of this translation unit.
Fixes: 4ed49c954e35 ("drm/amdgpu/vcn: add unified queue ib test")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: James Zhu <[email protected]>
Signed-off-by: Ruijing Dong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c index fea436023351..1bfdfb9207ac 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c @@ -330,7 +330,7 @@ int amdgpu_vcn_sw_fini(struct amdgpu_device *adev) } /* from vcn4 and above, only unified queue is used */ -bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring) +static bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring) { struct amdgpu_device *adev = ring->adev; bool ret = false; |
