Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <lkp@intel.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ruijing Dong and committed by
Alex Deucher
f12d07d6 ceb18036

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
··· 330 330 } 331 331 332 332 /* from vcn4 and above, only unified queue is used */ 333 - bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring) 333 + static bool amdgpu_vcn_using_unified_queue(struct amdgpu_ring *ring) 334 334 { 335 335 struct amdgpu_device *adev = ring->adev; 336 336 bool ret = false;