aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-12-28 18:04:16 +0000
committerAlex Deucher <[email protected]>2017-05-24 21:41:27 +0000
commit3ea975e4ff959e9a4fafa429ed2481f79ffecb90 (patch)
treef67736f25edc360f0d4d9223c0f7e8ac86ff1a51 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
parentdrm/amdgpu: add vcn irq functions (diff)
downloadkernel-3ea975e4ff959e9a4fafa429ed2481f79ffecb90.tar.gz
kernel-3ea975e4ff959e9a4fafa429ed2481f79ffecb90.zip
drm/amdgpu: add vcn ip block and type
Signed-off-by: Leo Liu <[email protected]> Acked-by: Chunming Zhou <[email protected]> Acked-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index c9a6b1a1cb97..7f3c078a3013 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@ -756,3 +756,12 @@ static void vcn_v1_0_set_irq_funcs(struct amdgpu_device *adev)
adev->vcn.irq.num_types = 1;
adev->vcn.irq.funcs = &vcn_v1_0_irq_funcs;
}
+
+const struct amdgpu_ip_block_version vcn_v1_0_ip_block =
+{
+ .type = AMD_IP_BLOCK_TYPE_VCN,
+ .major = 1,
+ .minor = 0,
+ .rev = 0,
+ .funcs = &vcn_v1_0_ip_funcs,
+};