projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0067a3
)
drm/i915/opregion: make VBT size limit more strict
author
Jani Nikula
<jani.nikula@intel.com>
Mon, 14 Dec 2015 10:50:51 +0000
(12:50 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 16 Dec 2015 09:26:52 +0000
(11:26 +0200)
The VBT in OpRegion should fit in mailbox #4.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/4bdb3f5820e3dbd1cdfa7b65cadfce4f80b880f0.1450089383.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_opregion.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_opregion.c
b/drivers/gpu/drm/i915/intel_opregion.c
index
859c9ac
..
1c8dfc9
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_opregion.c
+++ b/
drivers/gpu/drm/i915/intel_opregion.c
@@
-988,7
+988,7
@@
int intel_opregion_setup(struct drm_device *dev)
if (!dmi_check_system(intel_no_opregion_vbt)) {
void *vbt = base + OPREGION_VBT_OFFSET;
- u32 vbt_size = OPREGION_
SIZE
- OPREGION_VBT_OFFSET;
+ u32 vbt_size = OPREGION_
ASLE_EXT_OFFSET
- OPREGION_VBT_OFFSET;
if (intel_bios_is_valid_vbt(vbt, vbt_size)) {
DRM_DEBUG_KMS("Found valid VBT in ACPI OpRegion\n");