From: Mika Kahola <mika.kahola@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [BUGFIX] drm/i915: Fix for VBT expected size
Date: Tue, 11 Aug 2015 16:49:33 +0300 [thread overview]
Message-ID: <1439300973-7833-1-git-send-email-mika.kahola@intel.com> (raw)
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 <mika.kahola@intel.com>
---
drivers/gpu/drm/i915/intel_bios.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_bios.h b/drivers/gpu/drm/i915/intel_bios.h
index f7ad6a5..788463d 100644
--- a/drivers/gpu/drm/i915/intel_bios.h
+++ b/drivers/gpu/drm/i915/intel_bios.h
@@ -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
--
1.9.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2015-08-11 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-11 13:49 Mika Kahola [this message]
2015-08-12 13:18 ` [BUGFIX] drm/i915: Fix for VBT expected size Daniel Vetter
2015-08-12 13:42 ` Jani Nikula
2015-08-12 13:43 ` Daniel Vetter
2015-08-13 6:13 ` Mika Kahola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439300973-7833-1-git-send-email-mika.kahola@intel.com \
--to=mika.kahola@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox