]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Enable DM for DCN 4.2.1
authorMatthew Stewart <Matthew.Stewart2@amd.com>
Tue, 19 May 2026 01:14:20 +0000 (21:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:44:12 +0000 (13:44 -0400)
[Why & How]
Add DM IP block to amdgpu_discovery

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Matthew Stewart <Matthew.Stewart2@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 21f6761624c2c7182559b2d8f0b5120c68f7d228..d5d044e7fca72c5bfb1f675f34ae6063d43f865e 100644 (file)
@@ -2399,6 +2399,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);