]> git.baikalelectronics.ru Git - kernel.git/commit
Docs/EDID: Fixed erroneous bits of XOFFSET, XPULSE, YOFFSET and YPULSE
authorChristoph Niedermaier <cniedermaier@dh-electronics.de>
Mon, 5 Nov 2018 08:48:34 +0000 (09:48 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 6 Nov 2018 14:36:18 +0000 (07:36 -0700)
commit3c20318205c94653cdca47c691d4bcfa02b90877
tree3df1cfe1b211827eb77446a0f9b7e9673b26c554
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
Docs/EDID: Fixed erroneous bits of XOFFSET, XPULSE, YOFFSET and YPULSE

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: Christoph Niedermaier <cniedermaier@dh-electronics.de>
Reviewed-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/EDID/1024x768.S
Documentation/EDID/1280x1024.S
Documentation/EDID/1600x1200.S
Documentation/EDID/1680x1050.S
Documentation/EDID/1920x1080.S
Documentation/EDID/800x600.S
Documentation/EDID/HOWTO.txt
Documentation/EDID/edid.S