diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-02 10:12:53 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-09 05:55:28 (GMT) |
commit | 9066f83c055edd0e42b0ecb57a27b308bde64687 (patch) | |
tree | e4a7403729c8d25d316f8bf047b1a663b6883589 /drivers/staging/imx-drm/imx-drm-core.c | |
parent | c3a49737ef7db0bdd4fcf6cf0b7140a883e32b2a (diff) | |
download | linux-fsl-qoriq-9066f83c055edd0e42b0ecb57a27b308bde64687.tar.xz |
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 <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/staging/imx-drm/imx-drm-core.c')
0 files changed, 0 insertions, 0 deletions