]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "video: display: refactor display_read_timing to avoid code duplic...
authorTom Rini <trini@konsulko.com>
Tue, 30 Dec 2025 16:18:39 +0000 (10:18 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 30 Dec 2025 17:23:00 +0000 (11:23 -0600)
Julien Stephan <jstephan@baylibre.com> says:

Commit 2dcf143398ad ("dm: video: Repurpose the 'displayport' uclass to 'display'")
left the display_read_edid() function unused by mistake.

This series addresses that oversight and introduces a new useful cmd.

Patch 1:
 - Refactors display_read_timing() to use the existing
   display_read_edid() function, eliminating redundant code.
 - Marks display_read_edid() as static since it is not used outside of
   the file.

Patch 2:
 - Adds a new read_edid command, which can be very useful for debugging
   or developing new display drivers.
 - As this command uses display_read_edid(), the function is made
   non-static again.

Link: https://lore.kernel.org/r/20250630-read_edid_cleanup-v1-0-ec7d425472c7@baylibre.com
1  2 
cmd/Kconfig
cmd/Makefile

diff --cc cmd/Kconfig
Simple merge
diff --cc cmd/Makefile
Simple merge