ecore_drm : set the output mode without fb 30/63330/2 accepted/tizen/ivi/20160324.011828 accepted/tizen/mobile/20160324.011641 accepted/tizen/tv/20160324.011722 accepted/tizen/wearable/20160324.011748 submit/tizen/20160323.123653 submit/tizen/20160323.130249 submit/tizen/20160323.180254
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 23 Mar 2016 08:04:39 +0000 (17:04 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 23 Mar 2016 12:29:46 +0000 (05:29 -0700)
Change-Id: Icad38375de9680a990bffd25776c06e3079b7ba8

src/lib/ecore_drm/ecore_drm_display.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index a83eb0a..0cc7fa3
@@ -940,12 +940,18 @@ _ecore_drm_display_output_mode_set(Ecore_Drm_Output *output, Ecore_Drm_Output_Mo
 {
    Ecore_Drm_Device *dev;
    Ecore_Drm_Fb *fb = NULL;
+   Ecore_Drm_Hal_Output *hal_output;
 
    EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(output->dev, EINA_FALSE);
 
    dev = output->dev;
 
+   hal_output = output->hal_output;
+   EINA_SAFETY_ON_NULL_RETURN_VAL(hal_output->output, EINA_FALSE);
+
+   tdm_output_set_mode(hal_output->output, mode->hal_mode);
+
    if (dev->current) fb = dev->current;
    else if (dev->next) fb = dev->next;
    EINA_SAFETY_ON_NULL_RETURN_VAL(fb, EINA_FALSE);