diff options
| author | Chris Wilson <[email protected]> | 2013-10-02 10:12:53 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2013-10-09 05:55:28 +0000 |
| commit | 9066f83c055edd0e42b0ecb57a27b308bde64687 (patch) | |
| tree | e4a7403729c8d25d316f8bf047b1a663b6883589 /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | drm: move device unregistration into drm_dev_unregister() (diff) | |
| download | kernel-9066f83c055edd0e42b0ecb57a27b308bde64687.tar.gz kernel-9066f83c055edd0e42b0ecb57a27b308bde64687.zip | |
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 <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions
