drm: Separate EDID Header Check from EDID Block Check
authorThomas Reim <reimth@gmail.com>
Fri, 29 Jul 2011 14:28:57 +0000 (14:28 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Aug 2011 13:39:35 +0000 (14:39 +0100)
commit051963d4832ed61e5ae74f5330b0a94489e101b9
tree4ade8f3af4f6ec99d8f76048707072708f5877e7
parent5037f8acf448dd0de9868dc7410f45879d3d1a1b
drm: Separate EDID Header Check from EDID Block Check

    Provides function drm_edid_header_is_valid() for EDID header check
    and replaces EDID header check part of function drm_edid_block_valid()
    by a call of drm_edid_header_is_valid().
    This is a prerequisite to extend DDC probing, e. g. in function
    radeon_ddc_probe() for Radeon devices, by a central EDID header check.

    Tested for kernel 2.6.35, 2.6.38 and 3.0

Cc: <stable@kernel.org>
Signed-off-by: Thomas Reim <reimth@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Acked-by: Stephen Michaels <Stephen.Micheals@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h