drm/amd/amdgpu: add common ip block for beige_goby
authorChengming Gui <Jack.Gui@amd.com>
Tue, 13 Oct 2020 08:46:21 +0000 (16:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:40:14 +0000 (22:40 -0400)
Same as dimgrey_cavefish
v2: fix comments typo

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 40abc029d3176d494ef25d24e641909d39cbe1a1..8efcc38ac37989dec9a3acabfce99dcbbbd56be8 100644 (file)
@@ -951,6 +951,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_BEIGE_GOBY:
+               amdgpu_device_ip_block_add(adev, &nv_common_ip_block);
+               break;
        default:
                return -EINVAL;
        }