summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyuan Zhang <boyuan.zhang@amd.com>2019-07-18 17:13:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-02 18:30:41 +0300
commit1fbed280a2445aba3700eae72b31a623311b2c2e (patch)
treee04918966f8d8bd9e1836ca28ed1ce8e4bc3d51d
parenta3219816c407282a0f1b40d1dc5efc320b051767 (diff)
downloadlinux-1fbed280a2445aba3700eae72b31a623311b2c2e.tar.xz
drm/amdgpu: add VCN ip block for Navi12
Add VCN2 ip block for Navi12 Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 9bbc4bb3d1b3..b97d48608ccc 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -437,6 +437,7 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT &&
is_support_sw_smu(adev))
amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block);
+ amdgpu_device_ip_block_add(adev, &vcn_v2_0_ip_block);
break;
default:
return -EINVAL;