bdk: display: update active regs on vsync for WinD

Doing that on hsync can cause issues on disable without actually syncing to it.
This commit is contained in:
CTCaer 2024-04-25 04:38:04 +03:00
parent 35ea35f6ad
commit a6727f6e32

View file

@ -914,6 +914,9 @@ u32 *display_init_framebuffer_log()
void display_activate_console()
{
// Only update active registers on vsync.
DISPLAY_A(_DIREG(DC_CMD_REG_ACT_CONTROL)) = DISPLAY_A(_DIREG(DC_CMD_REG_ACT_CONTROL)) & ~WIN_D_ACT_HCNTR_SEL;
// Select window D.
DISPLAY_A(_DIREG(DC_CMD_DISPLAY_WINDOW_HEADER)) = WINDOW_D_SELECT;