Commit 994470b2 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/soc15: export common IP functions

So they can be driven by IP discovery table.
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5f931489
...@@ -706,7 +706,7 @@ static void soc15_enable_doorbell_aperture(struct amdgpu_device *adev, ...@@ -706,7 +706,7 @@ static void soc15_enable_doorbell_aperture(struct amdgpu_device *adev,
adev->nbio.funcs->enable_doorbell_selfring_aperture(adev, enable); adev->nbio.funcs->enable_doorbell_selfring_aperture(adev, enable);
} }
static const struct amdgpu_ip_block_version vega10_common_ip_block = const struct amdgpu_ip_block_version vega10_common_ip_block =
{ {
.type = AMD_IP_BLOCK_TYPE_COMMON, .type = AMD_IP_BLOCK_TYPE_COMMON,
.major = 2, .major = 2,
......
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#include "nbio_v7_0.h" #include "nbio_v7_0.h"
#include "nbio_v7_4.h" #include "nbio_v7_4.h"
extern const struct amdgpu_ip_block_version vega10_common_ip_block;
#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
......
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