]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Allow driver to specify the line length
authorSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 22:08:52 +0000 (15:08 -0700)
committerAnatolij Gustschin <agust@denx.de>
Mon, 3 Dec 2018 18:09:44 +0000 (19:09 +0100)
commit06696ebe674de7f65d4f5046a8639b358c6b358c
tree50631d977226b27f04dfeb9dbf777afd03d8e0ea
parent8f5bfb7615e82ffccebf79530b08034f81e56268
video: Allow driver to specify the line length

At present line_length is always calculated in video_post_probe(). But
some hardware may use a different line length, e.g. with a 1366-wide
display.

Allow the driver to set this value if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/pci/pci_rom.c
drivers/video/video-uclass.c
include/video.h