Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f15507a1 authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher
Browse files

drm/amdgpu: make function uvd_v6_0_enc_get_destroy_msg static



The function uvd_v6_0_enc_get_destroy_msg is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'uvd_v6_0_enc_get_destroy_msg' was not declared. Should it be
static?

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 37a49343
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -268,7 +268,8 @@ static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle
 *
 * Close up a stream for HW test or if userspace failed to do so
 */
int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring,
					uint32_t handle,
					bool direct, struct dma_fence **fence)
{
	const unsigned ib_size_dw = 16;