drm/amdgpu/vcn: include header for vcn_dec_sw_ring_emit_fence
authorJames Zhu <James.Zhu@amd.com>
Sun, 8 May 2022 17:24:31 +0000 (13:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:13 +0000 (17:53 -0400)
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 <James.Zhu@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c

index f4f97f0f5c6451edbcfd8901cbd2f014e9af9fb8..1ceda3d0cd5b981f73031c7cf600cfa294b75a86 100644 (file)
@@ -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)