aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <superm1@kernel.org>2025-10-24 10:09:28 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-12-08 13:56:37 -0500
commitbd3c91d6ca5e17263fc56d1d6c06d0b0270a8a29 (patch)
tree77632f36521602a594bafc427cc0bd8f9e9cd646 /drivers/gpu/drm
parent036dd0380b709ce8f40d8e87c289b3662eabbfff (diff)
drm/amd/display: Correct comment style
[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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/display/dc/link/link_detection.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/link/link_detection.c b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
index 778049b45c8f..f9258d71b68e 100644
--- a/drivers/gpu/drm/amd/display/dc/link/link_detection.c
+++ b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
@@ -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
*/