Revert "dpms: adapt silent boot" 74/232374/1 accepted/tizen/unified/20200506.100239 submit/tizen/20200503.233636
authorGwanglim Lee <gl77.lee@samsung.com>
Sun, 3 May 2020 23:29:50 +0000 (08:29 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Sun, 3 May 2020 23:30:04 +0000 (08:30 +0900)
This reverts commit 6e1b55aaa0b135d3487c41b902948e60da449027.

Change-Id: I0b8672243977c13289c26f6f003821174d3838b1

src/bin/e_comp_screen.c
src/bin/e_output.c
src/bin/e_plane.c

index d2f741f38891d93267dd11c3a54fb08166c0d88d..f7cd6dc0b35af2cdf1538ec4a84be220a1dad291 100644 (file)
@@ -1,7 +1,6 @@
 #include "e.h"
 #include "Eeze.h"
 #include <tizen-extension-server-protocol.h>
-#include <device/booting-internal.h>
 
 #define PATH "/org/enlightenment/wm"
 #define IFACE "org.enlightenment.wm.screen_rotation"
@@ -773,17 +772,12 @@ _e_comp_screen_init_outputs(E_Comp_Screen *e_comp_screen)
         e_main_ts_end("\tE_Output Mode Apply Done");
 
         e_main_ts_begin("\tE_Output Set DPMS ON");
-        if (device_get_reboot_mode() != SILENT_BOOT)
+        if (!e_output_dpms_set(output, E_OUTPUT_DPMS_ON))
           {
-             if (!e_output_dpms_set(output, E_OUTPUT_DPMS_ON))
-               {
-                  e_main_ts_end("\tE_Output Set DPMS ON Failed");
-                  ERR("fail to e_output_dpms.");
-                  goto fail;
-               }
+             e_main_ts_end("\tE_Output Set DPMS ON Failed");
+             ERR("fail to e_output_dpms.");
+             goto fail;
           }
-        else
-          INF("silent reboot. do not set dpms");
         e_main_ts_end("\tE_Output Set DPMS ON Done");
 
         e_main_ts_begin("\tE_Output Hwc Setup");
@@ -1680,4 +1674,4 @@ e_comp_screen_debug_info_get(Eldbus_Message_Iter *iter)
    "=============================================================");
 
    eldbus_message_iter_container_close(iter, line_array);
-}
+}
\ No newline at end of file
index dab12cb1ce9e19056bee2094ee3891bbc4c20e3d..6d91602ed134974a934412dc9568872d09de5531 100644 (file)
@@ -1,5 +1,4 @@
 #include "e.h"
-#include <device/booting-internal.h>
 
 #define EOERR(f, output, x...)                                   \
    do                                                            \
@@ -795,18 +794,11 @@ _e_output_primary_update(E_Output *output)
 
         output->fake_config = EINA_FALSE;
 
-        if (device_get_reboot_mode() != SILENT_BOOT)
-          {
-             ret = e_output_dpms_set(output, E_OUTPUT_DPMS_ON);
-             if (ret == EINA_FALSE)
-               {
-                  EOERR("fail to e_output_dpms.", output);
-                  return;
-               }
-          }
-        else
+        ret = e_output_dpms_set(output, E_OUTPUT_DPMS_ON);
+        if (ret == EINA_FALSE)
           {
-             EOINF("silent boot. do not set dpms", output);
+             EOERR("fail to e_output_dpms.", output);
+             return;
           }
 
         e_output_size_get(output, &w, &h);
index 54d2bf9e63c3385acfe55eb10beed816540efdad..3dbdaca56f7678778f9384847e9a400f8b9f319e 100644 (file)
@@ -1,5 +1,4 @@
 #include "e.h"
-#include <device/booting-internal.h>
 
 # include <tdm.h>
 # include <tdm_helper.h>
@@ -586,13 +585,8 @@ _e_plane_surface_from_ecore_evas_acquire(E_Plane *plane)
           }
 
         /* dpms on at the first */
-        if (device_get_reboot_mode() != SILENT_BOOT)
-          {
-             if (!e_output_dpms_set(output, E_OUTPUT_DPMS_ON))
-               WRN("fail to set the dpms on.");
-          }
-        else
-          INF("silent boot. do not set dpms.");
+        if (!e_output_dpms_set(output, E_OUTPUT_DPMS_ON))
+          WRN("fail to set the dpms on.");
      }
 
    /* aquire */