drm/amdgpu: add DCI HWIP
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jul 2021 16:44:07 +0000 (12:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:59 +0000 (15:22 -0400)
So we can track grab the appropriate DCE info out of the
IP discovery table.  This is a separare IP from DCN.

Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 8df4be7..815db33 100644 (file)
@@ -756,6 +756,7 @@ enum amd_hw_ip_block_type {
        UMC_HWIP,
        RSMU_HWIP,
        XGMI_HWIP,
+       DCI_HWIP,
        MAX_HWIP
 };
 
index 0f8e12e..c67edba 100644 (file)
@@ -149,6 +149,7 @@ static int hw_id_map[MAX_HWIP] = {
        [CLK_HWIP]      = CLKA_HWID,
        [UMC_HWIP]      = UMC_HWID,
        [XGMI_HWIP]     = XGMI_HWID,
+       [DCI_HWIP]      = DCI_HWID,
 };
 
 static int amdgpu_discovery_read_binary(struct amdgpu_device *adev, uint8_t *binary)