diff options
| author | Leo Liu <[email protected]> | 2016-12-28 18:04:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-24 21:41:27 +0000 |
| commit | 3ea975e4ff959e9a4fafa429ed2481f79ffecb90 (patch) | |
| tree | f67736f25edc360f0d4d9223c0f7e8ac86ff1a51 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | |
| parent | drm/amdgpu: add vcn irq functions (diff) | |
| download | kernel-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.c | 9 |
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, +}; |
