[PATCH] drm/amdgpu/vcn: fixed no previous prototype warning.
Christian König
ckoenig.leichtzumerken at gmail.com
Mon May 9 06:58:29 UTC 2022
Am 08.05.22 um 19:30 schrieb James Zhu:
> Fixed warning: no previous prototype for 'vcn_dec_sw_ring_emit_fence'
>
> Signed-off-by: James Zhu <James.Zhu at amd.com>
> Reported-by: kernel test robot <lkp at intel.com>
Reviewed-by: Christian König <christian.koenig at amd.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)
More information about the amd-gfx
mailing list