]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu/discovery: Enable DM for DCN42
authorRoman Li <Roman.Li@amd.com>
Wed, 18 Feb 2026 15:29:46 +0000 (10:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:33:06 +0000 (14:33 -0500)
Add DM ipblock for DCN 4.2.0

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index af3d2fd61cf3fcc455edfb8d32e7be7261315063..6c8b3c2687dc71dbff5f782ccea6e6526011a3e0 100644 (file)
@@ -2298,6 +2298,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
                case IP_VERSION(3, 5, 1):
                case IP_VERSION(3, 6, 0):
                case IP_VERSION(4, 1, 0):
+               case IP_VERSION(4, 2, 0):
                        /* 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);