]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Correct comment style
authorMario Limonciello (AMD) <superm1@kernel.org>
Fri, 24 Oct 2025 15:09:28 +0000 (10:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:37 +0000 (13:56 -0500)
[WHAT]
Comments should have /* and */ on their own lines.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Hung <alex.hung@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/link/link_detection.c

index 778049b45c8fd7241451c89824ae4d291d7970f0..f9258d71b68ebd481c708d8699d88089cf8f4186 100644 (file)
@@ -184,11 +184,13 @@ static enum signal_type link_detect_sink_signal_type(struct dc_link *link,
        if (link->ep_type != DISPLAY_ENDPOINT_PHY)
                return result;
 
-       /* Internal digital encoder will detect only dongles
+       /*
+        * Internal digital encoder will detect only dongles
         * that require digital signal
         */
 
-       /* Detection mechanism is different
+       /*
+        * Detection mechanism is different
         * for different native connectors.
         * LVDS connector supports only LVDS signal;
         * PCIE is a bus slot, the actual connector needs to be detected first;
@@ -197,7 +199,8 @@ static enum signal_type link_detect_sink_signal_type(struct dc_link *link,
         */
        switch (link->link_id.id) {
        case CONNECTOR_ID_HDMI_TYPE_A:
-               /* check audio support:
+               /*
+                * check audio support:
                 * if native HDMI is not supported, switch to DVI
                 */
                aud_support = &link->dc->res_pool->audio_support;
@@ -207,11 +210,13 @@ static enum signal_type link_detect_sink_signal_type(struct dc_link *link,
                break;
        case CONNECTOR_ID_DISPLAY_PORT:
        case CONNECTOR_ID_USBC:
-               /* DP HPD short pulse. Passive DP dongle will not
+               /*
+                * DP HPD short pulse. Passive DP dongle will not
                 * have short pulse
                 */
                if (reason != DETECT_REASON_HPDRX) {
-                       /* Check whether DP signal detected: if not -
+                       /*
+                        * Check whether DP signal detected: if not -
                         * we assume signal is DVI; it could be corrected
                         * to HDMI after dongle detection
                         */