* [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
@ 2018-01-19 8:56 ` Jani Nikula
0 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2018-01-19 8:56 UTC (permalink / raw)
To: igt-dev; +Cc: Jani Nikula, intel-gfx
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.")
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
tools/intel_vbt_defs.h | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
index e388f9ad5c33..3f5eff49105b 100644
--- a/tools/intel_vbt_defs.h
+++ b/tools/intel_vbt_defs.h
@@ -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 {
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
@ 2018-01-19 8:56 ` Jani Nikula
0 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2018-01-19 8:56 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
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.")
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
tools/intel_vbt_defs.h | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
index e388f9ad5c33..3f5eff49105b 100644
--- a/tools/intel_vbt_defs.h
+++ b/tools/intel_vbt_defs.h
@@ -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 {
--
2.11.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tools/intel_bios_decode: update vbt defs from kernel
2018-01-19 8:56 ` [igt-dev] " Jani Nikula
(?)
@ 2018-01-19 9:35 ` Patchwork
-1 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-01-19 9:35 UTC (permalink / raw)
To: Jani Nikula; +Cc: igt-dev
== 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_3654
e8f08a6eadfa 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#103713
fdo#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
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
2018-01-19 8:56 ` [igt-dev] " Jani Nikula
@ 2018-01-19 11:56 ` Petri Latvala
-1 siblings, 0 replies; 8+ messages in thread
From: Petri Latvala @ 2018-01-19 11:56 UTC (permalink / raw)
To: Jani Nikula; +Cc: igt-dev, intel-gfx
On Fri, Jan 19, 2018 at 10:56:33AM +0200, Jani Nikula wrote:
> 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.")
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Matches the kernel's file. But change the commit message with
s/intel_bios_decode/intel_vbt_decode/?
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
> ---
> tools/intel_vbt_defs.h | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
> index e388f9ad5c33..3f5eff49105b 100644
> --- a/tools/intel_vbt_defs.h
> +++ b/tools/intel_vbt_defs.h
> @@ -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 {
> --
> 2.11.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
@ 2018-01-19 11:56 ` Petri Latvala
0 siblings, 0 replies; 8+ messages in thread
From: Petri Latvala @ 2018-01-19 11:56 UTC (permalink / raw)
To: Jani Nikula; +Cc: igt-dev, intel-gfx
On Fri, Jan 19, 2018 at 10:56:33AM +0200, Jani Nikula wrote:
> 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.")
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Matches the kernel's file. But change the commit message with
s/intel_bios_decode/intel_vbt_decode/?
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
> ---
> tools/intel_vbt_defs.h | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
> index e388f9ad5c33..3f5eff49105b 100644
> --- a/tools/intel_vbt_defs.h
> +++ b/tools/intel_vbt_defs.h
> @@ -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 {
> --
> 2.11.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
2018-01-19 11:56 ` [Intel-gfx] " Petri Latvala
@ 2018-01-19 12:11 ` Jani Nikula
-1 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2018-01-19 12:11 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, intel-gfx
On Fri, 19 Jan 2018, Petri Latvala <petri.latvala@intel.com> wrote:
> On Fri, Jan 19, 2018 at 10:56:33AM +0200, Jani Nikula wrote:
>> 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.")
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Matches the kernel's file. But change the commit message with
> s/intel_bios_decode/intel_vbt_decode/?
D'oh!
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Thanks, pushed.
BR,
Jani.
>
>
>> ---
>> tools/intel_vbt_defs.h | 18 ++++++++++++++++--
>> 1 file changed, 16 insertions(+), 2 deletions(-)
>>
>> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
>> index e388f9ad5c33..3f5eff49105b 100644
>> --- a/tools/intel_vbt_defs.h
>> +++ b/tools/intel_vbt_defs.h
>> @@ -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 {
>> --
>> 2.11.0
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel
@ 2018-01-19 12:11 ` Jani Nikula
0 siblings, 0 replies; 8+ messages in thread
From: Jani Nikula @ 2018-01-19 12:11 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, intel-gfx
On Fri, 19 Jan 2018, Petri Latvala <petri.latvala@intel.com> wrote:
> On Fri, Jan 19, 2018 at 10:56:33AM +0200, Jani Nikula wrote:
>> 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.")
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Matches the kernel's file. But change the commit message with
> s/intel_bios_decode/intel_vbt_decode/?
D'oh!
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Thanks, pushed.
BR,
Jani.
>
>
>> ---
>> tools/intel_vbt_defs.h | 18 ++++++++++++++++--
>> 1 file changed, 16 insertions(+), 2 deletions(-)
>>
>> diff --git a/tools/intel_vbt_defs.h b/tools/intel_vbt_defs.h
>> index e388f9ad5c33..3f5eff49105b 100644
>> --- a/tools/intel_vbt_defs.h
>> +++ b/tools/intel_vbt_defs.h
>> @@ -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 {
>> --
>> 2.11.0
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for tools/intel_bios_decode: update vbt defs from kernel
2018-01-19 8:56 ` [igt-dev] " Jani Nikula
` (2 preceding siblings ...)
(?)
@ 2018-01-19 13:16 ` Patchwork
-1 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-01-19 13:16 UTC (permalink / raw)
To: Jani Nikula; +Cc: igt-dev
== 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#104058
fdo#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
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-19 13:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 8:56 [PATCH i-g-t] tools/intel_bios_decode: update vbt defs from kernel Jani Nikula
2018-01-19 8:56 ` [igt-dev] " Jani Nikula
2018-01-19 9:35 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-01-19 11:56 ` [PATCH i-g-t] " Petri Latvala
2018-01-19 11:56 ` [Intel-gfx] " Petri Latvala
2018-01-19 12:11 ` Jani Nikula
2018-01-19 12:11 ` [igt-dev] [Intel-gfx] " Jani Nikula
2018-01-19 13:16 ` [igt-dev] ✗ Fi.CI.IGT: failure for " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.