drm: Add name for DRM_DP_DUAL_MODE_LSPCON
Subsystems (2)
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.
--- 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
@@ -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
At the first glace, I thought LSPCON is type2 HDMI only, then I realized not really for us (:-))
Regards
Shashank
Quoted 25 lines · Ander Conselvan de Oliveira
Handle
DRM_DP_DUAL_MODE_LSPCONindrm_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]>Signed-off-by Ander Conselvan de Oliveira <[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
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
Patchwork
CI✓ 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
Sean Paul
AppliedQuoted 16 lines · Ander Conselvan de Oliveira
Handle
DRM_DP_DUAL_MODE_LSPCONindrm_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]>Signed-off-by Ander Conselvan de Oliveira <[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@@ -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