Received: by 10.223.176.5 with SMTP id f5csp3480310wra; Mon, 29 Jan 2018 13:53:50 -0800 (PST) X-Google-Smtp-Source: AH8x224oNBz0T5/p1c/yrf3yN59/N0+8dlNNkX0rsa3sqp3IZISR5ZF/iet/yzZKe6Z1K48Lf6E4 X-Received: by 10.101.68.138 with SMTP id l10mr12569010pgq.150.1517262830429; Mon, 29 Jan 2018 13:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517262830; cv=none; d=google.com; s=arc-20160816; b=VeP3YABRGW4XtfVbdMecP65Fh1q4+9Cl1+/1vbWUJHKck4ZKt7dU2Ir8+IFtZrerBU iLFWCC1hEg9773xBAekT1042P+BHpUQ+mjEaf1h6fvdIoYnahnVaK+uRKusYQCz5o23J sIwcYjpbhYv0dMShoDH2YDrR7eS1exJUI1ArVKFhXetOQa8RKJUI337bX2rrWRvUtp+b raC1GaqF3UHUNF2UlPtk5TmeXL+1aAsx43Zi6SibmdLGicuJCBsaTxx6j8jHXODekxxs xDzmduwaWEc089+OAw/fW4v7ioWXcT7P+o4r7a5RXALd4IVu37WDOhBHJ0xq2j/Sf5cV lvSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=yUcSv9Xz1vJyf2ggl73o4LLDoiBR2BX7+ZHO2QBd/6Q=; b=QL5qXqzQ18IqADqos7vGxZfo6NdTRwOLEuAAfQud3gPWiS+56/MvayNZnth7TQfz60 Xyf7qVA22vOPIR/MX366Br6tVTL4WaMGB9GBfWaGWB5w2AZwzvRhkNJ3K/f7veRI8l+o GF+7k4fr9x16wFJKOlPmAwoAXCdtYcqOF+BWnu07a+pGbpXVYl3vkZ/P7SJlxa9e4Uuo 70jNg3qnlqbjRn7+po98P1IfPGUjqHt5/VyPmQiZLgq0QWVS4pTV+KCz0XgArcpENQyG drvItYLjsunOoDMuffTnUtJtwXE5WIPJ3/++lLm8V7ktwcWAtbxHExxkbJgVVnZiPBA7 YqoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SwhtS6Z6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si8034411pgo.128.2018.01.29.13.53.35; Mon, 29 Jan 2018 13:53:50 -0800 (PST) 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; dkim=pass header.i=@chromium.org header.s=google header.b=SwhtS6Z6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752174AbeA2Vvp (ORCPT + 99 others); Mon, 29 Jan 2018 16:51:45 -0500 Received: from mail-yw0-f195.google.com ([209.85.161.195]:36584 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436AbeA2Vvm (ORCPT ); Mon, 29 Jan 2018 16:51:42 -0500 Received: by mail-yw0-f195.google.com with SMTP id q6so3277152ywg.3 for ; Mon, 29 Jan 2018 13:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=yUcSv9Xz1vJyf2ggl73o4LLDoiBR2BX7+ZHO2QBd/6Q=; b=SwhtS6Z6jPvs0v3uSJ6x0/ynmUAGplZNJ42dUb/xOXeOp1Yk9mnNxkv6bgjNDcUaIZ g5ZgIyJQX5JiEvMy5sGsitCO1NOmigbbOOPB2GV6vu9EBT4S4BlrjaKc9ZIHTAJCKv/N CqJW6LX5eDyra2dVJQDzmIt9YozpJN1bUHHxc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=yUcSv9Xz1vJyf2ggl73o4LLDoiBR2BX7+ZHO2QBd/6Q=; b=kG34bBX2Z22pAHEmKJGSaEO37EBjEi/wHR6KAlsRsa9VNM5kH5Ki/pmB7e2077Ww8n xhdABaVIiW+YYBHWe1HLji9kIl+ODlPKPOrSipsaKzgkf/3fSd8PcPHxUPppQ416zwOt TrM7RWfVLL9cGvDfNyBDgjnZvC/9j6SwxsGCXaEb3DgznYwZsfE338IcVteWbG5NJLRX kIIirfOuQ9pQL3gaDlVo7IBH5Tl4EIO44/uciksJnvfCKNMEcEK1bX2UuEqIzTvh2YBq 1JQVy3lZJNbfZGJ9ppnik0qrNfo/U70Ko5oFzsYwp1LsYDVl7DUwAiaCbHeE29E8fxaW mIsw== X-Gm-Message-State: AKwxytchHrJ+bKg/peWNOfp2g++cw39sIG9CepBvGUgV3x7NLbHoP2zB Gg82E3aWjaYW7nz6W4zZnVhUtg== X-Received: by 10.129.108.2 with SMTP id h2mr18527415ywc.445.1517262702203; Mon, 29 Jan 2018 13:51:42 -0800 (PST) Received: from localhost ([2620:0:1013:11:d3af:69ac:1964:28e8]) by smtp.gmail.com with ESMTPSA id p128sm4751457ywb.65.2018.01.29.13.51.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 13:51:41 -0800 (PST) Date: Mon, 29 Jan 2018 16:51:40 -0500 From: Sean Paul To: Thierry Escande Cc: Archit Taneja , Inki Dae , Thierry Reding , Sandy Huang , Sean Paul , David Airlie , Tomasz Figa , Haixia Shi , =?iso-8859-1?Q?=D8rjan?= Eide , Zain Wang , Yakir Yang , Lin Huang , Douglas Anderson , Mark Yao , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 00/43] DRM Rockchip rk3399 (Kevin) Message-ID: <20180129215140.nohbrvvfetk65ult@art_vandelay> References: <20180126131710.7622-1-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180126131710.7622-1-thierry.escande@collabora.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 26, 2018 at 02:16:27PM +0100, Thierry Escande wrote: > Hi, > > This patchset includes cleanups, improvements, and bug fixes for > Rockchip DRM driver and PSR support. > > this patchset depends and needs to be applied on top of Rockchip rk3399 > eDP support [1]. > > [1] https://lkml.org/lkml/2018/1/10/682 > > Regards, > Thierry Thanks for reviving this set, Thierry. I've made a few comments below, of varying degrees of severity. I think the only showstopper is the input event patch. Other than that, feel free to fix up and add my R-b to the rest. Sean > > Changes in v2: > - A few patches have been replaced by newer and cleaner versions from > the ChromeOS kernel gerrit, especially about disallowing PSR for the > whole atomic commit. > > Douglas Anderson (4): > drm/bridge: analogix_dp: Reorder plat_data->power_off to happen sooner > drm/bridge: analogix_dp: Properly log AUX CH errors > drm/bridge: analogix_dp: Properly disable aux chan retries on rockchip > drm/bridge: analogix_dp: Split the platform-specific poweron in two > parts > > Haixia Shi (1): > drm/rockchip: support prime import sg table > > Kristian H. Kristensen (1): > drm/rockchip: Disable PSR on input events > > Lin Huang (6): > drm/bridge: analogix_dp: Move enable video into config_video() > drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer > drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the > panel > drm/bridge: analogix_dp: Extend hpd check time to 100ms > drm/bridge: analogix_dp: Check dpcd write/read status > drm/bridge: analogix_dp: Reset aux channel if an error occurred > > Mark Yao (1): > drm/rockchip: pre dither down when output bpc is 8bit > > Sean Paul (3): > drm/rockchip: Don't use atomic constructs for psr > drm/rockchip: Remove analogix psr worker > drm/panel: simple: Change mode for Sharp lq123p1jx31 > > Tomasz Figa (8): > drm/rockchip: Get rid of some unnecessary code > drm/rockchip: analogix_dp: Do not call Analogix code before bind > drm/rockchip: Cancel PSR enable work before changing the state > drm/rockchip: psr: Avoid redundant calls to .set() callback > drm/rockchip: psr: Sanitize semantics of allow/disallow API > drm/rockchip: Disable PSR from reboot notifier > drm/rockchip: Disallow PSR for the whole atomic commit > drm/rockchip: psr: Remove flush by CRTC > > Yakir Yang (1): > drm/bridge: analogix_dp: detect Sink PSR state after configuring the > PSR > > zain wang (17): > drm/bridge: analogix_dp: set psr activate/deactivate when > enable/disable bridge > drm/bridge: analogix_dp: Don't power bridge in analogix_dp_bind > drm/bridge: analogix_dp: Don't change psr while bridge is disabled > drm/rockchip: add mutex vop lock > drm/bridge: analogix_dp: add fast link train for eDP > drm/rockchip: Only wait for panel ACK on PSR entry > drm/bridge: analogix_dp: Don't use fast link training when panel just > powered up > drm/bridge: analogix_dp: Retry bridge enable when it failed > drm/bridge: analogix_dp: Wait for HPD signal before configuring link > drm/bridge: analogix_dp: Set PD_INC_BG first when powering up edp phy > drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode > drm/bridge: analogix_dp: Fix AUX_PD bit for Rockchip > drm/rockchip: Restore psr->state when enable/disable psr failed > drm/bridge: analogix_dp: Don't use ANALOGIX_DP_PLL_CTL to control pll > drm/bridge: analogix_dp: Fix timeout of video streamclk config > drm/bridge: analogix_dp: Fix incorrect operations with register > ANALOGIX_DP_FUNC_EN_1 > drm/bridge: analogix_dp: Move fast link training detect to set_bridge > > ?rjan Eide (1): > drm/rockchip: Respect page offset for PRIME mmap calls > > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 469 +++++++++++++++------ > drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 14 +- > drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 274 +++++++----- > drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h | 7 + > drivers/gpu/drm/exynos/exynos_dp.c | 2 +- > drivers/gpu/drm/panel/panel-simple.c | 7 +- > drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 73 ++-- > drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 3 +- > drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 +- > drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 61 ++- > drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 125 +++++- > drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 5 +- > drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 361 +++++++++++----- > drivers/gpu/drm/rockchip/rockchip_drm_psr.h | 7 +- > drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 52 ++- > drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + > drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + > include/drm/bridge/analogix_dp.h | 5 +- > 18 files changed, 1042 insertions(+), 428 deletions(-) > > -- > 2.14.1 > -- Sean Paul, Software Engineer, Google / Chromium OS