]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: only power down dig on phy endpoints
authorDmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Tue, 16 Dec 2025 21:38:50 +0000 (16:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 10 Jan 2026 19:21:53 +0000 (14:21 -0500)
This avoids any issues with dpia endpoints

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c

index b7593b886dc647977b9fef58fc86eb687886b2b9..22c1d5e684207cee53be80ada9eaecb63131f497 100644 (file)
@@ -287,6 +287,8 @@ void dcn401_init_hw(struct dc *dc)
                        for (i = 0; i < dc->link_count; i++) {
                                struct dc_link *link = dc->links[i];
 
+                               if (link->ep_type != DISPLAY_ENDPOINT_PHY)
+                                       continue;
                                if (link->link_enc->funcs->is_dig_enabled &&
                                                link->link_enc->funcs->is_dig_enabled(link->link_enc) &&
                                                hws->funcs.power_down) {