Received: by 10.192.165.148 with SMTP id m20csp4296326imm; Mon, 23 Apr 2018 23:45:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Udvt4SaQXU2svDB9mP2WxuwaItwKfG9y7Lfnm/2EIgMHeihSMaYKa7cjA/b6LAmJrhFt7 X-Received: by 2002:a17:902:887:: with SMTP id 7-v6mr24293789pll.319.1524552320247; Mon, 23 Apr 2018 23:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524552320; cv=none; d=google.com; s=arc-20160816; b=AbFiwMimLg13HYE/fzGfva+VxFgWZh7D3F9fROcLdsmDJgQHcV3oGLAsWLciJtjqGS DOTxdzoVTKXbbmrB0T94MCHmSK5dA6NO11e7wi9LH6Xf65BY9Hs5wUpeZMD12x+8Ga0Z mB3Uix4t7eKKe4oi1iPMaNVwG2opNRvo+gZhpC2AaJyilnt4mGjrYER/f8XOuWE1b8LK qUvGObbVOp03A7DPfBjHHDbE/MkFT4lxtM3/m4WoVkYvjIl+l2WMKHNlK4Yo3EyjynZH pIT3YPBd7fHosjtHwai3DUgz2/uxbiI5TfTxhze+g/PYt1UYsV0btp4ZTqNcS2/M931C t5kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=ROLqppFhtfBcL8VJl0dt6Hc8auPRsI1enC7uWZoLdRM=; b=B7cFLX5L4PDLkQDRZfrTKfCBsib4R/3CRdN7E2GZnoupJoUyP0ZYzGPVgF9RgZZDam wP3vWix7pDdZkSdxc/k6TeDLXVQyaL/hUY3f/h/wYwYqDg9vpJdhAPH8v/8FolyyzuiP 08Xcpepz+u39dZIOF1xTYQvFbqo4f8ni65sTgPNyKrVSXmehptLXV+YSnO3TQhZ+IdfT rbk5K2T7qaCbftYyIhoLQ8HBfMvpZ7FKV9Xf65+ez1E7+YAlyxzUoSR6lgqqZ9hPYBIb C/t+gHohPnIaXF8rFig9vH914CgyRa/XHDDBD2EqoB3q750aK5mYINZafEP9/0Mwpb+h K4xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=MPtJ+6tX; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16-v6si13355668plq.350.2018.04.23.23.45.05; Mon, 23 Apr 2018 23:45:20 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=MPtJ+6tX; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756232AbeDXGnT (ORCPT + 99 others); Tue, 24 Apr 2018 02:43:19 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35040 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932684AbeDXGnL (ORCPT ); Tue, 24 Apr 2018 02:43:11 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180424064307euoutp02fb1d0d4e0b052d33d4ade214e4db8528~oTCM0BYb52928829288euoutp02f; Tue, 24 Apr 2018 06:43:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180424064307euoutp02fb1d0d4e0b052d33d4ade214e4db8528~oTCM0BYb52928829288euoutp02f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1524552188; bh=ROLqppFhtfBcL8VJl0dt6Hc8auPRsI1enC7uWZoLdRM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=MPtJ+6tX0ilH5cYMPe3PHI2IxDPe/b+kWNxrE1g5UIkJbfdQKN0VbQogkQzYxoysV 3y2Jvrpkw+l2dj/oaIM9X/flADUOpCuLSL3+KE4e/XI9Llx8lhbdPaDWGufG2F+Srl GadoXpp0u639j/9aSSexGSJrjJnTlhxiWJbn4nws= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180424064307eucas1p2223556fab843a9323a221d6bea4ad36c~oTCMGwuYc0612106121eucas1p2k; Tue, 24 Apr 2018 06:43:07 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id C5.F5.10409.AF1DEDA5; Tue, 24 Apr 2018 07:43:06 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180424064305eucas1p2f3a725a420641b5ec2887a75fecb34c0~oTCKxF3NV2176521765eucas1p2J; Tue, 24 Apr 2018 06:43:05 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180424064305eusmtrp11e5ed2d4914d7350271980f590041ffa~oTCKQqynf1318913189eusmtrp1Z; Tue, 24 Apr 2018 06:43:05 +0000 (GMT) X-AuditID: cbfec7f5-f95739c0000028a9-05-5aded1fab635 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 72.5E.04183.9F1DEDA5; Tue, 24 Apr 2018 07:43:05 +0100 (BST) Received: from [106.120.43.17] (unknown [106.120.43.17]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180424064303eusmtip2b8014c9f6502bfa62536647ae555033c~oTCJEmtz52312923129eusmtip2i; Tue, 24 Apr 2018 06:43:03 +0000 (GMT) Subject: Re: [RESEND PATCH v6 00/27] DRM Rockchip rk3399 (Kevin) 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, 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, orjan.eide@arm.com, wxt@rock-chips.com, jeffy.chen@rock-chips.com, linux-arm-kernel@lists.infradead.org, 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 From: Andrzej Hajda Message-ID: Date: Tue, 24 Apr 2018 08:43:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180423105003.9004-1-enric.balletbo@collabora.com> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA02Sb0xTVxjGPfeee3vbrHipbn11g80yIi4BNPPDSdyIS1x2P5ltMZnpB7Gb N4i0wHqtm1twXU3544AhTAcF2ZTKGJZACoIjSmeZdqyptXFS3VbKlA2QdRoBlSE62jszvv3e 53nOed/35HC0Jsyu5vIL94rmQoNRx6pw78W5YOY/oRH9+iN/ppOqS0MUsZXHGBJoPc+Sn2dv s8T1qxeRxzemGHKstoQ86PqJJmU9NyhSG63B5P61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 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-MTR: 20180424064305eucas1p2f3a725a420641b5ec2887a75fecb34c0 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180423105022epcas3p442289343ea272f0722802b4746871fba X-RootMTR: 20180423105022epcas3p442289343ea272f0722802b4746871fba References: <20180423105003.9004-1-enric.balletbo@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.04.2018 12:49, Enric Balletbo i Serra wrote: > Hi Andrzej, > > This is the rebased version of v6 series. This patchset includes cleanups, > improvements, and bug fixes for Rockchip DRM driver and PSR support. > > This version is a RESEND of v6 with few changes. The following two > patches are not included and will be send in a separate patchset for > further discussion. > > - [PATCH v6 24/30] drm/rockchip: Disable PSR on input events > - [PATCH v6 25/30] drm/rockchip: Cancel PSR enable work before changing > the state > > The following patch was remove as is not needed. > > - [PATCH v6 28/30] drm/rockchip: Disable PSR from reboot notifier > > I think that the other patches have the required tags and are ready to > be merged. Queued to drm-misc-next. Regards Andrzej > > Regards, > Enric > > Changes in v6: > - Removed the following patches as are already applied. > [PATCH v5 01/36] drm/bridge: analogix_dp: detect Sink PSR state after > configuring the PSR > [PATCH v5 02/36] drm/rockchip: Remove analogix psr worker > [PATCH v5 03/36] drm/bridge: analogix_dp: Don't change psr while > bridge is disabled > - Explain in the commit message why we need to increase > the delay in the timeout loop in > [PATCH v5 07/36] drm/bridge: analogix_dp: Move enable video into > config_video() > - Add Reviewed-by: Archit Taneja for the > drm/bridge parts > - Add Reviewed-by: Heiko Stuebner for > [PATCH v5 19/36] drm/rockchip: Restore psr->state when enable/disable > psr failed > > Changes in v5: > - Removed the following patches as are already applied. > [PATCH v4 01/38] drm/bridge: analogix_dp: set psr activate/deactivate > when enable/disable bridge > [PATCH v4 02/38] drm/rockchip: Don't use atomic constructs for psr > - Add Mareks tested-tag and including the missing people. > - [PATCH v4 15/38] move analogix_dp_set_analog_power_down() before > phy_power_off() to fix Exynos issue. > > Changes in v4: > - Rebased all on top of drm-misc-next > - Removed the following patches as are already applied. > [PATCH v3 01/43] drm/rockchip: Get rid of unnecessary struct fields > [PATCH v3 02/43] drm/rockchip: support prime import sg table > [PATCH v3 03/43] drm/rockchip: Respect page offset for PRIME mmap > calls > - Removed the following patches as now are part of another patchset > [PATCH v3 05/43] drm/bridge: analogix_dp: Don't power bridge in > analogix_dp_bind > [PATCH v3 33/43] drm/panel: simple: Change mode for Sharp lq123p1jx31 > > Changes in v3: > - Addressed some of the comments from Sean on the v2 > > 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 > > 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 > > Tomasz Figa (5): > drm/rockchip: analogix_dp: Do not call Analogix code before bind > drm/rockchip: psr: Avoid redundant calls to .set() callback > drm/rockchip: psr: Sanitize semantics of allow/inhibit API > drm/rockchip: Disallow PSR for the whole atomic commit > drm/rockchip: psr: Remove flush by CRTC > > zain wang (11): > 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 > > .../drm/bridge/analogix/analogix_dp_core.c | 331 +++++++++++++----- > .../drm/bridge/analogix/analogix_dp_core.h | 5 +- > .../gpu/drm/bridge/analogix/analogix_dp_reg.c | 236 +++++++------ > .../gpu/drm/bridge/analogix/analogix_dp_reg.h | 7 + > drivers/gpu/drm/exynos/exynos_dp.c | 2 +- > .../gpu/drm/rockchip/analogix_dp-rockchip.c | 37 +- > drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + > drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 61 +++- > drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 158 ++++----- > drivers/gpu/drm/rockchip/rockchip_drm_psr.h | 7 +- > drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 13 +- > drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + > drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + > include/drm/bridge/analogix_dp.h | 3 +- > 14 files changed, 559 insertions(+), 304 deletions(-) >