Fix video explosion on rpi3 during screen blank

Seems like spamming dpms on when it's already on and we're rendering
is antisocial, so cut that out.

Fix T5977
devs/bu5hm4n/sandbox_fix
Derek Foreman 6 years ago
parent cc5eec5cc3
commit c21c282483
  1. 3
      src/modules/wl_drm/e_mod_main.c

@ -643,7 +643,8 @@ _drm2_dpms(int set)
if (!strcmp(name, s->info.name))
{
if ((!s->config.configured) || s->config.enabled)
ecore_drm2_output_dpms_set(output, set);
if (ecore_drm2_output_dpms_get(output) != set)
ecore_drm2_output_dpms_set(output, set);
}
free(name);

Loading…
Cancel
Save