]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Fill video handoff in video post probe
authorDevarsh Thakkar <devarsht@ti.com>
Tue, 5 Dec 2023 15:55:21 +0000 (21:25 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2024 19:49:17 +0000 (14:49 -0500)
commitb30414f089d23942fe36a66a8de8c9c22fad91ba
treec851bf1971f5aa23953491142d083d35c33fd8dd
parenteefe23c12775184b10068fd4f71c42db335ff3e6
video: Fill video handoff in video post probe

Fill video handoff fields in video_post_probe as at this point we have
full framebuffer-related information.

Also fill all the fields available in video hand-off struct as those
were missing earlier and U-boot framework expects them to be filled for
some of the functionalities.

While filling framebuffer size in video hand-off structure use the
actual framebuffer region size as derived from gd->video_top and
gd->video_bottom instead of directly using the size populated in
video_uc_plat as it contains unaligned size.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c