ecore_drm2: Make sure something's on screen after dpms wake

Flip to the previous buffer on dpms wake to make sure we show something
This commit is contained in:
Derek Foreman 2016-11-16 15:05:40 -06:00
parent 24608d9950
commit 168a127c8c
1 changed files with 3 additions and 0 deletions

View File

@ -1028,6 +1028,9 @@ ecore_drm2_output_dpms_set(Ecore_Drm2_Output *output, int level)
#endif
sym_drmModeConnectorSetProperty(output->fd, output->conn_id,
output->dpms->prop_id, level);
if (level == 0) /* DPMS on */
ecore_drm2_fb_flip(NULL, output);
}
EAPI char *