]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Skip framebuffer reservation if already reserved
authorDevarsh Thakkar <devarsht@ti.com>
Tue, 5 Dec 2023 15:55:20 +0000 (21:25 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2024 19:49:17 +0000 (14:49 -0500)
commiteefe23c12775184b10068fd4f71c42db335ff3e6
tree7a1428e4758e7cf64d60d079b693b8719618ec05
parent4ef9c77248c95cd2bc63697084ae82f345e5c6e7
video: Skip framebuffer reservation if already reserved

Skip framebufer reservation if it was already reserved from previous
stage and whose information was passed using a bloblist.

Return error in case framebuffer information received from bloblist is
invalid i.e NULL or empty.

While at it, improve the debug message to make it more clear that
address in discussion is of framebuffer and not bloblist and also match
it with printing scheme followed in video_reserve function.

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