Received: by 10.213.65.68 with SMTP id h4csp1744282imn; Thu, 5 Apr 2018 03:05:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx486ryGwL2G5ASICL4Dxmrw1l28jNPt04ZIsFaQ5fCcTYpZ0Onvzvk9DnIdpDQ2E0MEsglYf X-Received: by 2002:a17:902:5a3:: with SMTP id f32-v6mr8590615plf.287.1522922716014; Thu, 05 Apr 2018 03:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522922715; cv=none; d=google.com; s=arc-20160816; b=rPLL5Y8E3TcOAnGJizh4a+yLhJGTCZp9PpWG7v/78mp4/O2+pcbFWjHpS8fisD46Si 8I2/Z9Ekuv39nmU2JZk9FjHFZuqVZAh7xPB5XkwQmfDZU3k3B9/kxhQkOBmdVEI+qKlC EWsHF1viRPmmplUPXl3cJCnlyaIropnNI6fBTAKm8FyiU0EbbApmkKcb/ewKJnSOWIIq B0UsO4KG+e+WcQ3h4xC4/s0zxi3tpbDPN09tVEDe5UcKEnID8TlmaCdlHKS2MS0Y7Nx8 0Ly4JjM2z8yoHOeI3hmUh1OmLnLrY+SaqLIVEwl6sRKoNw7Iwmlv8h4CbHywLbgX1HGd 3ItA== 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 :message-id:date:subject:cc:to:from:arc-authentication-results; bh=Yn3tvm8mwZf4/pv7KPfL1Bo/Y4iFUpkWMPeBsRQExoc=; b=OvyuQBAZWxoifNYompfxn/mpWBF8WNvkTFyQlqRT1vOw4M8zNIYKyHUfo/+9e8xcTe 9pVjIo+bn9HI7BQ/J8pmxsq42XO0CLZm5oPhhPuwK0XEBDQLcMkFgulGY61K0UH9DZkl +tn32YA2JwOTF0hluBbAFKK7LDDxyGCQfYPSqckG3ZitoyMwY+Wi53Yd0FXhNBXpXvPl 9rZ+DIcD0d0sOxh7YEpD7uyNNFjLTUJzEn8lYjJZaKnITTmO8+WKP6dfOCXbBVD92OQr ZoI9sc3Bw7TlnJBFwgo5L+khCFqrS+9TT3xkbhxbCyYpj/IDqGZgF+oK+if9u+0aIpaf mLHw== 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 q24-v6si5465542pls.3.2018.04.05.03.05.02; Thu, 05 Apr 2018 03:05:15 -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 S1751352AbeDEJuQ (ORCPT + 99 others); Thu, 5 Apr 2018 05:50:16 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60434 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbeDEJuN (ORCPT ); Thu, 5 Apr 2018 05:50:13 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 5E0B1271ABB From: Enric Balletbo i Serra To: 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, Enric Balletbo i Serra Subject: [PATCH v6 00/30] DRM Rockchip rk3399 (Kevin) Date: Thu, 5 Apr 2018 11:49:30 +0200 Message-Id: <20180405095000.9756-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset includes cleanups, improvements, and bug fixes for Rockchip DRM driver and PSR support. This new version is the same as before removing some of the patches already applied and fixing the Exynos issue due patch '[v4 15/38] drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel' reported by Marek. 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 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 Tomasz Figa (7): 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 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 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 331 +++++++++++++++------ drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 5 +- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 236 +++++++++------ drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h | 7 + drivers/gpu/drm/exynos/exynos_dp.c | 2 +- drivers/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 | 309 +++++++++++++------ 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, 710 insertions(+), 304 deletions(-) -- 2.16.3