summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-12-15 13:18:00 +0200
committerJani Nikula <jani.nikula@intel.com>2015-12-17 11:40:57 +0200
commit04ebaadb9f2dc66df29db6af14da2912e1e25db7 (patch)
tree9ce5717e70cc026803b60c0c5faa934b4bcb460f /drivers/gpu/drm/i915/i915_drv.h
parentffc85daba535d60d28f5c8ffb3ddf78e244e1948 (diff)
downloadlwn-04ebaadb9f2dc66df29db6af14da2912e1e25db7.tar.gz
lwn-04ebaadb9f2dc66df29db6af14da2912e1e25db7.zip
drm/i915/opregion: handle VBT sizes bigger than 6 KB
The RVDA and RVDS (raw VBT data address and size) fields of the ASLE mailbox may specify an alternate location for VBT instead of mailbox #4. Use the alternate location if available and valid, falling back to mailbox #4 otherwise. v2: Update debug logging (Ville) Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Tested-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1450178280-28020-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 18be127f5678..b9739d10e9b4 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -458,6 +458,7 @@ struct intel_opregion {
u32 swsci_gbda_sub_functions;
u32 swsci_sbcb_sub_functions;
struct opregion_asle *asle;
+ void *rvda;
const void *vbt;
u32 vbt_size;
u32 *lid_state;