Received: by 10.192.165.156 with SMTP id m28csp1026439imm; Mon, 16 Apr 2018 12:45:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Ti3NhX7YeCyU1ZRURtZU0Se2Sgpa0RiGVHF1a5qUE4tzrFvwC35hvmFylvK/mO8mw762y X-Received: by 10.101.89.6 with SMTP id f6mr13763205pgu.178.1523907921901; Mon, 16 Apr 2018 12:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523907921; cv=none; d=google.com; s=arc-20160816; b=bo3R757VZKzx0R/reTJPqjSv6RU3vxJzWzSlReSSzu1TxDNZDBrh2IgOPbynxAxMwb PmnmDX6I8kIOoCwb2TJCw9YV+uc30yvMkenps+C5iBP7t1Azoy0CFXdhzwBvizu+Acug fsBnqDUh7Xup1C/jfjd5auYHJ5zOTcnfwSdTlIhYJUBxsChthEAkssK1vYHLjG4Qc17H QFHePuoOyGWz5IqtJ5L7fYJpO6uD/BkNZ6sIMO9jCwzPgBxFcQ5nmUTcLfQTmru2t4xi TUWUrLdKQKvk+E9EHKMPOFLGqeOVe61ZHYfT8mtWyisZ8vkAaXUGtUL7y49+U0AlBhP0 QxHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=7IPxYo1A1FRycZ/z6PL5ggeUVQMg+PMJGVNAvn6lRb4=; b=tvq5afLtJMvVFcwssgeBvS+sKfevg7hGo7iJ0mTTZHBhfp6eamzmNgJpVEbjGD/6pl nJ1mAChYPtGPN3cgGJ7sIdUs/utehCIYmHMBfEMvCLWYFkeIAoFk7gHoN2FkrYjJroPh xcfM99NfD2oWGj6cCq+8QBiCKtk9IJVlhV4thwQHIrEDecQNd07BExldmqSnk1LIBkBj 4NZgJRwgzPE69Z16+0CWVAzEjVuAIfCuEGzy/bM9o4RQtVbDgTFxgjS8GpevoTfeF5YO a2fWJ690TunVUkZ6W6itV2JGZ1QhqtNvHPHXoy25OZat76Qz02n8bTNhDPyX47ePGmGj bI6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si7905044pgf.521.2018.04.16.12.45.07; Mon, 16 Apr 2018 12:45:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753493AbeDPTns (ORCPT + 99 others); Mon, 16 Apr 2018 15:43:48 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44442 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbeDPTnq (ORCPT ); Mon, 16 Apr 2018 15:43:46 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id A6A44274DD4 Message-ID: Subject: Re: [PATCH v6 24/30] drm/rockchip: Disable PSR on input events From: Ezequiel Garcia To: Enric Balletbo i Serra , architt@codeaurora.org, inki.dae@samsung.com, thierry.reding@gmail.com, hjc@rock-chips.com, seanpaul@chromium.org, airlied@linux.ie, tfiga@chromium.org, heiko@sntech.de Cc: dri-devel@lists.freedesktop.org, dianders@chromium.org, a.hajda@samsung.com, ykk@rock-chips.com, kernel@collabora.com, m.szyprowski@samsung.com, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, rydberg@bitmath.org, krzk@kernel.org, linux-rockchip@lists.infradead.org, kgene@kernel.org, linux-input@vger.kernel.org, orjan.eide@arm.com, wxt@rock-chips.com, jeffy.chen@rock-chips.com, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com, wzz@rock-chips.com, hl@rock-chips.com, jingoohan1@gmail.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com, Laurent.pinchart@ideasonboard.com, kuankuan.y@gmail.com, hshi@chromium.org, "Kristian H. Kristensen" Date: Mon, 16 Apr 2018 16:42:29 -0300 In-Reply-To: <20180405095000.9756-25-enric.balletbo@collabora.com> References: <20180405095000.9756-1-enric.balletbo@collabora.com> <20180405095000.9756-25-enric.balletbo@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-04-05 at 11:49 +0200, Enric Balletbo i Serra wrote: > From: "Kristian H. Kristensen" > > To improve PSR exit latency, we speculatively start exiting when we > receive input events. Occasionally, this may lead to false positives, > but most of the time we get a head start on coming out of PSR. > Depending > on how userspace takes to produce a new frame in response to the > event, > this can completely hide the exit latency. In case of Chrome OS, we > typically get the input notifier 50ms or more before the dirty_fb > triggered exit. > Why is this rockchip-specific? It sounds more like something we'd want to integrate generically for drivers to leverage. Regards, Eze