tools/intel_vbt_defs: Sync up intel_vbt_defs.h with enum vbt_gmbus_ddi from the kernel
PATCH 1/2 tools/intel_vbt_defs: Sync up intel_vbt_defs.h with enum vbt_gmbus_ddi from the kernel
From: Ville Syrjälä <[email protected]>
Bring over enum vbt_gmbus_ddi from intel_vbt_defs.h in the kernel.
--- tools/intel_vbt_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+)
tools/intel_vbt_defs.h +8 -0
@@ -306,6 +306,14 @@ struct bdb_general_features {#define LEGACY_CHILD_DEVICE_CONFIG_SIZE 33 +/* DDC Bus DDI Type 155+ */ +enum vbt_gmbus_ddi { +DDC_BUS_DDI_B =0x1 , +DDC_BUS_DDI_C , +DDC_BUS_DDI_D , +DDC_BUS_DDI_F , +}; +/* * The child device config, aka the display device data structure, provides a * description of a port and its configuration on the platform.
Signature · 6 lines
2.13.6 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 tools/intel_vbt_decode: Decode HDMI max data rate
From: Ville Syrjälä <[email protected]>
Decode the HDMI max data rate from the VBT.
--- tools/intel_vbt_decode.c | 22 +++++++++++++++++++++- tools/intel_vbt_defs.h | 4 ++++ 2 files changed, 25 insertions(+), 1 deletion(-)
tools/intel_vbt_decode.c +21 -1
@@ -398,6 +398,26 @@ static const char *mipi_bridge_type(uint8_t type) } } +static void dump_hmdi_max_data_rate (uint8_t hdmi_max_data_rate) +{ +static const uint16_t max_data_rate[] = { + [HDMI_MAX_DATA_RATE_PLATFORM ] =0 , + [HDMI_MAX_DATA_RATE_297 ] =297 , + [HDMI_MAX_DATA_RATE_165 ] =165 , + }; + +if (hdmi_max_data_rate >=ARRAY_SIZE (max_data_rate)) +printf ("\t\tHDMI max data rate: <unknown> (0x%02x)\n" , + hdmi_max_data_rate); +else if (hdmi_max_data_rate ==HDMI_MAX_DATA_RATE_PLATFORM ) +printf ("\t\tHDMI max data rate: <platform max> (0x%02x)\n" , + hdmi_max_data_rate); +else +printf ("\t\tHDMI max data rate: %d MHz (0x%02x)\n" , + max_data_rate[hdmi_max_data_rate], + hdmi_max_data_rate); +} +static void dump_child_device (struct context *context,const struct child_device_config *child) {
@@ -418,7 +438,7 @@ static void dump_child_device(struct context *context,printf ("\t\tDP onboard redriver: 0x%02x\n" , child->dp_onboard_redriver);printf ("\t\tDP ondock redriver: 0x%02x\n" , child->dp_ondock_redriver);printf ("\t\tHDMI level shifter value: 0x%02x\n" , child->hdmi_level_shifter_value); -printf ("\t\tHDMI max data rate: 0x%02x\n" , child->hdmi_max_data_rate); +dump_hmdi_max_data_rate (child->hdmi_max_data_rate);printf ("\t\tOffset to DTD buffer for edidless CHILD: 0x%02x\n" , child->dtd_buf_ptr);printf ("\t\tEdidless EFP: %s\n" ,YESNO (child->edidless_efp));printf ("\t\tCompression enable: %s\n" ,YESNO (child->compression_enable));
tools/intel_vbt_defs.h +4 -0
@@ -304,6 +304,10 @@ struct bdb_general_features {#define DVO_PORT_MIPIC 23/* 171 */ #define DVO_PORT_MIPID 24/* 171 */ +#define HDMI_MAX_DATA_RATE_PLATFORM 0/* 204 */ +#define HDMI_MAX_DATA_RATE_297 1/* 204 */ +#define HDMI_MAX_DATA_RATE_165 2/* 204 */ +#define LEGACY_CHILD_DEVICE_CONFIG_SIZE 33/* DDC Bus DDI Type 155+ */
Signature · 6 lines
2.13.6 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Bring over enum
vbt_gmbus_ddifromintel_vbt_defs.hin the kernel.
Both patches
Quoted 27 lines
Cc Rodrigo Vivi <[email protected]>Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- tools/intel_vbt_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+)tools/intel_vbt_defs.h +8
-0@@ -306,6 +306,14 @@ struct bdb_general_features {#define LEGACY_CHILD_DEVICE_CONFIG_SIZE 33 +/* DDC Bus DDI Type 155+ */ +enum vbt_gmbus_ddi { +DDC_BUS_DDI_B =0x1 , +DDC_BUS_DDI_C , +DDC_BUS_DDI_D , +DDC_BUS_DDI_F , +}; +/* * The child device config, aka the display device data structure, provides a * description of a port and its configuration on the platform.
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: failure for series starting with [1/2] tools/intel_vbt_defs: Sync up intel_vbt_defs.h with enum vbt_gmbus_ddi from the kernel
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/2] tools/intel_vbt_defs: Sync up intel_vbt_defs.h with enum vbt_gmbus_ddi from the kernel
URL : https://patchwork.freedesktop.org/series/32841/
State : failure
== Summary ==
IGT patchset tested on top of latest successful build 1fc4de1ca390adec9be8bd7cc0c36cab07465959 igt/gem_exec_latency: Wire up an interloper for preemption
with latest DRM-Tip kernel build CI_DRM_32942dd14a4ad87f drm-tip: 2017y-10m-30d-13h-40m-22s UTC integration manifest
No testlist changes.
Test debugfs_test:
Subgroup read_all_entries:
dmesg-warn -> PASS (fi-cfl-s)
Test drv_getparams_basic:
Subgroup basic-eu-total:
dmesg-warn -> PASS (fi-cfl-s)
Subgroup basic-subslice-total:
dmesg-warn -> PASS (fi-cfl-s)
Test drv_hangman:
Subgroup error-state-basic:
dmesg-warn -> PASS (fi-cfl-s)
Test gem_ctx_switch:
Subgroup basic-default-heavy:
pass -> INCOMPLETE (fi-glk-dsi)
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-atomic:
pass -> DMESG-WARN (fi-cnl-y)
Test kms_pipe_crc_basic:
Subgroup read-crc-pipe-b:
pass -> INCOMPLETE (fi-cnl-y) fdo#103339
Subgroup suspend-read-crc-pipe-b:
pass -> DMESG-WARN (fi-byt-n2820) fdo#101705
Test drv_module_reload:
Subgroup basic-reload-inject:
pass -> DMESG-WARN (fi-bsw-n3050)fdo#103339 https://bugs.freedesktop.org/show_bug.cgi?id=103339
fdo#101705 https://bugs.freedesktop.org/show_bug.cgi?id=101705
fi-bdw-5557u total:289 pass:268 dwarn:0 dfail:0 fail:0 skip:21 time:442s fi-bdw-gvtdvm total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:462s fi-blb-e6850 total:289 pass:223 dwarn:1 dfail:0 fail:0 skip:65 time:372s fi-bsw-n3050 total:289 pass:242 dwarn:1 dfail:0 fail:0 skip:46 time:533s fi-bwr-2160 total:289 pass:183 dwarn:0 dfail:0 fail:0 skip:106 time:267s fi-bxt-dsi total:289 pass:259 dwarn:0 dfail:0 fail:0 skip:30 time:503s fi-bxt-j4205 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:497s fi-byt-j1900 total:289 pass:253 dwarn:1 dfail:0 fail:0 skip:35 time:502s fi-byt-n2820 total:289 pass:249 dwarn:1 dfail:0 fail:0 skip:39 time:482s fi-cfl-s total:289 pass:253 dwarn:4 dfail:0 fail:0 skip:32 time:551s fi-cnl-y total:289 pass:215 dwarn:1 dfail:0 fail:0 skip:24 fi-elk-e7500 total:289 pass:229 dwarn:0 dfail:0 fail:0 skip:60 time:428s fi-gdg-551 total:289 pass:178 dwarn:1 dfail:0 fail:1 skip:109 time:253s fi-glk-1 total:289 pass:261 dwarn:0 dfail:0 fail:0 skip:28 time:580s fi-glk-dsi total:32 pass:22 dwarn:0 dfail:0 fail:0 skip:9 fi-hsw-4770 total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:428s fi-hsw-4770r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:434s fi-ilk-650 total:289 pass:228 dwarn:0 dfail:0 fail:0 skip:61 time:422s fi-ivb-3520m total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:498s fi-ivb-3770 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:464s fi-kbl-7500u total:289 pass:264 dwarn:1 dfail:0 fail:0 skip:24 time:492s fi-kbl-7560u total:289 pass:270 dwarn:0 dfail:0 fail:0 skip:19 time:572s fi-kbl-7567u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:478s fi-kbl-r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:583s fi-pnv-d510 total:289 pass:222 dwarn:1 dfail:0 fail:0 skip:66 time:549s fi-skl-6260u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:461s fi-skl-6600u total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:595s fi-skl-6700hq total:289 pass:263 dwarn:0 dfail:0 fail:0 skip:26 time:650s fi-skl-6700k total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:525s fi-skl-6770hq total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:503s fi-skl-gvtdvm total:289 pass:266 dwarn:0 dfail:0 fail:0 skip:23 time:460s fi-snb-2520m total:289 pass:250 dwarn:0 dfail:0 fail:0 skip:39 time:566s fi-snb-2600 total:289 pass:249 dwarn:0 dfail:0 fail:0 skip:40 time:423s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_445/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx