]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Silence "unexpected child device config size" for VBT on 845g
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Jun 2016 17:08:43 +0000 (18:08 +0100)
committerJani Nikula <jani.nikula@intel.com>
Fri, 10 Jun 2016 07:38:29 +0000 (10:38 +0300)
commitbecc107498622dbbd23d923e87e333242a391b98
tree548fb6acb9742f772ebeba73afe185348d4a6121
parent89ce9cc65a113b61398551edd80988d1fa1f1615
drm/i915: Silence "unexpected child device config size" for VBT on 845g

My old 845g complains that the child_device_size inside its VBT,
version 110, is incorrect. Let's fiddle with the version matching such
that it works with this VBT (i.e. treat BIOS v110 as having the same size
as v108).

Fixes [drm:intel_bios_init] *ERROR* Unexpected child device config
size 27 (expected 33 for VBT version 110)

Whether this is correct, no one knows - but it works for this particular
machine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464800923-6054-1-git-send-email-chris@chris-wilson.co.uk
(cherry picked from commit fa05178c5dc3d1a3ad370f101cad01cf9dd3bbf9)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_bios.c