Skip to contentSkip to conversation

drm/amdgpu/discovery: Enable DM for DCN42

PATCH In review [email protected] 2 participants 2 messages Feb 18

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/discovery: Enable DM for DCN42

From: Roman Li <[email protected]>

Add DM ipblock for 4.2.0 DCE_HWIP

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
index fc8c1f36be58..2f032a7d8e82 100644
@@ -2301,6 +2301,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);
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Wed, Feb 18, 2026 at 11:29 AM <[email protected]> wrote:

From: Roman Li <[email protected]>

Add DM ipblock for 4.2.0 DCE_HWIP

Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -1
index fc8c1f36be58..2f032a7d8e82 100644
@@ -2301,6 +2301,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);
--

2.34.1