disable TDM_HWC 70/252270/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 11 Jan 2021 04:54:28 +0000 (13:54 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Tue, 26 Jan 2021 03:38:07 +0000 (12:38 +0900)
The backend disable TDM_HWC due to delay vblank interval issue.
The kernel has to fix this issue. TDM_HWC will be enable after
the kernel fixes the delay of the vblank interval.

Change-Id: I6ee14bc116ae81d3817197e4d5b216963a926b94

src/tdm_nexell.c

index 23c95d3..b1c9b85 100644 (file)
@@ -11,6 +11,7 @@
 #include <tbm_drm_helper.h>
 
 //#define ENABLE_PP
+#define TDM_NEXELL_ENABLE_HWC 0 // disable tdm_hwc
 
 #define TDM_NEXELL_NAME "vigs"
 
@@ -282,7 +283,7 @@ tdm_nexell_init(tdm_display *dpy, tdm_error *error)
        }
 
        /* enable the tdm_hwc */
-       nexell_data->hwc_mode = 1;
+       nexell_data->hwc_mode = TDM_NEXELL_ENABLE_HWC;
 
        LIST_INITHEAD(&nexell_data->output_list);
        LIST_INITHEAD(&nexell_data->buffer_list);