summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-07-27 21:24:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 23:50:29 +0300
commit188a9bcd6cbe55c6fea23309548741d8e34bb590 (patch)
treec3fe68b4bc170750eff56ba1d300ad6fcd5e1017 /drivers/gpu/drm/amd/amdgpu/vi.c
parent974ee3db0ff88e5413b734e634119d1e8a10a77f (diff)
downloadlinux-188a9bcd6cbe55c6fea23309548741d8e34bb590.tar.xz
drm/amdgpu: add support for VCE 3.x on Fiji
VCE on fiji is single pipe only. Reviewed-by: David Zhang <david1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 7815ac7d446f..552d9e75ad1b 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1223,6 +1223,13 @@ static const struct amdgpu_ip_block_version fiji_ip_blocks[] =
.rev = 0,
.funcs = &uvd_v6_0_ip_funcs,
},
+ {
+ .type = AMD_IP_BLOCK_TYPE_VCE,
+ .major = 3,
+ .minor = 0,
+ .rev = 0,
+ .funcs = &vce_v3_0_ip_funcs,
+ },
};
static const struct amdgpu_ip_block_version cz_ip_blocks[] =