Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp427927rdb; Wed, 17 Jan 2024 06:24:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvrLUn2sZBEPzUJtWgeSbQVL61eFc4oWEuKj5F7TsIY/lMixJPEBLFZnclLf4Qc8pFY4Bn X-Received: by 2002:aa7:dac2:0:b0:557:a3c:f13d with SMTP id x2-20020aa7dac2000000b005570a3cf13dmr4882973eds.0.1705501470990; Wed, 17 Jan 2024 06:24:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705501470; cv=pass; d=google.com; s=arc-20160816; b=wN1VXYH0/l00x9jUGiowKcOKkA7orpcvP83qbhMxBkW7hbI9YXRFcL2J//+7/R5Q3t ql1gfyG39JqVVmcPoRDwN1sAYZlCSFkGdOG6cQNexjqEQhNfzxbMjpoMybQmOQcoYH4P oBhiw954hCU1fwy+GjOGDxwedtz/Z1XEjGzvBref2l4jC+t6o2GHoRNKZlrS6Xtke6ff E5+q1UpVoa07N4sRuDoUr4iCqGhIV4DyF/LPCUX6Ii0bD90LVcM0Eh6qImqVEyrTax0b 6sARSVvrP5PfipemzfyJgk4gRq+l7rNiywrFk6S5mDucF11O5miVo91WH6GAb27kD0gq pjGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7nxiix2XViYVRnNk4m5CuSLZnqmuHJe3MLW26x4mI+s=; fh=oFkEFuPz46wsDPtXVTumpWpmI0xaj86LMBezdVlocFA=; b=nhoshCkBIXM2r0rUyDrc6UpvQVWH+a9HvBp8hof/u8Vlx4++hBPisQsjKqSHi7brPN 4Vp3Q2nezciZF2K5MCpsBcIirRZmJTw9Hi2RJmD56lcigQzD8OvAVZ/cTW9rs8haiiod ete4MSVdewWvKQEI+CQb24BwwbmJmQJC1IHmlWaci9g4a5zaU2TKkKbc5N1OepmrFqrB 1yixlO7bvyJYwWPSfmms2ZCQH+AQQpd7+aUW1tQ0xWfKbSECekwgGfwP/Iaw7WeQ8zY/ ok3Zu0FNssv4vqxF8fnxN2DFYBrPaDOst9FJOGF20PvILiv0j4415Jyl1bhrKP95DGSk ENYw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZAvP4Nrg; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-29077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29077-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r15-20020a056402234f00b00557447b389asi6237885eda.243.2024.01.17.06.24.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 06:24:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZAvP4Nrg; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-29077-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29077-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B61521F2610D for ; Wed, 17 Jan 2024 14:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31ED9208B8; Wed, 17 Jan 2024 14:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ZAvP4Nrg" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 168B3208A6 for ; Wed, 17 Jan 2024 14:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705501459; cv=none; b=Icx2Q0SsxZfK+oslRBHB+2BSyEhFvKfeSZvAvTLJOKCYoOcOtmlJAqsOBESpJi22oSaOj5xOhvP+HoWAhTXp43iEh3lOcUgMvc94Pn/ukmSr7rjt0LztxEX/Ed+R30zSwxCcCzBMjmwoORBtRXP835VVfZysN6o2f/QmtkwUzf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705501459; c=relaxed/simple; bh=Mp3GlUUoo01KnvzhVZ4uGnXB45N7hYQAgn8WLuIHFWg=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=B/yPBpGwC9Ln9LfEdp00Gyfj0wsVVFPL6QNMelKHsh1wBiPgzJHK7LuAD4Z+got9m7tBjFdjy1VblsEQJsQFsq4o8sDlSYgJsnXUJ/Zcw7k+rZ0rMK59btxsvpSQF2kvkkilNxd6lTLnLaJul7SH9Na9W741Pcp82KVIkNgtd0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=ZAvP4Nrg; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DF5547EC; Wed, 17 Jan 2024 15:23:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1705501387; bh=Mp3GlUUoo01KnvzhVZ4uGnXB45N7hYQAgn8WLuIHFWg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZAvP4NrgylHtA2g5djrWcEdwtXZB1cAqCj2R2E7ke3jj3Dlehc6XREpG7y/5a8tt1 Lm6f64tQwV6VvzBEbU4yLB918ZJ5ZMDLJZWF6s8R47G9/eht7tNlOhCP4d8Cz4Qmua XuKtSf7xgV1mM+h2vZG345z8Yy80X9J20pTZGLx4= Date: Wed, 17 Jan 2024 16:24:20 +0200 From: Laurent Pinchart To: Tomi Valkeinen Cc: Anatoliy Klymenko , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, michal.simek@amd.com, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] drm: xlnx: zynqmp_dpsub: Make drm bridge discoverable Message-ID: <20240117142420.GE17920@pendragon.ideasonboard.com> References: <20240112234222.913138-1-anatoliy.klymenko@amd.com> <20240112234222.913138-2-anatoliy.klymenko@amd.com> <98a9f4f1-dd55-47c3-bb1b-07e201b299cd@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <98a9f4f1-dd55-47c3-bb1b-07e201b299cd@ideasonboard.com> On Wed, Jan 17, 2024 at 04:06:31PM +0200, Tomi Valkeinen wrote: > On 13/01/2024 01:42, Anatoliy Klymenko wrote: > > Assign device of node to bridge prior registering it. This will > > make said bridge discoverable by separate crtc driver. > > I think a few words on why this is needed (and why it wasn't needed > before) would be nice. > > Other than that: > > Reviewed-by: Tomi Valkeinen Agreed. With a better commit message, Reviewed-by: Laurent Pinchart > > Signed-off-by: Anatoliy Klymenko > > --- > > drivers/gpu/drm/xlnx/zynqmp_dp.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c > > index a0606fab0e22..d60b7431603f 100644 > > --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c > > +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c > > @@ -1721,6 +1721,7 @@ int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub) > > bridge->ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID > > | DRM_BRIDGE_OP_HPD; > > bridge->type = DRM_MODE_CONNECTOR_DisplayPort; > > + bridge->of_node = dp->dev->of_node; > > dpsub->bridge = bridge; > > > > /* -- Regards, Laurent Pinchart