• Jani Nikula's avatar
    Revert "drm/i915: Allow parsing of variable size child device entries from VBT" · bf1a5fd2
    Jani Nikula authored
    This reverts
    
    commit 047fe6e6
    Author: David Weinehall <david.weinehall@linux.intel.com>
    Date:   Tue Aug 4 16:55:52 2015 +0300
    
        drm/i915: Allow parsing of variable size child device entries from VBT
    
    That commit is not valid for v4.2, however it will be valid for v4.3. It
    was simply queued too early.
    
    The referenced regressing commit is just fine until the size of struct
    common_child_dev_config changes, and that won't happen until
    v4.3. Indeed, the expected size checks here rely on the increased size
    of the struct, breaking new platforms.
    
    Fixes: 047fe6e6 ("drm/i915: Allow parsing of variable size child device entries from VBT")
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: David Weinehall <david.weinehall@linux.intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
    bf1a5fd2
intel_bios.c 36.9 KB