tools/intel_bios_decode: update vbt defs from kernel
PATCH 1/1 tools/intel_bios_decode: update vbt defs from kernel
Sync up with the following intel_vbt_defs.h changes in kernel:
c4fb60b9aba9 ("drm/i915/bios: add DP max link rate to VBT child device struct")
d6038611aa3d ("drm/i915: Parse max HDMI TMDS clock from VBT")
6e8fbf8d19e4 ("drm/i915/vbt: Fix HDMI level shifter and max data rate bitfield sizes")
9c3b2689d01f ("drm/i915/cnl: Map VBT DDC Pin to BSpec DDC Pin.")
--- tools/intel_vbt_defs.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
tools/intel_vbt_defs.h +16 -2
@@ -304,8 +304,20 @@ 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+ */ +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.
@@ -334,8 +346,8 @@ struct child_device_config {u8 i2c_speed;u8 dp_onboard_redriver;/* 158 */ u8 dp_ondock_redriver;/* 158 */ - u8 hdmi_level_shifter_value:4; /* 169 */ - u8 hdmi_max_data_rate:4; /* 204 */ + u8 hdmi_level_shifter_value:5; /* 169 */ + u8 hdmi_max_data_rate:3; /* 204 */u16 dtd_buf_ptr;/* 161 */ u8 edidless_efp:1; /* 161 */ u8 compression_enable:1; /* 198 */
@@ -400,6 +412,8 @@ struct child_device_config {u16 dp_gpio_pin_num;/* 195 */ u8 dp_iboost_level:4; /* 196 */ u8 hdmi_iboost_level:4; /* 196 */ + u8 dp_max_link_rate:2; /* 216 CNL+ */ + u8 dp_max_link_rate_reserved:6; /* 216 */ } __packed;struct bdb_general_definitions {
Signature · 6 lines
2.11.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tools/intel_bios_decode: update vbt defs from kernel
== Series Details ==
== Series Details ==
Series: tools/intel_bios_decode: update vbt defs from kernel
URL : https://patchwork.freedesktop.org/series/36762/
State : success
== Summary ==
IGT patchset tested on top of latest successful build 51b2ce5f09a58f364e9aa289075ffa8280f23e05 intel_vbt_decode: Typo fixes
with latest DRM-Tip kernel build CI_DRM_3654e8f08a6eadfa drm-tip: 2018y-01m-19d-08h-39m-10s UTC integration manifest
No testlist changes.
Test debugfs_test:
Subgroup read_all_entries:
pass -> INCOMPLETE (fi-snb-2520m) fdo#103713fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:422s fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:374s fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:489s fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:282s fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:489s fi-bxt-j4205 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:486s fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:477s fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:459s fi-elk-e7500 total:224 pass:168 dwarn:9 dfail:1 fail:0 skip:45 fi-gdg-551 total:288 pass:179 dwarn:0 dfail:0 fail:1 skip:108 time:280s fi-glk-1 total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:515s fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:394s fi-hsw-4770r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:401s fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:417s fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:467s fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:416s fi-kbl-7500u total:288 pass:262 dwarn:1 dfail:1 fail:0 skip:24 time:462s fi-kbl-7560u total:288 pass:269 dwarn:0 dfail:0 fail:0 skip:19 time:503s fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:453s fi-kbl-r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:503s fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:434s fi-skl-6600u total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:509s fi-skl-6700hq total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:535s fi-skl-6700k2 total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:491s fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:490s fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:436s fi-snb-2520m total:3 pass:2 dwarn:0 dfail:0 fail:0 skip:0 fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:401s Blacklisted hosts: fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:569s fi-glk-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:475s fi-skl-guc total:288 pass:211 dwarn:48 dfail:1 fail:0 skip:28 time:416s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_795/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 5 lines · Jani Nikula
Sync up with the following
intel_vbt_defs.hchanges in kernel:
c4fb60b9aba9("drm/i915/bios: add DP max link rate to VBT child device struct")
Quoted 8 lines
d6038611aa3d("drm/i915: Parse max HDMI TMDS clock from VBT")
6e8fbf8d19e4("drm/i915/vbt: Fix HDMI level shifter and max data rate bitfield sizes")
9c3b2689d01f("drm/i915/cnl: Map VBT DDC Pin to BSpec DDC Pin.")Signed-off-by Jani Nikula <[email protected]>
Matches the kernel's file. But change the commit message with s/intel_bios_decode/intel_vbt_decode/?
Quoted 56 lines
--- tools/intel_vbt_defs.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)tools/intel_vbt_defs.h +16
-2@@ -304,8 +304,20 @@ 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+ */ +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. @@ -334,8 +346,8 @@ struct child_device_config {u8 i2c_speed;u8 dp_onboard_redriver;/* 158 */ u8 dp_ondock_redriver;/* 158 */ - u8 hdmi_level_shifter_value:4; /* 169 */ - u8 hdmi_max_data_rate:4; /* 204 */ + u8 hdmi_level_shifter_value:5; /* 169 */ + u8 hdmi_max_data_rate:3; /* 204 */u16 dtd_buf_ptr;/* 161 */ u8 edidless_efp:1; /* 161 */ u8 compression_enable:1; /* 198 */@@ -400,6 +412,8 @@ struct child_device_config {u16 dp_gpio_pin_num;/* 195 */ u8 dp_iboost_level:4; /* 196 */ u8 hdmi_iboost_level:4; /* 196 */ + u8 dp_max_link_rate:2; /* 216 CNL+ */ + u8 dp_max_link_rate_reserved:6; /* 216 */ } __packed;struct bdb_general_definitions {Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Petri Latvala
Quoted 10 lines · Jani Nikula
Sync up with the following
intel_vbt_defs.hchanges in kernel:
c4fb60b9aba9("drm/i915/bios: add DP max link rate to VBT child device struct")
d6038611aa3d("drm/i915: Parse max HDMI TMDS clock from VBT")
6e8fbf8d19e4("drm/i915/vbt: Fix HDMI level shifter and max data rate bitfield sizes")
Quoted 6 lines
Quoted 3 lines
9c3b2689d01f("drm/i915/cnl: Map VBT DDC Pin to BSpec DDC Pin.")Signed-off-by Jani Nikula <[email protected]>Matches the kernel's file. But change the commit message with s/intel_bios_decode/intel_vbt_decode/?
D'oh!
Quoted 1 line
Reviewed-by Petri Latvala <[email protected]>
Thanks, pushed.
BR,
Jani.
Quoted 58 lines
Quoted 58 lines
--- tools/intel_vbt_defs.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)tools/intel_vbt_defs.h +16
-2@@ -304,8 +304,20 @@ 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+ */ +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. @@ -334,8 +346,8 @@ struct child_device_config {u8 i2c_speed;u8 dp_onboard_redriver;/* 158 */ u8 dp_ondock_redriver;/* 158 */ - u8 hdmi_level_shifter_value:4; /* 169 */ - u8 hdmi_max_data_rate:4; /* 204 */ + u8 hdmi_level_shifter_value:5; /* 169 */ + u8 hdmi_max_data_rate:3; /* 204 */u16 dtd_buf_ptr;/* 161 */ u8 edidless_efp:1; /* 161 */ u8 compression_enable:1; /* 198 */@@ -400,6 +412,8 @@ struct child_device_config {u16 dp_gpio_pin_num;/* 195 */ u8 dp_iboost_level:4; /* 196 */ u8 hdmi_iboost_level:4; /* 196 */ + u8 dp_max_link_rate:2; /* 216 CNL+ */ + u8 dp_max_link_rate_reserved:6; /* 216 */ } __packed;struct bdb_general_definitions {Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for tools/intel_bios_decode: update vbt defs from kernel
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: tools/intel_bios_decode: update vbt defs from kernel
URL : https://patchwork.freedesktop.org/series/36762/
State : failure
== Summary ==
Warning: bzip CI_DRM_3654/shard-glkb6/results0.json.bz2 wasn't in correct JSON format Test kms_flip:
Subgroup vblank-vs-suspend:
pass -> SKIP (shard-snb) fdo#102365 +1
Test kms_cursor_crc:
Subgroup cursor-64x64-suspend:
pass -> SKIP (shard-hsw) fdo#103540
Test kms_frontbuffer_tracking:
Subgroup fbc-1p-offscren-pri-shrfb-draw-blt:
fail -> PASS (shard-snb) fdo#101623 +3
Subgroup fbc-modesetfrombusy:
skip -> PASS (shard-snb) fdo#103167
Test gem_tiled_swapping:
Subgroup non-threaded:
incomplete -> PASS (shard-snb) fdo#104218 +1
Test kms_cursor_legacy:
Subgroup 2x-long-flip-vs-cursor-legacy:
pass -> INCOMPLETE (shard-hsw)
Subgroup basic-flip-before-cursor-legacy:
skip -> PASS (shard-snb)
Test kms_plane_multiple:
Subgroup atomic-pipe-a-tiling-x:
skip -> PASS (shard-snb)
Test gem_eio:
Subgroup in-flight-contexts:
pass -> DMESG-WARN (shard-snb) fdo#104058fdo#102365 https://bugs.freedesktop.org/show_bug.cgi?id=102365
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#104218 https://bugs.freedesktop.org/show_bug.cgi?id=104218
fdo#104058 https://bugs.freedesktop.org/show_bug.cgi?id=104058
shard-apl total:2753 pass:1717 dwarn:1 dfail:0 fail:20 skip:1015 time:14045s shard-hsw total:2679 pass:1685 dwarn:2 dfail:0 fail:10 skip:980 time:14912s shard-snb total:2753 pass:1314 dwarn:2 dfail:0 fail:11 skip:1426 time:7751s
Blacklisted hosts:
shard-kbl total:2753 pass:1836 dwarn:1 dfail:0 fail:22 skip:894 time:10880s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_795/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev