drm/i915: Support HDMI EDID injection
Subsystems (2)
PATCH 1/1 drm/i915: Support HDMI EDID injection
From: marius vlad <[email protected]>
Make a copy of drm_property_blob data for user-supplied EDID blobs.
--- drivers/gpu/drm/i915/intel_hdmi.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
drivers/gpu/drm/i915/intel_hdmi.c +10 -0
@@ -1463,6 +1463,16 @@ intel_hdmi_set_edid(struct drm_connector *connector)intel_gmbus_get_adapter (dev_priv, intel_hdmi->ddc_bus)); +/* +* Use the user-supplied EDID blob in case we don't have an +* EDID from the display. +*/ +if (!edid && connector->override_edid) { + edid =kmemdup (connector->edid_blob_ptr->data, + connector->edid_blob_ptr->length, +GFP_KERNEL ); + } +intel_hdmi_dp_dual_mode_detect (connector, edid !=NULL );intel_display_power_put (dev_priv,POWER_DOMAIN_GMBUS );
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: Support HDMI EDID injection (rev3)
== Series Details ==
== Series Details ==
Series: drm/i915: Support HDMI EDID injection (rev3)
URL : https://patchwork.freedesktop.org/series/3007/
State : failure
== Summary ==
Series 3007v3 drm/i915: Support HDMI EDID injection
https://patchwork.freedesktop.org/api/1.0/series/3007/revisions/3/mbox/
Test kms_pipe_crc_basic:
Subgroup nonblocking-crc-pipe-a-frame-sequence:
pass -> DMESG-FAIL (fi-snb-2520m)
Subgroup nonblocking-crc-pipe-b:
pass -> DMESG-FAIL (fi-snb-2520m)
Subgroup nonblocking-crc-pipe-b-frame-sequence:
pass -> DMESG-FAIL (fi-snb-2520m)
Subgroup read-crc-pipe-a:
pass -> DMESG-FAIL (fi-snb-2520m)
Subgroup read-crc-pipe-a-frame-sequence:
pass -> INCOMPLETE (fi-snb-2520m)fi-bdw-5557u total:252 pass:238 dwarn:3 dfail:0 fail:0 skip:11 fi-bsw-n3050 total:252 pass:210 dwarn:3 dfail:0 fail:0 skip:39 fi-bxt-j4205 total:252 pass:230 dwarn:3 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:252 pass:222 dwarn:3 dfail:0 fail:0 skip:27 fi-byt-n2820 total:252 pass:218 dwarn:3 dfail:0 fail:0 skip:31 fi-hsw-4770 total:252 pass:233 dwarn:3 dfail:0 fail:0 skip:16 fi-hsw-4770r total:252 pass:233 dwarn:3 dfail:0 fail:0 skip:16 fi-ilk-650 total:252 pass:199 dwarn:3 dfail:0 fail:0 skip:50 fi-ivb-3520m total:252 pass:231 dwarn:3 dfail:0 fail:0 skip:18 fi-ivb-3770 total:252 pass:231 dwarn:3 dfail:0 fail:0 skip:18 fi-kbl-7500u total:252 pass:231 dwarn:3 dfail:0 fail:0 skip:18 fi-skl-6260u total:252 pass:239 dwarn:3 dfail:0 fail:0 skip:10 fi-skl-6700hq total:252 pass:232 dwarn:3 dfail:0 fail:0 skip:17 fi-skl-6700k total:252 pass:230 dwarn:4 dfail:0 fail:0 skip:18 fi-skl-6770hq total:252 pass:239 dwarn:3 dfail:0 fail:0 skip:10 fi-snb-2520m total:204 pass:178 dwarn:0 dfail:4 fail:0 skip:21 fi-snb-2600 total:252 pass:220 dwarn:3 dfail:0 fail:0 skip:29
5bec901e7ea94b6e656c8b0813c45c90d37a5673 drm-tip: 2017y-02m-16d-04h-31m-41s UTC integration manifest 0cd3a6e drm/i915: Support HDMI EDID injection
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3837/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 3 lines · Abdiel Janulgue
From: marius vlad <[email protected]>
Make a copy of
drm_property_blobdata for user-supplied EDID blobs.
I'd like to stop this approach from spreading by handling the EDID overrides at a lower level [1]. Otherwise, we'll fill all drivers with special casing.
BR,
Jani.
[1] https://patchwork.freedesktop.org/series/19764/
Quoted 27 lines
Signed-off-by Abdiel Janulgue <[email protected]>Signed-off-by Marius Vlad <[email protected]>--- drivers/gpu/drm/i915/intel_hdmi.c | 10 ++++++++++ 1 file changed, 10 insertions(+)drivers/gpu/drm/i915/intel_hdmi.c +10
-0@@ -1463,6 +1463,16 @@ intel_hdmi_set_edid(struct drm_connector *connector)intel_gmbus_get_adapter (dev_priv, intel_hdmi->ddc_bus)); +/* +* Use the user-supplied EDID blob in case we don't have an +* EDID from the display. +*/ +if (!edid && connector->override_edid) { + edid =kmemdup (connector->edid_blob_ptr->data, + connector->edid_blob_ptr->length, +GFP_KERNEL ); + } +intel_hdmi_dp_dual_mode_detect (connector, edid !=NULL );intel_display_power_put (dev_priv,POWER_DOMAIN_GMBUS );
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: Support HDMI EDID injection (rev3)
In reply to Abdiel Janulgue== Series Details ==
== Series Details ==
Series: drm/i915: Support HDMI EDID injection (rev3)
URL : https://patchwork.freedesktop.org/series/3007/
State : success
== Summary ==
Series 3007v3 drm/i915: Support HDMI EDID injection
https://patchwork.freedesktop.org/api/1.0/series/3007/revisions/3/mbox/
fi-bdw-5557u total:252 pass:241 dwarn:0 dfail:0 fail:0 skip:11 fi-bsw-n3050 total:252 pass:213 dwarn:0 dfail:0 fail:0 skip:39 fi-bxt-j4205 total:252 pass:233 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:252 pass:225 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-n2820 total:252 pass:221 dwarn:0 dfail:0 fail:0 skip:31 fi-hsw-4770 total:252 pass:236 dwarn:0 dfail:0 fail:0 skip:16 fi-hsw-4770r total:252 pass:236 dwarn:0 dfail:0 fail:0 skip:16 fi-ilk-650 total:252 pass:202 dwarn:0 dfail:0 fail:0 skip:50 fi-ivb-3520m total:252 pass:234 dwarn:0 dfail:0 fail:0 skip:18 fi-ivb-3770 total:252 pass:234 dwarn:0 dfail:0 fail:0 skip:18 fi-kbl-7500u total:252 pass:234 dwarn:0 dfail:0 fail:0 skip:18 fi-skl-6260u total:252 pass:242 dwarn:0 dfail:0 fail:0 skip:10 fi-skl-6700hq total:252 pass:235 dwarn:0 dfail:0 fail:0 skip:17 fi-skl-6700k total:252 pass:230 dwarn:4 dfail:0 fail:0 skip:18 fi-skl-6770hq total:252 pass:242 dwarn:0 dfail:0 fail:0 skip:10 fi-snb-2520m total:252 pass:224 dwarn:0 dfail:0 fail:0 skip:28 fi-snb-2600 total:252 pass:223 dwarn:0 dfail:0 fail:0 skip:29
89a932d98b6e1733011019c9872583a9c7c8fda3 drm-tip: 2017y-02m-16d-10h-06m-42s UTC integration manifest fcb6c24 drm/i915: Support HDMI EDID injection
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3849/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx