e_hwc: create tbm_surface_queue if fake config of output is set
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 22 Jul 2019 06:11:27 +0000 (15:11 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 24 Jul 2019 12:27:26 +0000 (21:27 +0900)
Change-Id: Ieae15419e6bcdc70cb9f32088dd27359e6a373a1

src/bin/e_hwc.c

index 54c370b4f5a7911fef3cf79597082d78efc381fc..6b37502540b83c45c543a88e6b7493667a602893 100644 (file)
@@ -111,7 +111,7 @@ _e_hwc_tbm_surface_queue_alloc(void *data, int w, int h)
 
    e_output_size_get(output, &scr_w, &scr_h);
 
-   if (output->tdm_hwc)
+   if ((output->tdm_hwc) && (!output->fake_config))
      {
         tqueue = tdm_hwc_get_client_target_buffer_queue(hwc->thwc, &error);
         if (error != TDM_ERROR_NONE)