]> git.baikalelectronics.ru Git - 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)
commit823d1d5e6f28a2988cff18dabe2d5e80b741a437
tree9ce5717e70cc026803b60c0c5faa934b4bcb460f
parent56232ae4d5387b8b8a151356980187c07adaea62
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