mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 14:43:54 +08:00
drm/radeon/evergreen_cs: Move 'r600_dma_cs_next_reloc()'s prototype to shared header
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/r600_cs.c:2343:5: warning: no previous prototype for ‘r600_dma_cs_next_reloc’ [-Wmissing-prototypes] 2343 | int r600_dma_cs_next_reloc(struct radeon_cs_parser *p, | ^~~~~~~~~~~~~~~~~~~~~~ Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b970fc6d1f
commit
f9eddd7ccf
@ -28,6 +28,7 @@
|
||||
|
||||
#include "radeon.h"
|
||||
#include "radeon_asic.h"
|
||||
#include "r600.h"
|
||||
#include "evergreend.h"
|
||||
#include "evergreen_reg_safe.h"
|
||||
#include "cayman_reg_safe.h"
|
||||
@ -37,8 +38,6 @@
|
||||
|
||||
#define REG_SAFE_BM_SIZE ARRAY_SIZE(evergreen_reg_safe_bm)
|
||||
|
||||
int r600_dma_cs_next_reloc(struct radeon_cs_parser *p,
|
||||
struct radeon_bo_list **cs_reloc);
|
||||
struct evergreen_cs_track {
|
||||
u32 group_size;
|
||||
u32 nbanks;
|
||||
|
@ -28,10 +28,14 @@
|
||||
#ifndef __R600_H__
|
||||
#define __R600_H__
|
||||
|
||||
struct radeon_bo_list;
|
||||
struct radeon_cs_parser;
|
||||
struct radeon_device;
|
||||
|
||||
u32 r600_gpu_check_soft_reset(struct radeon_device *rdev);
|
||||
int r600_ih_ring_alloc(struct radeon_device *rdev);
|
||||
void r600_ih_ring_fini(struct radeon_device *rdev);
|
||||
|
||||
int r600_dma_cs_next_reloc(struct radeon_cs_parser *p,
|
||||
struct radeon_bo_list **cs_reloc);
|
||||
#endif /* __R600_H__ */
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include "radeon.h"
|
||||
#include "radeon_asic.h"
|
||||
#include "r600.h"
|
||||
#include "r600d.h"
|
||||
#include "r600_reg_safe.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user