Commit graph

5 commits

Author SHA1 Message Date
Lwazi Dube
bd2081aeec video/videomode: Fix EDID parsing and formatting of video mode dumps
Fixes several bugs in EDID parsing and consolidates syslog output in
videomode_dump to prevent broken lines.

Specific changes include:
  - Corrected bitwise masking for _HACT_HI (0xf0) and _HBLK_HI (0x0f)
    to properly extract the upper bits of horizontal active and blanking
    timings.
  - Multiplied raw EDID pixel clock by 10 to convert it into kHz, matching
    the expectation of the videomode struct dotclock field.
  - Combined fragmented syslog calls in videomode_dump into a single line
    to prevent unwanted newlines from splitting the output across multiple logs.

Signed-off-by: Lwazi Dube <lwazeh@gmail.com>
2026-08-29 11:09:11 -03:00
Alin Jerpelea
9369b42a65 video: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-09-11 19:49:53 +08:00
Alin Jerpelea
734c04f3af video: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-18 11:26:21 -08:00
Alin Jerpelea
e6b47ea948 video: videomode: nxstyle cleanup
various nxstyle fixed to avoid the CI warnings

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-22 14:07:04 -06:00
Gregory Nutt
77c7454773 viedo/videomode: Rename video/edid to video/videomode. There is more there than just EDID but it is all basically videomode stuff
video/videomode/vesagtf.c:  Bring VESA Generalized Timing Formula (GTF) from FreeBSD.
2019-07-10 16:21:37 -06:00
Renamed from video/edid/videomode_dump.c (Browse further)