diff options
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1701,10 +1701,6 @@ static int omap4_hwc_prepare(struct hwc_composer_device *dev, hwc_layer_list_t* decide_supported_cloning(hwc_dev, &num); - /* Disable the forced SGX rendering if there is only one layer */ - if (hwc_dev->force_sgx && num.composited_layers <= 1) - hwc_dev->force_sgx = 0; - /* phase 3 logic */ if (can_dss_render_all(hwc_dev, &num)) { /* All layers can be handled by the DSS -- don't use SGX for composition */ @@ -2545,7 +2541,7 @@ static void *omap4_hwc_hdmi_thread(void *data) if (hwc_dev->idle) { if (hwc_dev->procs && hwc_dev->procs->invalidate) { pthread_mutex_lock(&hwc_dev->lock); - invalidate = !hwc_dev->force_sgx; + invalidate = hwc_dev->last_int_ovls > 1 && !hwc_dev->force_sgx; if (invalidate) { hwc_dev->force_sgx = 2; } |