summaryrefslogtreecommitdiff
path: root/hwcomposer/hwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwcomposer/hwc.c')
-rw-r--r--hwcomposer/hwc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hwcomposer/hwc.c b/hwcomposer/hwc.c
index dbe3450..8016d36 100644
--- a/hwcomposer/hwc.c
+++ b/hwcomposer/hwc.c
@@ -160,6 +160,11 @@ static void hwc_check_dss_composition(omap_hwc_device_t *hwc_dev, int disp)
hwc_layer_1_t *layer = NULL;
uint32_t i, j;
+#ifdef HWC_USE_DRM_PAGEFLIP_MODE
+ /* DSS composition is supported only for atomic mode API usage */
+ return;
+#endif
+
if (disp || list->numHwLayers == 1 || comp->use_blitter)
return;
@@ -876,6 +881,10 @@ static int hwc_device_open(const hw_module_t* module, const char* name, hw_devic
hwc_dev->upscaled_nv12_limit = 2.;
}
+#ifdef HWC_USE_DRM_PAGEFLIP_MODE
+ ALOGI("Using older drm pageflip API to update display");
+#endif
+
hwc_dev->tiler1d_slot_size = 32*1024*1024; //32MB
/*