Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp428337lqh; Fri, 31 May 2024 06:00:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU94AqkOWGzGZslvBG0O2KY+ugi5gaIFZtceveXiwf+UCKlXdxW9Taofu/4M2k1gg4W/QZuYAN2vgQy/eBlp9jGVrJqTbOYZ5RWRle0tQ== X-Google-Smtp-Source: AGHT+IGinKWU6cPIsXtiWnE27lxuzTM+NGrdGQyMmdFJAEWAXUzkjiq4OnW4e97pORvbQrmkvRL2 X-Received: by 2002:a17:902:c943:b0:1f3:3b0:61af with SMTP id d9443c01a7336-1f6370a0d66mr21100825ad.46.1717160448110; Fri, 31 May 2024 06:00:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717160448; cv=pass; d=google.com; s=arc-20160816; b=XCHnximVwUfTtHQiaR4jkp9xshpQLEMrEyq0xfh5ZuNPV5aUuLo+5PoqyoRFnFEwSn BgZh/Wvm6GzUx58D7pwy3+4TpyAPx8sTn8PJr8wJn1o+IhrgZGyVAMoLVA1eGWbxcHfa /193XgUWWW26GrmeCXa47ClWjVx3R18vsXkMkHjCcewglXGgmDIzr7Yyrum4LwX1Rybk 3dKtiB6pC4RYJA+aONCh4rhPAQCZ6W8SlM+SYBQLlr4lwZBXb1hOzdh6KMr75AuDusK9 lzMxjkJ/c8uYRpKlHFP3Z4S43YC49z0CZ+TnUKiV32ZfnUMbEZr4g5OxRT6q8R3kxAIB 0ocA== 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:message-id:dkim-signature; bh=mDqBiIbi/4yxm6zJ75PqcXSsLMeSwUbUaDhGcBu3OHw=; fh=rBLDj1YFbQ5yyfsFBxlV/5Cye3Fnn7zumKUbbuFMUhw=; b=GPxUB43SnnFqIFnt6CTwkxymK4Vjopc9L8OdbVRn3yvBflVeckOUGe/iyqt1Yogicj Jgk+XzxYj2Us5ojUzZsN70/TRIR/L1Olh1bLzdaoM69WSka2clHA3zXZegKJhR8lUe5s jnCbDpHGWZrrKhBKmpkXjsSnweYidH9H5D3tw3IUfSle/PRZgS4Rjp8NcN1eQjygPmac lyfRVY+kfvgwTKskJqfeb7LALJV90fFBE5ciQalN1xQ0EtEHaBwbR/Tgx3N5FL8+JoVo VhNGk80oAY8DgvQYfxpBH4xxY5AaaEw9klVb/uUsYOLUAeZp4oukKHUb4MQkCbPUyKyG LZQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=jxKNogid; 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-196827-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f63236663dsi16236665ad.171.2024.05.31.06.00.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:00:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196827-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=jxKNogid; 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-196827-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196827-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5BBBDB244D8 for ; Fri, 31 May 2024 12:55:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B9BE158A28; Fri, 31 May 2024 12:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="jxKNogid" Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (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 92764158A17 for ; Fri, 31 May 2024 12:55:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717160130; cv=none; b=soZIM0mcMvVjY6xco1vzT46dJdKo3Jznt+tfhObg7PeaR2mp0tZfKugSCsY9RLhpMIGZCi0PxzHi3p2LBCYgBkuFkqZuKsVykxW7v77jfs58y1N5fduAIWC31YarXOMhsdtcJ5BokEyw/+oH/4GbYX03KtKmd96LbZ4QLpcGTYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717160130; c=relaxed/simple; bh=mDqBiIbi/4yxm6zJ75PqcXSsLMeSwUbUaDhGcBu3OHw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RTwUluKEN+nzFv6jisXW9BTEY86vxCsCEM3dOG1s6WamxA2MjdCLNBFQOowBJ8bFnKm6Nb6tw94NNqSPZNNMxak+Z/R8+wBBvDHDRRdPDU9Yagowi6vXZpDMpr76ieOlStUgOEJzFRBlE/zA7R+qKMFz+XGuyPhG0/QRESHUkT0= 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=jxKNogid; arc=none smtp.client-ip=95.215.58.170 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 X-Envelope-To: j-choudhary@ti.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717160126; 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=mDqBiIbi/4yxm6zJ75PqcXSsLMeSwUbUaDhGcBu3OHw=; b=jxKNogido9tKkoNsMpPs8ZjlJaFBXEfWdqvquvV2po66Qhl+FJ72SNmfsGYC1OGfAcWtm0 j2s2PekNDUTWOeiiY71DcnXbBP7XS1Rot36f5jGjNiUg9huHbeDYFeQSg7GCBJr0AIS4a1 v0kWXxY0Q7/RekmcB7hcjm6kjutQyM4= X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: dmitry.baryshkov@linaro.org X-Envelope-To: andrzej.hajda@intel.com X-Envelope-To: neil.armstrong@linaro.org X-Envelope-To: rfoss@kernel.org X-Envelope-To: laurent.pinchart@ideasonboard.com X-Envelope-To: mripard@kernel.org X-Envelope-To: sam@ravnborg.org X-Envelope-To: jonas@kwiboo.se X-Envelope-To: jernej.skrabec@gmail.com X-Envelope-To: maarten.lankhorst@linux.intel.com X-Envelope-To: tzimmermann@suse.de X-Envelope-To: airlied@gmail.com X-Envelope-To: daniel@ffwll.ch X-Envelope-To: a-bhatia1@ti.com X-Envelope-To: dri-devel@lists.freedesktop.org Message-ID: Date: Fri, 31 May 2024 20:55:15 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v4 0/2] Add mode_valid and atomic_check hooks for sii902x bridge To: Jayesh Choudhary , linux-kernel@vger.kernel.org, dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, mripard@kernel.org, sam@ravnborg.org Cc: jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, a-bhatia1@ti.com, dri-devel@lists.freedesktop.org References: <20240530092930.434026-1-j-choudhary@ti.com> Content-Language: en-US, en-AU X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: <20240530092930.434026-1-j-choudhary@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Hi, On 5/30/24 17:29, Jayesh Choudhary wrote: > Move the mode_valid hook to drm_bridge_funcs structure to take care > of the case when the encoder attaches the bridge chain with the > DRM_BRIDGE_ATTACH_NO_CONNECTOR flag in which case, the connector is not > initialized in the bridge's attach call and mode_valid is not called. Good catch, as modes being supported is actually a capability of the bridge itself. The move make the driver reflect the hardware more.