From b149f46dcd111e05073b94c7546f2ea8e3c84651 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 13 May 2016 16:53:15 +0900 Subject: [PATCH] e_comp_hwc: remove the dpms check at output_commit The dpms check is done inside tdm. Change-Id: I5b304b12e239bb04865546ad01c5d6632fe06bd0 --- src/bin/e_comp_hwc.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/bin/e_comp_hwc.c b/src/bin/e_comp_hwc.c index 5125cf3..e089c11 100755 --- a/src/bin/e_comp_hwc.c +++ b/src/bin/e_comp_hwc.c @@ -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; -- 2.7.4