ELOGF("E_PLANE", "PP Layer Commit Handler Plane(%p)", NULL, NULL, plane);
output = plane->output;
- if (e_output_dpms_get(output))
+ if (e_output_dpms_get(output) == E_OUTPUT_DPMS_OFF)
{
_e_plane_pp_pending_data_remove(plane);
EINA_SAFETY_ON_NULL_RETURN_VAL(data, EINA_FALSE);
output = plane->output;
- if (e_output_dpms_get(output))
+ if (e_output_dpms_get(output) == E_OUTPUT_DPMS_OFF)
{
_e_plane_pp_pending_data_remove(plane);
goto fail;
}
output = plane->output;
- if (e_output_dpms_get(output))
+ if (e_output_dpms_get(output) == E_OUTPUT_DPMS_OFF)
{
_e_plane_pp_pending_data_remove(plane);
tbm_surface_queue_release(plane->pp_tqueue, tsurface_dst);
data->buffer_ref.buffer ? data->buffer_ref.buffer->resource : NULL, data);
output = plane->output;
- if (e_output_dpms_get(output))
+ if (e_output_dpms_get(output) == E_OUTPUT_DPMS_OFF)
{
_e_plane_pp_pending_data_remove(plane);
return EINA_FALSE;