Skip to contentSkip to conversation

drm: Add name for DRM_DP_DUAL_MODE_LSPCON

PATCH Applied Ander Conselvan de Oliveira 4 participants 4 messages Feb 22, 2017 – Feb 23, 2017

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

PATCH 1/1 drm: Add name for DRM_DP_DUAL_MODE_LSPCON

Handle DRM_DP_DUAL_MODE_LSPCON in drm_dp_get_dual_mode_type_name(), otherwise a call to that function can theoretically trigger a WARN.

Fixes 056996b95686 ("drm: Helper for lspcon in drm_dp_dual_mode")
Cc Shashank Sharma <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Sean Paul <[email protected]>
Cc David Airlie <[email protected]>
---
 drivers/gpu/drm/drm_dp_dual_mode_helper.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_dp_dual_mode_helper.c +2 -0
index e025639..80e62f6 100644
@@ -386,6 +386,8 @@ const char *drm_dp_get_dual_mode_type_name(enum drm_dp_dual_mode_type type)
 		return "type 2 DVI";
 	case DRM_DP_DUAL_MODE_TYPE2_HDMI:
 		return "type 2 HDMI";
+	case DRM_DP_DUAL_MODE_LSPCON:
+		return "lspcon";
 	default:
 		WARN_ON(type != DRM_DP_DUAL_MODE_UNKNOWN);
 		return "unknown";
Signature · 6 lines
2.9.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by Shashank Sharma on v1 1/1
#1 lore raw

At the first glace, I thought LSPCON is type2 HDMI only, then I realized not really for us (:-))

Reviewed-by Shashank Sharma

Regards
Shashank

Quoted 25 lines · Ander Conselvan de Oliveira

Handle DRM_DP_DUAL_MODE_LSPCON in drm_dp_get_dual_mode_type_name(), otherwise a call to that function can theoretically trigger a WARN.

Fixes 056996b95686 ("drm: Helper for lspcon in drm_dp_dual_mode")
Cc Shashank Sharma <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Sean Paul <[email protected]>
Cc David Airlie <[email protected]>
---
  drivers/gpu/drm/drm_dp_dual_mode_helper.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_dp_dual_mode_helper.c +0 -0
index e025639..80e62f6 100644

drivers/gpu/drm/drm_dp_dual_mode_helper.c const char *drm_dp_get_dual_mode_type_name(enum drm_dp_dual_mode_type type) · line 393

Quoted 8 lines
drivers/gpu/drm/drm_dp_dual_mode_helper.c +2 -0
@@ -386,6 +386,8 @@ const char *drm_dp_get_dual_mode_type_name(enum drm_dp_dual_mode_type type)
  		return "type 2 DVI";
  	case DRM_DP_DUAL_MODE_TYPE2_HDMI:
  		return "type 2 HDMI";
+	case DRM_DP_DUAL_MODE_LSPCON:
+		return "lspcon";
  	default:
  		WARN_ON(type != DRM_DP_DUAL_MODE_UNKNOWN);
  		return "unknown";

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw

✓ Fi.CI.BAT: success for drm: Add name for DRM_DP_DUAL_MODE_LSPCON

In reply to Ander Conselvan de Oliveira
== Series Details ==

== Series Details ==

Series: drm: Add name for DRM_DP_DUAL_MODE_LSPCON
URL : https://patchwork.freedesktop.org/series/20062/
State : success

== Summary ==

Series 20062v1 drm: Add name for DRM_DP_DUAL_MODE_LSPCON
https://patchwork.freedesktop.org/api/1.0/series/20062/revisions/1/mbox/

fi-bdw-5557u     total:253  pass:242  dwarn:0   dfail:0   fail:0   skip:11 
fi-bsw-n3050     total:253  pass:214  dwarn:0   dfail:0   fail:0   skip:39 
fi-bxt-j4205     total:253  pass:234  dwarn:0   dfail:0   fail:0   skip:19 
fi-bxt-t5700     total:83   pass:70   dwarn:0   dfail:0   fail:0   skip:12 
fi-byt-j1900     total:253  pass:226  dwarn:0   dfail:0   fail:0   skip:27 
fi-byt-n2820     total:253  pass:222  dwarn:0   dfail:0   fail:0   skip:31 
fi-hsw-4770      total:253  pass:237  dwarn:0   dfail:0   fail:0   skip:16 
fi-hsw-4770r     total:253  pass:237  dwarn:0   dfail:0   fail:0   skip:16 
fi-ilk-650       total:253  pass:203  dwarn:0   dfail:0   fail:0   skip:50 
fi-ivb-3520m     total:253  pass:235  dwarn:0   dfail:0   fail:0   skip:18 
fi-ivb-3770      total:253  pass:235  dwarn:0   dfail:0   fail:0   skip:18 
fi-kbl-7500u     total:253  pass:235  dwarn:0   dfail:0   fail:0   skip:18 
fi-skl-6260u     total:253  pass:243  dwarn:0   dfail:0   fail:0   skip:10 
fi-skl-6700hq    total:253  pass:236  dwarn:0   dfail:0   fail:0   skip:17 
fi-skl-6700k     total:253  pass:231  dwarn:4   dfail:0   fail:0   skip:18 
fi-skl-6770hq    total:253  pass:243  dwarn:0   dfail:0   fail:0   skip:10 
fi-snb-2520m     total:253  pass:225  dwarn:0   dfail:0   fail:0   skip:28 
fi-snb-2600      total:253  pass:224  dwarn:0   dfail:0   fail:0   skip:29 

bf89ec45d0822835b03910371ac0baf46c4efa2d drm-tip: 2017y-02m-22d-14h-30m-04s UTC integration manifest e507271 drm: Add name for DRM_DP_DUAL_MODE_LSPCON

== Logs ==

For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3930/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Applied
#3 lore raw
In reply to Ander Conselvan de Oliveira
Quoted 16 lines · Ander Conselvan de Oliveira

Handle DRM_DP_DUAL_MODE_LSPCON in drm_dp_get_dual_mode_type_name(), otherwise a call to that function can theoretically trigger a WARN.

Fixes 056996b95686 ("drm: Helper for lspcon in drm_dp_dual_mode")
Cc Shashank Sharma <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Sean Paul <[email protected]>
Cc David Airlie <[email protected]>

Applied to -misc

Thanks,

Sean

Quoted 24 lines
---
 drivers/gpu/drm/drm_dp_dual_mode_helper.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_dp_dual_mode_helper.c +2 -0
index e025639..80e62f6 100644
@@ -386,6 +386,8 @@ const char *drm_dp_get_dual_mode_type_name(enum drm_dp_dual_mode_type type)
 		return "type 2 DVI";
 	case DRM_DP_DUAL_MODE_TYPE2_HDMI:
 		return "type 2 HDMI";
+	case DRM_DP_DUAL_MODE_LSPCON:
+		return "lspcon";
 	default:
 		WARN_ON(type != DRM_DP_DUAL_MODE_UNKNOWN);
 		return "unknown";
Signature · 6 lines
2.9.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel