Message ID | 20180919185627.206368-1-sean@poorly.run (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-msm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 977401390 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 19 Sep 2018 18:56:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 890DE2B5EA for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 19 Sep 2018 18:56:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B6B52C866; Wed, 19 Sep 2018 18:56:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 226332B5EA for <patchwork-linux-arm-msm@patchwork.kernel.org>; Wed, 19 Sep 2018 18:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731902AbeITAfn (ORCPT <rfc822;patchwork-linux-arm-msm@patchwork.kernel.org>); Wed, 19 Sep 2018 20:35:43 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:34028 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728282AbeITAfn (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Wed, 19 Sep 2018 20:35:43 -0400 Received: by mail-yw1-f68.google.com with SMTP id y134-v6so2722908ywg.1 for <linux-arm-msm@vger.kernel.org>; Wed, 19 Sep 2018 11:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cfvZaxoqebhLTr6xcLWPJ3sZxeFSZstzn3uvL5F+qqU=; b=JlAyIkJZZTd6Yvl5aP0zrG29Tl66u/uhV9yvoZazCm0ITdeOa1OEPg/LYN/rHADlql AZcqKnLCNOPeaaSC8r2fBCBuHddW023UDrJjLRsDhEzeahaCNr+JRXiJtQ5LdicW894s Ex6CrzTDUFfeahmGOEpczDQ24R4f2ymIt3CWgEL6cGUAzWm11VeV3Uyql1iEOegDfHiM SH/QXjFdLkG7k9aKI7JzfHEZ9/89fvmK8ZDGZtVu6r6xqkyQGqMkOG+HPKQ6bJgpbqTs uNvWbWevx/f9Z+AR3VkVjaQA7qMH1ojwqhnjrLCceIVyKTnTExa5v4Yzrf46/BLMaLqT VdSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cfvZaxoqebhLTr6xcLWPJ3sZxeFSZstzn3uvL5F+qqU=; b=Y9XnI71xwIcfiW+X0a3OwJkxylak/mGs6ZkUHLghP83gf+MwnYkhyuM5Ab88ATMztS jPcUw1JTLYrZXAjbA4VFeuylmT6DkRF4+51/YCawSQUWltxMWC1h66+SZbAFzOR9zNCU eWV5iPg1tueDwMP3xaif0VINl22fD3exIvuEvvpZ92opVpGffPQZhhinpLiVBVDXjE9C AtmvcAPl0+ZXKBLi7pR+OmjcvrTpp9W12b84krzakZmrZrNhdacaiYclhQ4jsDvtQPdC cWedtYqjFfTapZyw2Nlk8iUJCR4UZfLPUdN+6ckD7woWuItQRIL2TtT4gsycWPgQ7FU4 V4ZQ== X-Gm-Message-State: APzg51B6Ihlr+suP/P/8m7d5Anfqu0zS2JpEtRrPw6HJVZ86sY8HW7OR WaCkBuuOW5fthdHmghtp6d+GIw== X-Google-Smtp-Source: ANB0VdZOHNtxwhROAcpnL/PWTV86jORv0hjtenvtoMTodL/Ij2ciYUn7dgB+5TwQRmOntXQQVgfvSQ== X-Received: by 2002:a0d:f8c7:: with SMTP id i190-v6mr14983773ywf.43.1537383388229; Wed, 19 Sep 2018 11:56:28 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id s63-v6sm3698913ywd.63.2018.09.19.11.56.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 11:56:27 -0700 (PDT) From: Sean Paul <sean@poorly.run> To: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: hoegsberg@chromium.org, abhinavk@codeaurora.org, jsanka@codeaurora.org, Sean Paul <seanpaul@chromium.org> Subject: [PATCH 0/2] drm/msm: dpu: Fix cursor updates Date: Wed, 19 Sep 2018 14:56:21 -0400 Message-Id: <20180919185627.206368-1-sean@poorly.run> X-Mailer: git-send-email 2.19.0.397.gdd90340f6a-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/msm: dpu: Fix cursor updates
|
expand
|
From: Sean Paul <seanpaul@chromium.org> Hey all, So here's the async cursor patchset, it works pretty well on my device (video mode dsi). I do have a couple of concerns that hopefully people might have solutions for. The first patch masks off the flush register to exclude inactive bits. I think it'd be nicer to clear those bits if the plane was being disabled, but it wasn't obvious how I could do this. Any suggestions? The second patch seems a bit more spread out than I would like. I'd rather not propagate the async checks all over, but this seemed like the minimum amount in order to get things working reliably. If you have better suggestions, please speak up. Thanks, Sean Sean Paul (2): drm/msm: dpu: Only check flush register against pending flushes drm/msm: dpu: Make legacy cursor updates asynchronous drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 44 ++++++++++--------- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 21 +++++---- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 6 ++- .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 5 ++- drivers/gpu/drm/msm/msm_atomic.c | 3 +- 7 files changed, 49 insertions(+), 35 deletions(-)