if dpms is off, tdm commit will be failed.
so don't tdm commit and unfetch plane
Change-Id: I0a0abc61db746b933d4dd368238d26ac684e50a7
return EINA_FALSE;
}
- if (output->dpms == E_OUTPUT_DPMS_OFF)
- return EINA_TRUE;
-
/* set planes */
EINA_LIST_REVERSE_FOREACH(output->planes, l, plane)
{
if (e_plane_fetch(plane))
{
+ if (output->dpms == E_OUTPUT_DPMS_OFF)
+ {
+ e_plane_unfetch(plane);
+ continue;
+ }
+
if (!commitable) commitable = EINA_TRUE;
}
}