From: James Zhu <James.Zhu@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: kernel test robot <lkp@intel.com>
Subject: [PATCH] drm/amdgpu/vcn: fixed no previous prototype warning.
Date: Sun, 8 May 2022 13:30:08 -0400 [thread overview]
Message-ID: <20220508173008.281673-1-James.Zhu@amd.com> (raw)
Fixed warning: no previous prototype for 'vcn_dec_sw_ring_emit_fence'
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
---
drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c
index 08fd61622f95..1ceda3d0cd5b 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.c
@@ -21,7 +21,8 @@
*
*/
-#include "amdgpu_vcn.h"
+#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)
--
2.25.1
next reply other threads:[~2022-05-08 17:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-08 17:30 James Zhu [this message]
2022-05-08 18:00 ` [PATCH] drm/amdgpu/vcn: fixed no previous prototype warning James Zhu
2022-05-09 11:46 ` Paul Menzel
2022-05-09 6:58 ` Christian König
2022-05-09 18:19 ` [PATCH v3] drm/amdgpu/vcn: include header for vcn_dec_sw_ring_emit_fence James Zhu
2022-05-09 18:20 ` Alex Deucher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220508173008.281673-1-James.Zhu@amd.com \
--to=james.zhu@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).