Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3892437pxu; Tue, 20 Oct 2020 03:20:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyxB9ejKtRolzMo34IB7pTyctJJSuGH6HREYXB6A/GLYRdcF/ddlN2zpIbKaLEH+LILEPb X-Received: by 2002:a17:907:2095:: with SMTP id pv21mr2496675ejb.236.1603189222924; Tue, 20 Oct 2020 03:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603189222; cv=none; d=google.com; s=arc-20160816; b=mUMuyw7JmZdqJHP3ZftdsV3kygOHVriBlkIz2hjxpKRTeo1kA5nkTWJkdOmbjJdGwq +7YsgfvGJd/cnyuoWg/q+4rSkDx9BiCPioUcOQCiDhs4wHJij8XMKFik6V0IgUsIUZet UP5PC10lqfPEPiJjs+S5OjbMzS9Xp+ULpIr/Qm1aM/9mHi8uXaQ5R202TtLIn3oK0KWM tBvhLSdvg965T43oLKUUB2xbn8zIKTEJctgqIFaly8pISg3BG0f1xOJaGwhVuzG47shQ YLzPBJmed7xM2GmqaPDOdVwHT4DVYwP/HyocDM+k/8+ueZubsGRP4OmGTqRoJHjrMVX0 cV0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=yjES9gaqH+r7PKEyUF//AteATy2JRLBioQzscOmtXtA=; b=BtgEXn3lHRVTRn8LQYKWl9+I1Kukmxh0qyT/Ptjl/9CISH+mMDLQh46Uc5hikDvzCu 2VOvPzBZo2b+oJU8wNj+4ceDLugoKrcunoMan4cF+1XxGuAYC3t1YLyNJUQJsP8m5cA+ EnyKwZuMq2f0QHOJuwvmj6mBFKhmU5jaY9E/vklbHzRIHRFhHNvVjULOOYrhOIQVMcrS JQb+dywi5gkHiBbyHyeBAWEDFHqlw6iF+CAQof5c8WY6E/A8OTCjcrxr6aXUyvG+KFC4 Y/kiwQCehh41tHUho2VbqToRK2W3WVBD/9NKoQTTxHOdL8hrJ2/Vt1VbmvExkd4eTtSo wvhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=JU+b83GX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si790079edr.518.2020.10.20.03.20.00; Tue, 20 Oct 2020 03:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=JU+b83GX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387515AbgJTIN1 (ORCPT + 99 others); Tue, 20 Oct 2020 04:13:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387511AbgJTIN0 (ORCPT ); Tue, 20 Oct 2020 04:13:26 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01A09C061755 for ; Tue, 20 Oct 2020 01:13:26 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id c77so807985wmd.4 for ; Tue, 20 Oct 2020 01:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=yjES9gaqH+r7PKEyUF//AteATy2JRLBioQzscOmtXtA=; b=JU+b83GXhEyYD9j42iFgaYqnEO9pM4i2Bnxt6a3R+hgfkw4l0pphxZBqjqWuycfUOv AregJP2jMrx2ZNIM+a1L2a+9YxvUrSigYexSKsti5xs69jqMYZqYUJ5KnsxGIXQmyfkN cRnfL+KygxgYnz3FGsyQquXL/4MJlSdYZ95ks= 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 :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=yjES9gaqH+r7PKEyUF//AteATy2JRLBioQzscOmtXtA=; b=OPdXz+0NcAlrgtcu9rwZsh+Rg5NekfXtza6J4ZPT/IAwAWzwpP42+tbLYZ+rQisQPW KVuRXm558JUZbZ52I/AVYbhB12D0WxAv/K9+wjKXmIhF8QH3EoSDsl1EhkK2ofVF7KqU 03UBTlhpAU49ASYxhTBVaCKRFPbumnVPz3ARaiNobNjEDaNuYwELFA5aazBKqLRtGTgr +n2h2nwJvSqAcNKqV9kpttfKePVbbP5yKhbxl4mAXgF+ppMPcsLIH568F60BShSkmlDJ jb5U7VxRaUlWLZj+mBfW4dPnpxARgAR6LDtPbzaood5a5velDq8lcd+ySws2p2UWO64g nKrg== X-Gm-Message-State: AOAM530MVRqBTfmft/0PnBZxPNEpY+WpsMSfh0RIfsTN5QA6BeNk1Xzp mQHSs5IcNVvYtdZSMDvna3UxWw== X-Received: by 2002:a1c:e903:: with SMTP id q3mr1638057wmc.42.1603181604585; Tue, 20 Oct 2020 01:13:24 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id v17sm1917002wrc.23.2020.10.20.01.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 01:13:23 -0700 (PDT) Date: Tue, 20 Oct 2020 10:13:21 +0200 From: Daniel Vetter To: Kever Yang Cc: Sandy Huang , heiko@sntech.de, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , huangtao@rock-chips.com, andy.yan@rock-chips.com, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/of: Consider the state in which the ep is disabled Message-ID: <20201020081321.GI401619@phenom.ffwll.local> Mail-Followup-To: Kever Yang , Sandy Huang , heiko@sntech.de, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , huangtao@rock-chips.com, andy.yan@rock-chips.com, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20200707112526.18438-1-hjc@rock-chips.com> <5c0cdb9d-8e35-fa0c-35b3-adfa7770fb30@rock-chips.com> <20201015152301.GE438822@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 19, 2020 at 11:43:53AM +0800, Kever Yang wrote: > Hi Daniel, > > On 2020/10/15 下午11:23, Daniel Vetter wrote: > > On Wed, Oct 14, 2020 at 09:48:43AM +0800, Kever Yang wrote: > > > Hi Maintainers, > > > > > >     Does this patch ready to merge? > > Would maybe be good to get some acks from other drivers using this, then > > Sandy can push to drm-misc-next. > > Thanks for your reply, I can understand more 'acks' will be better, but > there is no comments object to this patch > > or any 'NAK' common for more then 3 months, maintainers should move to next > step. I expect you to poke relevant driver maintainers directly for these acks. That was the purpose of my mail. All communication going through maintainers, being exclusively orchestrated by maintainers, just doesn't scale. So not an option for a big subsystem like drivers/gpu. Hope that makes it clear. For merging Sandy has commit rights to drm-misc, so that's not the problem. Cheers, Daniel > > > Thanks, > > - Kever > > > -Daniel > > > On 2020/7/7 下午7:25, Sandy Huang wrote: > > > > don't mask possible_crtcs if remote-point is disabled. > > > > > > > > Signed-off-by: Sandy Huang > > > > --- > > > > drivers/gpu/drm/drm_of.c | 3 +++ > > > > 1 file changed, 3 insertions(+) > > > > > > > > diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c > > > > index fdb05fbf72a0..565f05f5f11b 100644 > > > > --- a/drivers/gpu/drm/drm_of.c > > > > +++ b/drivers/gpu/drm/drm_of.c > > > > @@ -66,6 +66,9 @@ uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, > > > > uint32_t possible_crtcs = 0; > > > > for_each_endpoint_of_node(port, ep) { > > > > + if (!of_device_is_available(ep)) > > > > + continue; > > > > + > > > > remote_port = of_graph_get_remote_port(ep); > > > > if (!remote_port) { > > > > of_node_put(ep); > > > Looks good to me. > > > > > > > > > Reviewed-by: Kever Yang > > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch