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
This commit is contained in:
Derek Foreman 2017-09-05 14:35:07 -05:00
parent cc5eec5cc3
commit c21c282483
1 changed files with 2 additions and 1 deletions

View File

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