]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/opregion: handle VBT sizes bigger than 6 KB
authorJani Nikula <jani.nikula@intel.com>
Tue, 15 Dec 2015 11:18:00 +0000 (13:18 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 17 Dec 2015 09:40:57 +0000 (11:40 +0200)
commit04ebaadb9f2dc66df29db6af14da2912e1e25db7
tree9ce5717e70cc026803b60c0c5faa934b4bcb460f
parentffc85daba535d60d28f5c8ffb3ddf78e244e1948
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
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_opregion.c