From: Chris Wilson Date: Wed, 2 Oct 2013 10:12:53 +0000 (+0100) Subject: drm: Try loading builtin EDIDs first X-Git-Tag: v3.13-rc1~76^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9066f83c055edd0e42b0ecb57a27b308bde64687;p=pandora-kernel.git drm: Try loading builtin EDIDs first If the firmware is not builtin and userspace is not yet running, we can stall the boot process for a minute whilst the firmware loader times out. This is contrary to expectations of providing a builtin EDID! In the process, we can rearrange the code to make the error handling more resilient and prevent gcc warning about unitialised variables along the error paths. v2: Load builtins first, fix gcc second (Jani) and cosmetics (Ville). v3: Verify that we do not read beyond the end of the fwdata (Ville) Signed-off-by: Chris Wilson Cc: Ville Syrjälä Cc: Jani Nikula Reviewed-by: Jani Nikula Signed-off-by: Dave Airlie --- Reading git-diff-tree failed