aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2020-10-02 11:35:47 -0400
committerAlex Deucher <[email protected]>2020-10-12 14:00:25 -0400
commit2aa92b12dfce77e6073c89c6933dbd6cbf7105b2 (patch)
tree881211327e9a1e5a8b155d57ab360565b0520540
parent01cbb6b288b0ba8081bd19e56f1baf48c7b12865 (diff)
drm/amdgpu: add common ip block for dimgrey_cavefish
Same as navy_flounder. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Jiansong Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index a84ea80f6d6b..82c03e9f55cb 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -626,6 +626,9 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
amdgpu_device_ip_block_add(adev, &vcn_v3_0_ip_block);
amdgpu_device_ip_block_add(adev, &jpeg_v3_0_ip_block);
break;
+ case CHIP_DIMGREY_CAVEFISH:
+ amdgpu_device_ip_block_add(adev, &nv_common_ip_block);
+ break;
default:
return -EINVAL;
}