drm/i915: add VBT address and size fields to ASLE mailbox struct
authorDeepak M <m.deepak@intel.com>
Mon, 30 Nov 2015 22:47:05 +0000 (04:17 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 11 Dec 2015 12:08:38 +0000 (14:08 +0200)
To be used on systems where the VBT does not fit into the normal VBT
mailbox.

v3: rebase

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Deepak M <m.deepak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448923632-16760-3-git-send-email-m.deepak@intel.com
[Jani: updated commit message]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_opregion.c

index e362a30..64efedf 100644 (file)
@@ -120,7 +120,9 @@ struct opregion_asle {
        u64 fdss;
        u32 fdsp;
        u32 stat;
-       u8 rsvd[70];
+       u64 rvda;       /* Physical address of raw vbt data */
+       u32 rvds;       /* Size of raw vbt data */
+       u8 rsvd[58];
 } __packed;
 
 /* Driver readiness indicator */