e_comp_hwc: remove the dpms check at output_commit 42/69442/2
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 13 May 2016 07:53:15 +0000 (16:53 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 13 May 2016 08:46:07 +0000 (01:46 -0700)
The dpms check is done inside tdm.

Change-Id: I5b304b12e239bb04865546ad01c5d6632fe06bd0

src/bin/e_comp_hwc.c

index 5125cf3..e089c11 100755 (executable)
@@ -19,7 +19,6 @@
 #define HWC_DLOG(fmt, args...) LOGE("[HWC]" fmt, ##args)
 #endif
 
-# define HWC_DRM_MODE_DPMS_OFF 3
 # ifndef CLEAR
 # define CLEAR(x) memset(&(x), 0, sizeof (x))
 # endif
@@ -1019,26 +1018,11 @@ _e_comp_hwc_output_commit(E_Comp_Hwc_Output *hwc_output, E_Comp_Hwc_Layer *hwc_l
    tdm_layer *tlayer = hwc_layer->tlayer;
    E_Comp_Hwc_Renderer *hwc_renderer = hwc_layer->hwc_renderer;
    E_Comp_Hwc_Commit_Data *data = NULL;
-   tdm_output_dpms dpms_value;
 
 #if HWC_DUMP
    char fname[1024] = {0, };
 #endif
 
-   error = tdm_output_get_dpms(toutput, &dpms_value);
-   if (error != TDM_ERROR_NONE)
-     {
-        ERR("fail to get tdm_output_dpms value");
-        return EINA_FALSE;
-     }
-
-   /* check if the output is off */
-   if (dpms_value != TDM_OUTPUT_DPMS_ON)
-     {
-        WRN("DPMS IS NOT ON");
-        return EINA_FALSE;
-     }
-
    data = _e_comp_hwc_commit_data_create();
    if (!data) return EINA_FALSE;
    data->hwc_layer = hwc_layer;