]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/drm_edid.c
drm/edid: Try harder to fix up base EDID blocks
authorAdam Jackson <ajax@redhat.com>
Mon, 16 Apr 2012 14:40:08 +0000 (10:40 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Apr 2012 07:24:51 +0000 (08:24 +0100)
commitf89ec8a456dde7f18a13de77b4d79e6b05ca7c84
tree1e1dfc24d6ac62d1c974f4440711b2205e888bba
parent1b23170a8e14ef62ad1daa957aa528212a8d0aef
drm/edid: Try harder to fix up base EDID blocks

Requiring the first byte of the EDID base block header to be 0 means we
don't fix up as many transfer errors as we could.  Instead have the
callers specify whether it's meant to be block 0 or not, and
conditionally run header fixup based on that.

Bugzilla: https://bugzilla.redhat.com/812890
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h