• Christoph Niedermaier's avatar
    Docs/EDID: Fixed erroneous bits of XOFFSET, XPULSE, YOFFSET and YPULSE · d2f112a5
    Christoph Niedermaier authored
    The problem was found when EDID data sets for displays other
    than the provided samples were generated. The patch has
    no effect on the provided samples that still match the data
    used in drivers/gpu/drm/drm_edid_load.c.
    
    The provided samples use small values for XOFFSET, XPULSE,
    YOFFSET and YPULSE, where the error doesn't occur. This fix
    corrects the use of that values in case of high values, because
    the most significant bits were treated incorrectly.
    
    So in edid.S msbs4 should use bit 8 and 9 of XOFFSET and XPULS.
    For YOFFSET and YPULSE msbs4 should use bit 4 and 5.
    
    lsbs2 was introduced for a better overview, without
    functional change.
    
    Removing also the useless value 63 of all files, because
    it is added in the *.S description files and then it is
    subtracted in edid.S.
    Signed-off-by: default avatarChristoph Niedermaier <cniedermaier@dh-electronics.de>
    Reviewed-by: default avatarCarsten Emde <C.Emde@osadl.org>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    d2f112a5
800x600.S 1.12 KB