Re: [PATCH 0/2] Docs/EDID: Fixed and improved EDID documentation

From: Jonathan Corbet
Date: Tue Nov 06 2018 - 09:35:40 EST


On Mon, 5 Nov 2018 09:48:33 +0100
Christoph Niedermaier <cniedermaier@xxxxxxxxxxxxxxxxx> wrote:

> A problem was found when EDID data sets for displays other
> than the provided samples were generated. The patch series 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.
>
> The previous version made it necessary to first generate an
> EDID data set without correct CRC and then to fix the CRC in
> a second step. This patch series adds the CRC calculation to the
> makefile in such a way that a correct EDID data set is generated
> in a single build step.

This seems reasonable, I guess; I've applied both. It seems to me, though,
that this stuff is in the wrong place. Perhaps we should go one step
further and move it to tools/ ?

Thanks,

jon