Commit a1f62df7 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/nv: export common IP functions

So they can be driven by IP dicovery table.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1534db55
...@@ -599,7 +599,7 @@ static void nv_enable_doorbell_aperture(struct amdgpu_device *adev, ...@@ -599,7 +599,7 @@ static void nv_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 nv_common_ip_block = const struct amdgpu_ip_block_version nv_common_ip_block =
{ {
.type = AMD_IP_BLOCK_TYPE_COMMON, .type = AMD_IP_BLOCK_TYPE_COMMON,
.major = 1, .major = 1,
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#include "nbio_v2_3.h" #include "nbio_v2_3.h"
extern const struct amdgpu_ip_block_version nv_common_ip_block;
void nv_grbm_select(struct amdgpu_device *adev, void nv_grbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid); u32 me, u32 pipe, u32 queue, u32 vmid);
void nv_set_virt_ops(struct amdgpu_device *adev); void nv_set_virt_ops(struct amdgpu_device *adev);
......
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