Commit 2485e275 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: make soc15_common_ip_funcs static



It's not used outside of soc15.c
Reviewed-by: Christian König's avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7f19e11d
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
#define mmMP0_MISC_LIGHT_SLEEP_CTRL 0x01ba #define mmMP0_MISC_LIGHT_SLEEP_CTRL 0x01ba
#define mmMP0_MISC_LIGHT_SLEEP_CTRL_BASE_IDX 0 #define mmMP0_MISC_LIGHT_SLEEP_CTRL_BASE_IDX 0
static const struct amd_ip_funcs soc15_common_ip_funcs;
/* Vega, Raven, Arcturus */ /* Vega, Raven, Arcturus */
static const struct amdgpu_video_codec_info vega_video_codecs_encode_array[] = static const struct amdgpu_video_codec_info vega_video_codecs_encode_array[] =
{ {
...@@ -1645,7 +1647,7 @@ static int soc15_common_set_powergating_state(void *handle, ...@@ -1645,7 +1647,7 @@ static int soc15_common_set_powergating_state(void *handle,
return 0; return 0;
} }
const struct amd_ip_funcs soc15_common_ip_funcs = { static const struct amd_ip_funcs soc15_common_ip_funcs = {
.name = "soc15_common", .name = "soc15_common",
.early_init = soc15_common_early_init, .early_init = soc15_common_early_init,
.late_init = soc15_common_late_init, .late_init = soc15_common_late_init,
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#define SOC15_FLUSH_GPU_TLB_NUM_WREG 6 #define SOC15_FLUSH_GPU_TLB_NUM_WREG 6
#define SOC15_FLUSH_GPU_TLB_NUM_REG_WAIT 3 #define SOC15_FLUSH_GPU_TLB_NUM_REG_WAIT 3
extern const struct amd_ip_funcs soc15_common_ip_funcs;
struct soc15_reg_golden { struct soc15_reg_golden {
u32 hwip; u32 hwip;
u32 instance; u32 instance;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment