drm/i915: Fix for VBT expected size
Subsystems (2)
Depending on the VBT BDB version the maximum size can be up to 38 bytes.
This fix increases the maximum of the VBT expected size from 33 bytes to 38 bytes and by doing so cures the kernel hang on BSW box.
--- drivers/gpu/drm/i915/intel_bios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_bios.h +1 -1
@@ -246,7 +246,7 @@ struct common_child_dev_config {union child_device_config {/* This one is safe to be used anywhere, but the code should still check * the BDB version. */ -u8 raw[33 ]; +u8 raw[38 ];/* This one should only be kept for legacy code. */ struct old_child_dev_config old;/* This one should also be safe to use anywhere, even without version
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines · Mika Kahola
Depending on the VBT BDB version the maximum size can be up to 38 bytes.
This fix increases the maximum of the VBT expected size from 33 bytes to 38 bytes and by doing so cures the kernel hang on BSW box.
Signed-off-by Mika Kahola <[email protected]>
We already have David's patch in -fixes, how does this relate? How does it blow up? Is this a regression? If so which commit created it? Where's the bugzilla link from QA?
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_bios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_bios.h +1
-1@@ -246,7 +246,7 @@ struct common_child_dev_config {union child_device_config {/* This one is safe to be used anywhere, but the code should still check * the BDB version. */ -u8 raw[33 ]; +u8 raw[38 ];/* This one should only be kept for legacy code. */ struct old_child_dev_config old;/* This one should also be safe to use anywhere, even without version Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 8 lines · Daniel Vetter
Quoted 7 lines · Mika Kahola
Depending on the VBT BDB version the maximum size can be up to 38 bytes.
This fix increases the maximum of the VBT expected size from 33 bytes to 38 bytes and by doing so cures the kernel hang on BSW box.
Quoted 5 lines
Quoted 1 line
Signed-off-by Mika Kahola <[email protected]>We already have David's patch in -fixes, how does this relate? How does it blow up? Is this a regression? If so which commit created it? Where's the bugzilla link from QA?
There's no bugzilla link from QA because Mika found the bug and I told him to just send the patch.
BR,
Jani.
Quoted 35 lines
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_bios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_bios.h +1
-1@@ -246,7 +246,7 @@ struct common_child_dev_config {union child_device_config {/* This one is safe to be used anywhere, but the code should still check * the BDB version. */ -u8 raw[33 ]; +u8 raw[38 ];/* This one should only be kept for legacy code. */ struct old_child_dev_config old;/* This one should also be safe to use anywhere, even without version Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfxSignature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Jani Nikula
Quoted 8 lines · Daniel Vetter
Quoted 7 lines · Mika Kahola
Depending on the VBT BDB version the maximum size can be up to 38 bytes.
This fix increases the maximum of the VBT expected size from 33 bytes to 38 bytes and by doing so cures the kernel hang on BSW box.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Mika Kahola <[email protected]>We already have David's patch in -fixes, how does this relate? How does it blow up? Is this a regression? If so which commit created it? Where's the bugzilla link from QA?
There's no bugzilla link from QA because Mika found the bug and I told him to just send the patch.
so bsw doesn't boot and QA didn't notice? That's fail too, just different kind of fail ...
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 16 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula
Quoted 13 lines · Daniel Vetter
Quoted 8 lines · Mika Kahola
Depending on the VBT BDB version the maximum size can be up to 38 bytes.
This fix increases the maximum of the VBT expected size from 33 bytes to 38 bytes and by doing so cures the kernel hang on BSW box.
Signed-off-by Mika Kahola <[email protected]>We already have David's patch in -fixes, how does this relate? How does it blow up? Is this a regression? If so which commit created it? Where's the bugzilla link from QA?
Quoted 6 lines
Quoted 2 lines
There's no bugzilla link from QA because Mika found the bug and I told him to just send the patch.
so bsw doesn't boot and QA didn't notice? That's fail too, just different kind of fail ...
-Daniel
Well, there is now a bug report now which can be found
https://bugs.freedesktop.org/show_bug.cgi?id=91613
In addition, David refined his patch series, which relates to this issue and therefore my bugfix can be ignored.
https://patchwork.freedesktop.org/patch/56911/
-Mika-
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx