Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2814864lqo; Tue, 14 May 2024 09:54:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWp9ooUGrhT/aypVR/eRNgAJzcVV1mcYqE1lUiVXzilN6CsfLei/h/8cEk6JaAmPJr2ZX2MCFbG7T7624RPoCWV4lhQJvo+IsTevB6FQ== X-Google-Smtp-Source: AGHT+IFKNOOdwidsTIK1xzc0yT6d9NmsNzYigTibjQN2VzvfhQC5wyYAgIfG/DpGD71nT6a1ymSe X-Received: by 2002:aa7:d1d3:0:b0:574:eb26:74a with SMTP id 4fb4d7f45d1cf-574eb260839mr1184156a12.21.1715705652812; Tue, 14 May 2024 09:54:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715705652; cv=pass; d=google.com; s=arc-20160816; b=DtEZsyCc+xU3jS4jNSIjpuGP+d9P6kguMojj3P9IY7hLnfZORuiRpC77AhOH24rMQI Beqtc0hxdeppPv1frtic1+rFUZQGQ8j0dXB+yYJFohZi6IwO+v/s9wn99uKpe6RrShss V+gjyNxaH3uTSfykmAw4HB6BwegxRoQ4lwmQnDhPSKgF5eCX+b4Ix/HwsVQcA2hsiJQO /pbubZWtF0Q6EK9vmxTZTRMqP2/FvU2bV4M/6ryssKrFrAUqEMn4xFexLmRoqDnS18bG ZxyckvPKq100OAIUJhtUo3ng6+86ks7HuRvMCGh7xcSSJ8LtcCXeGpMOzQ9ZCNA9l7wo vp+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=AwKYwvrCkgacfNudOapr20vF6Z2dViM5qKJdT/zY9Es=; fh=DQRQjzaPJ0Ex8JEVOO/4H26pPOJ71K2dOQkbvfz/Cik=; b=a584wNVBgbomrBfIchRxT0qSp/100rm64QqZWHx0w6RK5HeAbqZD83EnyiYB4nth6p juo30jnCABQuzupfmbjTFMdpawlC5kvq8bCnRrdeSVhfT2b+kPY+IYaPg8H/EjRoDcF2 cR4S8R5RZ+474iVlJHp3F8hGey5+U9BSupInZYtBP2xY48UybCteRwatyBjvEz3cgYkb 5V/KxiTzB8QQnVMEQW4ufDWu6LBxm4ggCXF/yxyFbRpbCdf4HMG0ik9s89cHJ/w8nOV6 eXozZjhxBrntnRC1YirDfTv597rfvGT4JTtCyKZNszw1ZAgU0L65ygJbGG1SpDX0shWP etkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=V1wWoORH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-178970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beac707si6417378a12.65.2024.05.14.09.54.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 09:54:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178970-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 header.i=@linux.dev header.s=key1 header.b=V1wWoORH; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-178970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 8B12A1F223F2 for ; Tue, 14 May 2024 16:54:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 126FF17F393; Tue, 14 May 2024 16:54:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="V1wWoORH" Received: from out-175.mta1.migadu.com (out-175.mta1.migadu.com [95.215.58.175]) (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 03A341D545 for ; Tue, 14 May 2024 16:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715705646; cv=none; b=Jl1vFpM2h3cEUH37nAzjDOtJvB9EW2ziXOuJWWna0SdT7gKMPtVm9WSXIzSAdzU02w8HP6Nzhdp7Oge88xrkmx3/DNBzUf4N56h7baXIDG76zKRyQkZNBK+8n/CNnZRmx4NN0eh5gbNghv1dJxv0JQrssBdiIhD6mdAhe7aM3ig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715705646; c=relaxed/simple; bh=BkM3OZr3jx/95gT12W/si2InAjjxnxbTBt98E/xh/ug=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AJ9nAidA1yxmoLbUhqZkbs74SA5xHqC+p0mz5suGZ8PDntoqW9xWFbD5RdqGHpA8bzx8G1+oNUb+PNvMTocDoLziTGPNQKe4b/SpRvlhV8KZUY+h5YcKY/APdQJYY84GHOJWwYeDmYTaaaY/TIqUU173kXEMsw2NLq5393Ho9YM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=V1wWoORH; arc=none smtp.client-ip=95.215.58.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715705639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AwKYwvrCkgacfNudOapr20vF6Z2dViM5qKJdT/zY9Es=; b=V1wWoORHtkOwggxidh4UD6sOwetGrWxoKYClXH2O60xxT+ogsroUbhUyGk+8oYAAbHrSjA xwVpm4F5Mx7Wf6YXt301vFcAVl6lmi2LVdZiK9wuf1YyvbnlYW7vgDQ1TTrx4XIDZ6bbGP NbxgZQa8mT6jiUg9EtyGvmiIIoeQWoo= Date: Wed, 15 May 2024 00:53:33 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 0/2] drm/bridge: Add 'struct device *' field to the drm_bridge structure To: Maxime Ripard Cc: Neil Armstrong , Dmitry Baryshkov , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20240514154045.309925-1-sui.jingfeng@linux.dev> <20240514-scarlet-corgi-of-efficiency-faf2bb@penduick> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: <20240514-scarlet-corgi-of-efficiency-faf2bb@penduick> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Hi, On 2024/5/15 00:22, Maxime Ripard wrote: > Hi, > > On Tue, May 14, 2024 at 11:40:43PM +0800, Sui Jingfeng wrote: >> Because a lot of implementations has already added it into their drived >> class, promote it into drm_bridge core may benifits a lot. drm bridge is >> a driver, it should know the underlying hardware entity. > Is there some actual benefits, or is it theoretical at this point? I think, DRM bridge drivers could remove the 'struct device *dev' member from their derived structure. Rely on the drm bridge core when they need the 'struct device *' pointer. > Maxime -- Best regards, Sui