Received: by 10.223.164.221 with SMTP id h29csp1224276wrb; Wed, 1 Nov 2017 12:34:04 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Tox5pp3XfD6xB2VbvO2Gd8L9inBVRcpZuL7AcFb+TXI+i0Rq99wqhWdKYPuJ0B3uYfnBHh X-Received: by 10.101.80.136 with SMTP id r8mr940180pgp.198.1509564844445; Wed, 01 Nov 2017 12:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509564844; cv=none; d=google.com; s=arc-20160816; b=oDiBMjCMD1bAnnn0QKNnFolg0LWPEhinddL53SO98tc/InHXrQo2hS0X5rY+acDUv6 0wPlhucV/xgz12VnUHz3dS2OGDFsxHsGtqPjy/8Kdbgpy5ZjYJUlfsjsTdUjrbAK7oqX o+nMODziEE4iDYWnKhNvlcp28s0hkM9z4rt60QCJnCr3hPjUTitMvTDwYZatHHVOwOoV nCQ0i6tnNw+75fxUUAUrmZYxvBkH7VJ7f9aSjW6roVGPf0ScaHUB1ih6EHGtK2jI7XRZ S2bxl0h44Ws34mogsp6kfMyNzaiRP0D6QR3xQQAZobigV8G9j9twLr0BDOr8yf0tgNQb v0Rw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=zM45LUFCnCtzaf4lcTEnvhuyVHlWIfu22Eomw+OyG1E=; b=iXpk51zdx61uiWArMObV3RIJr7iItfN9twsdsB9nm0ERzKZWxJDwB7LlVBSAQUYokA 79IDIzEz3U8X3UAzWsIdVJZS4KhJe85adrN0ws1WBDEmsrlTWU33SHd4+MkiM4cZKtX4 hoe6fZr2fcWYjvVuV8Kj7zciFtUWVQ957nGaeOO3MeHNFfohiiRafDxP/pkh0lvlUaDE /hvyJzaXIzdWQAapab7wKU+D5+8z07kXqPnvzti5Z8wn44ztcQB5otr6/xWmzyRryRSl C/1gLqDUCtFRkrlGwTnvd0EOrvawPfAKRpi53+1kry66TIW3ZiUA4EeInYjLVGIfwYMZ izkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=F+XzglCZ; 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 66si1693132pgf.326.2017.11.01.12.33.49; Wed, 01 Nov 2017 12:34:04 -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=@chromium.org header.s=google header.b=F+XzglCZ; 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 S1755009AbdKATdM (ORCPT + 99 others); Wed, 1 Nov 2017 15:33:12 -0400 Received: from mail-yw0-f180.google.com ([209.85.161.180]:51515 "EHLO mail-yw0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbdKATdJ (ORCPT ); Wed, 1 Nov 2017 15:33:09 -0400 Received: by mail-yw0-f180.google.com with SMTP id k3so2770933ywk.8 for ; Wed, 01 Nov 2017 12:33:09 -0700 (PDT) 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:in-reply-to:user-agent; bh=zM45LUFCnCtzaf4lcTEnvhuyVHlWIfu22Eomw+OyG1E=; b=F+XzglCZCI52apLbtcVLvmAkpxayqEAqCPMyD+b35vTBt+PlQgQVhwLCeSB1TjYQp3 ZVIjuGKPoHdwY9M4G+PTSIOjxQoULQAGFfML5xw607sRYrHyHlo3OakvixssG5ZLbcie aS3exYLl1WzuW/L3+iZhqqlrgYnssbbAHEBTw= 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:in-reply-to:user-agent; bh=zM45LUFCnCtzaf4lcTEnvhuyVHlWIfu22Eomw+OyG1E=; b=D2h24HpPK8SsJptGNZ7ZHDK5S5CeXlqYXKzYZ6ivnYJW4+EQhknU62X23ABSvIVs1j IU8BIAPlZ08dJYrUoaS3uUzbKmI3tDYBRcnopQiYgBsqr8c6Pw6cTEZBqsfRCIx5eAqu cZiKJipZHsTZtzVOOqQqtbKPQ7fbX5haeGR4d/JiSBSYD2BYXK2f/bWehjDtUSWwZGNs Tb9F2jy1IKz5f7CIShQ8Ff4cRi8EvKPDwP4INoehSn1grSudmXQEWPfcskU/nghCjETx mYuipRmVQ3BoudrgK769726mSNElyd3ccCFHro6jsqVVwJVn/4ZdiRH9POsjZBWQ8gq/ UfnQ== X-Gm-Message-State: AMCzsaXNDAufEaNGJ4U+2p8TqxuRxnWulk80kFoRdSTyIuzwY/RCFD7k TE4K8Dae6rKW+zUkSb4gy11x7A== X-Received: by 10.13.216.7 with SMTP id a7mr654630ywe.196.1509564788834; Wed, 01 Nov 2017 12:33:08 -0700 (PDT) Received: from localhost ([2620:0:1013:0:f685:3152:9ba1:429a]) by smtp.gmail.com with ESMTPSA id j13sm587129ywa.55.2017.11.01.12.33.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Nov 2017 12:33:08 -0700 (PDT) Date: Wed, 1 Nov 2017 15:33:07 -0400 From: Sean Paul To: JeffyChen Cc: Heiko Stuebner , seanpaul@chromium.org, linux-kernel@vger.kernel.org, briannorris@chromium.org, dianders@chromium.org, tfiga@chromium.org, Andrzej Hajda , Arnd Bergmann , Romain Perier , Russell King , Philipp Zabel , Jonathan Corbet , dri-devel@lists.freedesktop.org, Jingoo Han , David Airlie , Kevin Hilman , Catalin Marinas , Laurent Pinchart , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Seung-Woo Kim , Inki Dae , linux-rockchip@lists.infradead.org, Kyungmin Park , Carlo Caione , Will Deacon , linux-amlogic@lists.infradead.org, Caesar Wang , Matthias Kaehlcke , devicetree@vger.kerne, Kukjin Kim , Tomeu Vizoso , zain wang , Hans Verkuil , Archit Taneja , Joonyoung Shim , linux-arm-kernel@lists.infradead.org, Marek Szyprowski , Daniel Vetter , Mark Yao , linux-renesas-soc@vger.kernel.org, Neil Armstrong , Kieran Bingham , Rob Herring , Jose Abreu , Mark Rutland Subject: Re: [PATCH v6 00/10] rockchip: kevin: Enable edp display Message-ID: <20171101193307.4pnn6u5keo7o5yut@art_vandelay> References: <20171019034812.13768-1-jeffy.chen@rock-chips.com> <2449324.8EdsLz1NaV@phil> <59F7FE17.80405@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59F7FE17.80405@rock-chips.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 31, 2017 at 12:37:43PM +0800, JeffyChen wrote: > Hi Heiko, > > On 10/31/2017 07:01 AM, Heiko Stuebner wrote: > > As I was just looking at the edp dts change in patch1 again, does this > > series also contain a fix for the issue below [0] ? > > > > I'm still seeing this on 4.14-rc6 with the most recent drm tree merged in. > > > i saw that too, it should due to our psr code...i think Zain has solved > these in chromeos kernel, i will ask Zain if he have time to upstream them, > or maybe i'll try to upstream them. You need the patchset where I've refactored the psr locking/workers. I have a version of it based on Heiko's tree at https://cgit.freedesktop.org/~seanpaul/dogwood/log/?h=rk3399-display With this kernel, the backlight comes on, but I don't have anything on the display (which is why I didn't post it). I'll try putting this set on top and see what happens. Sean > > > > Heiko > > > > [0] > > > > [ 27.960120] BUG: scheduling while atomic: kworker/1:1/68/0x00000002 > > [ 27.974429] Modules linked in: rockchipdrm dw_hdmi analogix_dp drm_kms_helper panel_simple crc32_ce drm crct10dif_ce rockchip_saradc pwm_bl pwm_cros_ec rockchip_thermal ip_tables x_tabl > > es ipv6 smsc95xx smsc75xx ax88179_178a asix usbnet phy_rockchip_pcie pcie_rockchip > > [ 28.008769] CPU: 1 PID: 68 Comm: kworker/1:1 Tainted: G W 4.14.0-rc7-03201-g12490811b353 #559 > > [ 28.008774] Hardware name: Google Kevin (DT) > > [ 28.008825] Workqueue: events analogix_dp_psr_work [rockchipdrm] > > [ 28.008828] Call trace: > > [ 28.008838] [] dump_backtrace+0x0/0x378 > > [ 28.008842] [] show_stack+0x14/0x20 > > [ 28.008847] [] dump_stack+0x9c/0xbc > > [ 28.008852] [] __schedule_bug+0x4c/0x70 > > [ 28.008856] [] __schedule+0x558/0x5e8 > > [ 28.008859] [] schedule+0x38/0xa0 > > [ 28.008864] [] schedule_hrtimeout_range_clock+0x84/0xe8 > > [ 28.008867] [] schedule_hrtimeout_range+0x10/0x18 > > [ 28.008870] [] usleep_range+0x64/0x78 > > [ 28.008882] [] analogix_dp_transfer+0x16c/0xa88 [analogix_dp] > > [ 28.008891] [] analogix_dpaux_transfer+0x10/0x18 [analogix_dp] > > [ 28.008950] [] drm_dp_dpcd_access+0x4c/0xf8 [drm_kms_helper] > > [ 28.008994] [] drm_dp_dpcd_write+0x1c/0x28 [drm_kms_helper] > > [ 28.009002] [] analogix_dp_disable_psr+0x60/0xb0 [analogix_dp] > > [ 28.009036] [] analogix_dp_psr_work+0x4c/0xc0 [rockchipdrm] > > [ 28.009040] [] process_one_work+0x1d4/0x348 > > [ 28.009043] [] worker_thread+0x48/0x470 > > [ 28.009048] [] kthread+0x12c/0x130 > > [ 28.009052] [] ret_from_fork+0x10/0x18 > > > > > > > > > > -- Sean Paul, Software Engineer, Google / Chromium OS From 1582746590236411263@xxx Tue Oct 31 04:39:32 +0000 2017 X-GM-THRID: 1581656545107515246 X-Gmail-Labels: Inbox,Category Forums