From: James Zhu Date: Sun, 8 May 2022 17:24:31 +0000 (-0400) Subject: drm/amdgpu/vcn: include header for vcn_dec_sw_ring_emit_fence X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7865f22a5ade9947c0b3dea322de316f3db0bd14;p=linux.git drm/amdgpu/vcn: include header for vcn_dec_sw_ring_emit_fence Fixed warning: no previous prototype for 'vcn_dec_sw_ring_emit_fence'. v2: regenerate patch after git rebase. v3: update commit message. Signed-off-by: James Zhu Reported-by: kernel test robot Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c index f4f97f0f5c645..1ceda3d0cd5b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c @@ -22,6 +22,7 @@ */ #include "amdgpu.h" +#include "vcn_sw_ring.h" void vcn_dec_sw_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, uint32_t flags)