From: Matthew Stewart <[email protected]>

[Why & How]
Add DM IP block to amdgpu_discovery

Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Matthew Stewart <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 8e3b6a4050e9..7c2212985273 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2400,6 +2400,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct 
amdgpu_device *adev)
                case IP_VERSION(3, 6, 0):
                case IP_VERSION(4, 1, 0):
                case IP_VERSION(4, 2, 0):
+               case IP_VERSION(4, 2, 1):
                        /* TODO: Fix IP version. DC code expects version 4.0.1 
*/
                        if (adev->ip_versions[DCE_HWIP][0] == IP_VERSION(4, 1, 
0))
                                adev->ip_versions[DCE_HWIP][0] = IP_VERSION(4, 
0, 1);
-- 
2.43.0

Reply via email to