nyx: di: Set display id we got from bootloader

This commit is contained in:
CTCaer committed 2020-12-11 17:49:06 +02:00
1 parent 14a048a496
commit ad560b650e
4 files changed
+16 -1

No files matched your search

+3
View File
@@ -366,6 +366,9 @@ void nyx_init_load_res()
// Clear info magic.
nyx_str->info.magic = 0;
// Set display id from previous initialization.
display_set_decoded_panel_id(nyx_str->info.disp_id);
// Initialize gfx console.
gfx_init_ctxt((u32 *)LOG_FB_ADDRESS, 1280, 656, 656);
gfx_con_init();