drm/i915/vbt: Fix VBT parsing for the PSR section
PATCH 1/1 drm/i915/vbt: Fix VBT parsing for the PSR section
A single 32-bit PSR2 training pattern field follows the sixteen element array of PSR table entries in the VBT spec. But, we incorrectly define this PSR2 field for each of the PSR table entries. As a result, the PSR1 training pattern duration for any panel_type != 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb version >= 226 will also be wrong.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183
--- drivers/gpu/drm/i915/display/intel_bios.c | 2 +- drivers/gpu/drm/i915/display/intel_vbt_defs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +1 -1
@@ -766,7 +766,7 @@ parse_psr(struct drm_i915_private *dev_priv, const struct bdb_header *bdb) }if (bdb->version >=226 ) { -u32 wakeup_time = psr_table->psr2_tp2_tp3_wakeup_time; +u32 wakeup_time = psr->psr2_tp2_tp3_wakeup_time; wakeup_time = (wakeup_time >> (2 * panel_type)) &0x3 ;switch (wakeup_time) {
drivers/gpu/drm/i915/display/intel_vbt_defs.h +3 -3
@@ -481,13 +481,13 @@ struct psr_table {/* TP wake up time in multiple of 100 */ u16 tp1_wakeup_time;u16 tp2_tp3_wakeup_time; - -/* PSR2 TP2/TP3 wakeup time for 16 panels */ -u32 psr2_tp2_tp3_wakeup_time; } __packed;struct bdb_psr {struct psr_table psr_table[16 ]; + +/* PSR2 TP2/TP3 wakeup time for 16 panels */ +u32 psr2_tp2_tp3_wakeup_time; } __packed;/*
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/vbt: Fix VBT parsing for the PSR section (rev3)
== Series Details ==
== Series Details ==
Series: drm/i915/vbt: Fix VBT parsing for the PSR section (rev3)
URL : https://patchwork.freedesktop.org/series/63774/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6502 -> Patchwork_13678
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/
Known issues
------------
Here are the changes found in Patchwork_13678 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload:
- fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2] ([fdo#107718])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-blb-e6850/igt@[email protected]
* igt@kms_chamelium@dp-edid-read:
- fi-cml-u2: [PASS][3] -> [FAIL][4] ([fdo#109483])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-cml-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-cml-u2/igt@[email protected]
#### Possible fixes ####
* igt@gem_basic@bad-close:
- fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-icl-u3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-icl-u3/igt@[email protected]
* igt@gem_ctx_create@basic-files:
- fi-icl-u3: [INCOMPLETE][7] ([fdo#107713] / [fdo#109100]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-icl-u3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-icl-u3/igt@[email protected]
* {igt@gem_ctx_switch@legacy-render}:
- fi-icl-guc: [INCOMPLETE][9] ([fdo#107713]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-icl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-icl-guc/igt@[email protected]
* {igt@gem_ctx_switch@rcs0}:
- fi-icl-u2: [INCOMPLETE][11] ([fdo#107713]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-icl-u2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-icl-u2/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][13] ([fdo#109485]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6502/fi-kbl-7500u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/fi-kbl-7500u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
Participating hosts (52 -> 46)
------------------------------
Additional (1): fi-apl-guc
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-pnv-d510 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6502 -> Patchwork_13678
CI_DRM_6502: 606a844d5d932fb07b2377b95c0fe7b08383e32a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5102: 6038ace76016d8892f4d13aef5301f71ca1a6e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13678: d709a963b6350446325d666fa40fb59bc57b5902 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
d709a963b635 drm/i915/vbt: Fix VBT parsing for the PSR section
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13678/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 12 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element array of PSR table entries in the VBT spec. But, we incorrectly define this PSR2 field for each of the PSR table entries. As a result, the PSR1 training pattern duration for any
panel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time")
Quoted 7 lines
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>
pushed, thanks for the patches, reviews and tests.
Quoted 46 lines
--- Drivers/gpu/drm/i915/display/intel_bios.c | 2 +- drivers/gpu/drm/i915/display/intel_vbt_defs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/display/intel_bios.c +1
-1@@ -766,7 +766,7 @@ parse_psr(struct drm_i915_private *dev_priv, const struct bdb_header *bdb) }if (bdb->version >=226 ) { -u32 wakeup_time = psr_table->psr2_tp2_tp3_wakeup_time; +u32 wakeup_time = psr->psr2_tp2_tp3_wakeup_time; wakeup_time = (wakeup_time >> (2 * panel_type)) &0x3 ;switch (wakeup_time) {drivers/gpu/drm/i915/display/intel_vbt_defs.h +3
-3@@ -481,13 +481,13 @@ struct psr_table {/* TP wake up time in multiple of 100 */ u16 tp1_wakeup_time;u16 tp2_tp3_wakeup_time; - -/* PSR2 TP2/TP3 wakeup time for 16 panels */ -u32 psr2_tp2_tp3_wakeup_time; } __packed;struct bdb_psr {struct psr_table psr_table[16 ]; + +/* PSR2 TP2/TP3 wakeup time for 16 panels */ +u32 psr2_tp2_tp3_wakeup_time; } __packed;/* Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Sasha Levin
maintainerHi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 88a0d9606aff drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time.
The bot has tested the following trees: v5.2.1.
v5.2.1: Failed to apply! Possible dependencies:
231dcffc234f ("drm/i915/bios: add BDB block comments before definitions")
843444ed1301 ("drm/i915/bios: sort BDB block definitions using block ID")
f87f6599c843 ("drm/i915/bios: reserve struct bdb_ prefix for BDB blocks")NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks,
Sasha
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915/vbt: Fix VBT parsing for the PSR section
A single 32-bit PSR2 training pattern field follows the sixteen element array of PSR table entries in the VBT spec. But, we incorrectly define this PSR2 field for each of the PSR table entries. As a result, the PSR1 training pattern duration for any panel_type != 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb version >= 226 will also be wrong.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183
--- drivers/gpu/drm/i915/intel_bios.c | 2 +- drivers/gpu/drm/i915/intel_vbt_defs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_bios.c +1 -1
@@ -762,7 +762,7 @@ parse_psr(struct drm_i915_private *dev_priv, const struct bdb_header *bdb) }if (bdb->version >=226 ) { -u32 wakeup_time = psr_table->psr2_tp2_tp3_wakeup_time; +u32 wakeup_time = psr->psr2_tp2_tp3_wakeup_time; wakeup_time = (wakeup_time >> (2 * panel_type)) &0x3 ;switch (wakeup_time) {
drivers/gpu/drm/i915/intel_vbt_defs.h +3 -3
@@ -772,13 +772,13 @@ struct psr_table {/* TP wake up time in multiple of 100 */ u16 tp1_wakeup_time;u16 tp2_tp3_wakeup_time; - -/* PSR2 TP2/TP3 wakeup time for 16 panels */ -u32 psr2_tp2_tp3_wakeup_time; } __packed;struct bdb_psr {struct psr_table psr_table[16 ]; + +/* PSR2 TP2/TP3 wakeup time for 16 panels */ +u32 psr2_tp2_tp3_wakeup_time; } __packed;/*
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 14 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element array of PSR table entries in the VBT spec. But, we incorrectly define this PSR2 field for each of the PSR table entries. As a result, the PSR1 training pattern duration for any
panel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183
Quoted 8 lines
Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>(cherry picked from commit b5ea9c9337007d6e700280c8a60b4e10d070fb53)
There is no such commit in Linus's kernel tree :(
Quoted 31 lines · Greg KH
Quoted 25 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Quoted 4 lines
Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)
Quoted 2 lines
There is no such commit in Linus's kernel tree :(
It is still on drm-intel/drm-intel-next-queued -
ssh://git.freedesktop.org/git/drm-intel
Rodrigo do you know when is the next pull-request to Linus?
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)
Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
Quoted 6 lines
Quoted 1 line
It is still on drm-intel/drm-intel-next-queued -
ssh://git.freedesktop.org/git/drm-intelRodrigo do you know when is the next pull-request to Linus?
I will start doing the pull requests to Dave and Daniel soon, but this doesn't reach Linus tree before next merge window.
Eventually it will be there.
If this is a blocker fell free to remove the line and merge the patch please, because this fix very critical issue that impact users. So we can continue the discussion in parallel on how to handle commit links like this in a better way.
Thanks,
Rodrigo.
Quoted 4 lines
_______________________________________________
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
Rodrigo Vivi
maintainerHi Greg,
Quoted 33 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)
Quoted 6 lines
Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
What do you need her from us to accept this patch?
Quoted 21 lines
Quoted 7 lines
Quoted 2 lines
It is still on drm-intel/drm-intel-next-queued -
ssh://git.freedesktop.org/git/drm-intelRodrigo do you know when is the next pull-request to Linus?
I will start doing the pull requests to Dave and Daniel soon, but this doesn't reach Linus tree before next merge window.
Eventually it will be there.
If this is a blocker fell free to remove the line and merge the patch please, because this fix very critical issue that impact users. So we can continue the discussion in parallel on how to handle commit links like this in a better way.
Thanks,
Rodrigo.
Quoted 8 lines
Quoted 4 lines
_______________________________________________
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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Greg KH
maintainerQuoted 36 lines · Rodrigo Vivi
Hi Greg,
Quoted 33 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
What do you need her from us to accept this patch?
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
That's what I need for it to go into a stable kernel release.
thanks,
greg k-h
Rodrigo Vivi
maintainerQuoted 44 lines · Greg KH
Quoted 43 lines · Rodrigo Vivi
Hi Greg,
Quoted 39 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
Quoted 6 lines
Quoted 1 line
What do you need her from us to accept this patch?
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.htmlThat's what I need for it to go into a stable kernel release.
Yes, I have read it. Maybe what I don't understand is just the fact that we will let customers facing issues for 6 weeks or more while the original patch doesn't land on Linus tree. :(
Quoted 4 lines
thanks,
greg k-h
Greg KH
maintainerQuoted 47 lines · Rodrigo Vivi
Quoted 46 lines · Greg KH
Quoted 44 lines · Rodrigo Vivi
Hi Greg,
Quoted 33 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)Quoted 6 lines
Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
What do you need her from us to accept this patch?
Quoted 8 lines
Quoted 4 lines
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.htmlThat's what I need for it to go into a stable kernel release.
Yes, I have read it. Maybe what I don't understand is just the fact that we will let customers facing issues for 6 weeks or more while the original patch doesn't land on Linus tree. :(
Then get the patch into Linus's tree!
Nothing I can do until that happens, you know this...
greg k-h
Rodrigo Vivi
maintainerQuoted 51 lines · Greg KH
Quoted 50 lines · Rodrigo Vivi
Quoted 49 lines · Greg KH
Quoted 36 lines · Rodrigo Vivi
Hi Greg,
Quoted 33 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
What do you need her from us to accept this patch?
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
That's what I need for it to go into a stable kernel release.
Yes, I have read it. Maybe what I don't understand is just the fact that we will let customers facing issues for 6 weeks or more while the original patch doesn't land on Linus tree. :(
Then get the patch into Linus's tree!
Nothing I can do until that happens, you know this...
-ENOTENOUGHCOFFEE sorry.
For some reason I thought this thread had started as the reject of your scripts.
This patch is already queued on our drm-intel-fixes and will probably land on Linus tree next week. Than your scripts will just get it.
So, back to your original concern:
The referrence b5ea9c9337007d6e700280c8a60b4e10d070fb53 you pointed out won't exist until 5.3 merge window though.
My question now is regarding our fixes flow adding these future references. Do you have any concern with that?
Sorry and Thanks,
Rodrigo.
Quoted 2 lines
greg k-h
Greg KH
maintainerQuoted 59 lines · Rodrigo Vivi
Quoted 57 lines · Greg KH
Quoted 55 lines · Rodrigo Vivi
Quoted 44 lines · Greg KH
Quoted 43 lines · Rodrigo Vivi
Hi Greg,
Quoted 39 lines · Rodrigo Vivi
Quoted 32 lines · Jose
Quoted 31 lines · Greg KH
Quoted 29 lines · Dhinakaran Pandiyan
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result, the PSR1
training pattern duration for anypanel_type!= 0 will be parsed incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183Signed-off-by Dhinakaran Pandiyan <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commitb5ea9c9337007d6e700280c8a60b4e10d070fb53)Quoted 1 line
Quoted 1 line
There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
Quoted 6 lines
Quoted 1 line
What do you need her from us to accept this patch?
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.htmlThat's what I need for it to go into a stable kernel release.
Yes, I have read it. Maybe what I don't understand is just the fact that we will let customers facing issues for 6 weeks or more while the original patch doesn't land on Linus tree. :(
Quoted 5 lines
Quoted 2 lines
Then get the patch into Linus's tree!
Nothing I can do until that happens, you know this...
-ENOTENOUGHCOFFEEsorry.
For some reason I thought this thread had started as the reject of your scripts.
That is correct. But more coffee is always good.
Quoted 7 lines
This patch is already queued on our drm-intel-fixes and will probably land on Linus tree next week. Than your scripts will just get it.
So, back to your original concern:
The referrence
b5ea9c9337007d6e700280c8a60b4e10d070fb53you pointed out won't exist until 5.3 merge window though.
That's fine.
Quoted 2 lines
My question now is regarding our fixes flow adding these future references. Do you have any concern with that?
I hate and despise and complain endlessly about how you all are doing this, but I have learned to just suck it up and accept it. It is a major pain in the rear, and I will say that it causes me to delay all merges of stable drm patches that get merged in Linus's tree in -rc1 until -rc2 or -rc3 is out usually as I have to go through and hand-determine if a reject happens because it really is a reject, or because this patch is already in the tree.
So, if this hits Linus's tree "like normal", my scripts will pick it up and all is good. I can handle this crazy notation you all feel that works for you, but I reserve the right to complain.
This original patch, however, was sent only to stable and it seemed to indicate that I needed to pick it up because it already was upstream (I saw the cherry-pick line.) As that is not the case here, fine, no harm, no foul, let's go get more coffee...
greg k-h
Quoted 111 lines
-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Tuesday, July 30, 2019 10:09 AM
To: Vivi, Rodrigo <[email protected]>
Cc: Nikula, Jani <[email protected]>; Joonas Lahtinen <[email protected]>; Souza, Jose <[email protected]>; [email protected]; [email protected]; [email protected]; Pandiyan, Dhinakaran <[email protected]>
Subject: Re: [Intel-gfx] [PATCH stable v5.2] drm/i915/vbt: Fix VBT parsing for the PSR sectionQuoted 11 lines · Rodrigo Vivi
Quoted 9 lines · Greg KH
Quoted 8 lines · Rodrigo Vivi
Quoted 7 lines · Greg KH
Quoted 6 lines · Rodrigo Vivi
Hi Greg,
Quoted 3 lines · Rodrigo Vivi
Quoted 2 lines · Jose
Quoted 1 line · Greg KH
On Mon, Jul 22, 2019 at 04:13:25PM -0700, Dhinakaran Pandiyan
Quoted 5 lines · wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
A single 32-bit PSR2 training pattern field follows the sixteen element
array of PSR table entries in the VBT spec. But, we incorrectly define
this PSR2 field for each of the PSR table entries. As a result,the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
PSR1
training pattern duration for anypanel_type!= 0 will beparsed
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
incorrectly. Secondly, PSR2 training pattern durations for VBTs with bdb
version >= 226 will also be wrong.Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Cc Rodrigo Vivi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc [email protected] #v5.2Fixes 88a0d9606aff ("drm/i915/vbt: Parse and use the new fieldwith PSR2 TP2/3 wakeup time")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111088
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204183
Signed-off-by: Dhinakaran PandiyanQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Reviewed-by Ville Syrjälä <[email protected]>Reviewed-by José Roberto de Souza <[email protected]>Acked-by Rodrigo Vivi <[email protected]>Tested-by François Guerraz <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>Link:
https://patchwork.freedesktop.org/patch/msgid/20190717223451.2595-1-
[email protected]Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
(cherry picked from commit
b5ea9c9337007d6e700280c8a60b4e10d070fb53)There is no such commit in Linus's kernel tree :(
not yet... It is queued for 5.3 on drm-intel-next-queued.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
This line is automatically added by "dim" tool when cherry-picking queued stuff for our drm-intel fixes branches.
What do you need her from us to accept this patch?
Um, you have read the stable kernel rules, right?
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
That's what I need for it to go into a stable kernel release.
Yes, I have read it. Maybe what I don't understand is just the fact that we
will
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
let customers facing issues for 6 weeks or more while the original patch doesn't land on Linus tree. :(
Then get the patch into Linus's tree!
Nothing I can do until that happens, you know this...
-ENOTENOUGHCOFFEEsorry.
For some reason I thought this thread had started as the reject of yourscripts.
That is correct. But more coffee is always good.
Quoted 7 lines
This patch is already queued on our drm-intel-fixes and will probably land on Linus tree next week. Than your scripts will just get it.
So, back to your original concern:
The referrence
b5ea9c9337007d6e700280c8a60b4e10d070fb53you pointed out won't exist until 5.3 merge window though.That's fine.
Quoted 2 lines
My question now is regarding our fixes flow adding these future references. Do you have any concern with that?
I hate and despise and complain endlessly about how you all are doing this, but I have learned to just suck it up and accept it. It is a major pain in the rear, and I will say that it causes me to delay all merges of stable drm patches that get merged in Linus's tree in -rc1 until -rc2 or -rc3 is out usually as I have to go through and hand-determine if a reject happens because it really is a reject, or because this patch is already in the tree.
Quoted 8 lines
So, if this hits Linus's tree "like normal", my scripts will pick it up and all is good. I can handle this crazy notation you all feel that works for you, but I reserve the right to complain.
This original patch, however, was sent only to stable and it seemed to indicate that I needed to pick it up because it already was upstream (I saw the cherry-pick line.) As that is not the case here, fine, no harm, no foul, let's go get more coffee...
Not sure if it was my fault to have included the cherry-pick line, I'll talk to Rodrigo offline to understand if that was the source of confusion.
-DK
Quoted 2 lines
greg k-h
Hi Sasha,
Quoted 4 lines · Sasha Levin
Hi,
[This is an automated email]
Where did you get this patch from? Since stable needs patches merged on Linus tree,
shouldn't your scripts run to try backporting only patches from there?
Thanks,
Rodrigo.
Quoted 22 lines
This commit has been processed because it contains a "Fixes:" tag,
fixing commit:88a0d9606affdrm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time.The bot has tested the following trees: v5.2.1.
v5.2.1: Failed to apply! Possible dependencies:231dcffc234f ("drm/i915/bios: add BDB block comments before definitions") 843444ed1301 ("drm/i915/bios: sort BDB block definitions using block ID") f87f6599c843 ("drm/i915/bios: reserve struct bdb_ prefix for BDB blocks")NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks,
Sasha
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 2 lines
Rodrigo Vivi Blog: http://blog.vivi.eng.br
Sasha Levin
maintainerQuoted 1 line · Rodrigo Vivi
Hi Sasha,
Hello!
Quoted 7 lines · Sasha Levin
Quoted 4 lines
Hi,
[This is an automated email]
Where did you get this patch from? Since stable needs patches merged
This bot grabs them from various mailing lists.
Quoted 2 lines
on Linus tree,
shouldn't your scripts run to try backporting only patches from there?
There's a note a few lines down that says:
"NOTE: The patch will not be queued to stable trees until it is upstream."
Otherwise, no, there's no rule that says we can't look at patches before they are upstream. We can't queue them up, but we sure can poke them.
The reasoning behind this is that it's easier to get replies (and backports) from folks who are actively working on the patch now, rather than a few weeks later when Greg sends his "FAILED:" mails and gets ignored because said folks have moved on.
--
Thanks,
Sasha
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 24 lines · Sasha Levin
Quoted 1 line · Rodrigo Vivi
Hi Sasha,
Hello!
Quoted 7 lines · Sasha Levin
Quoted 4 lines
Hi,
[This is an automated email]
Where did you get this patch from? Since stable needs patches merged
This bot grabs them from various mailing lists.
Quoted 2 lines
on Linus tree,
shouldn't your scripts run to try backporting only patches from there?There's a note a few lines down that says:
Quoted 7 lines
"NOTE: The patch will not be queued to stable trees until it is upstream."
Otherwise, no, there's no rule that says we can't look at patches before they are upstream. We can't queue them up, but we sure can poke them.
The reasoning behind this is that it's easier to get replies (and backports) from folks who are actively working on the patch now,
This is a very good reason indeed...
Quoted 3 lines
rather
than a few weeks later when Greg sends his "FAILED:" mails and gets ignored because said folks have moved on.
however this could potentially cause extra work and confusion like we can see on this thread where the developer immediately responded to your email and sent the backported patch to the stable mailing list.
Maybe it is just because we are used to Greg's failed to apply email or maybe it was just a matter of education...
But I wonder if there isn't something that could be improved on the automated message here. Some message clearly stating:
- No action required at this point
- you can work to prepare the backport in advance
- don't send it to stable before requested by Greg
Anyway, just few ideas. I just reached you to understand the flow and I'm already happy to understand what happened here.
Thanks a lot for that,
Rodrigo.
Quoted 8 lines
--
Thanks,
Sasha
_______________________________________________
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
Sasha Levin
maintainerQuoted 11 lines · Rodrigo
Quoted 4 lines · Sasha Levin
rather
than a few weeks later when Greg sends his "FAILED:" mails and gets ignored because said folks have moved on.however this could potentially cause extra work and confusion like we can see on this thread where the developer immediately responded to your email and sent the backported patch to the stable mailing list.
Maybe it is just because we are used to Greg's failed to apply email or maybe it was just a matter of education...
I think that there were a few things here that ended up causing confusion, but I'm not quite sure how to address them.
I think that stable should have a clearer rules as to how backports should be sent. Right now we weed through mails to stable@ to figure out what are backport requests, what are upstream patches, and what are just confused folks.
We have gotten pretty good at this, but still not perfect...
Quoted 4 lines
But I wonder if there isn't something that could be improved on the automated message here. Some message clearly stating:
- No action required at this point
One *could* send a backport at this point. My understanding is that when Greg sees a failure to apply a commit tagged for stable he'll grep through his mailbox, hopefully finding the backport as a result of this bot bugging people.
Quoted 2 lines
- you can work to prepare the backport in advance
- don't send it to stable before requested by Greg
Why not? I think it's fine to put it on the mailing list, specially under the same thread, and let us deal with it after the patch goes upstream.