[PATCH 09/19] expo: Arrange cedit after setting dimensions

Simon Glass sjg at chromium.org
Mon May 5 17:42:47 CEST 2025


Switch the order of these two calls since dims for each object should be
figured out before moving to arranging things.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 boot/cedit.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/boot/cedit.c b/boot/cedit.c
index b7c2d37e3a2..c560be4d9c4 100644
--- a/boot/cedit.c
+++ b/boot/cedit.c
@@ -140,11 +140,10 @@ int cedit_prepare(struct expo *exp, struct udevice *vid_dev,
 	scn = expo_lookup_scene_id(exp, scene_id);
 	scene_highlight_first(scn);
 
-	cedit_arange(exp, vid_priv, scene_id);
-
 	ret = expo_calc_dims(exp);
 	if (ret)
 		return log_msg_ret("dim", ret);
+	cedit_arange(exp, vid_priv, scene_id);
 
 	*scnp = scn;
 
-- 
2.43.0



More information about the U-Boot mailing list