Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp238114lqs; Thu, 13 Jun 2024 08:46:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOewR301a3RGBPhUF6Ny0xLKz2ftYBV6+hmoAbxrS2MsVGDYOk4AdxvoDaR4QdasYESTvjSqm/x/oG9YzP8hm95hYdgbuYWUXo0pTtHw== X-Google-Smtp-Source: AGHT+IHgiUvPUE6uOe8LCey8YTJg7jvhJB19r9Mck5jZALREDCLweGSrOsxVhWVqpd8G2TG4S+jm X-Received: by 2002:a05:6a20:394a:b0:1b4:5d12:63f1 with SMTP id adf61e73a8af0-1bae7eff86fmr266733637.26.1718293584548; Thu, 13 Jun 2024 08:46:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718293584; cv=pass; d=google.com; s=arc-20160816; b=gicRghETHLtqhb6nHEDX/WDeiljMXWjCON/tEtdtXVM7BfDhAuX353uih13ZqZV6CU BVpiRXwA8i+5ogj4uyaqE4Jp3m9O8SNYnFxdkPky/0MAPWyfZ5Q4YXVklg/dU8Sn1C0e xYAYCU8r/7SBz1wSZQ7gPGlj1ARCQsR0HqBCSz33mG30FtmagxAtvzc7G/Hn6o4d4tE8 jJjz1frqEctmuu1wuW3GDpP5rZuUxaIrhUPveVspNNb2LxrzLFmO/iTZV8LZWR35HBbJ Kx09e+1Xel4Ipvpdv7A2LPYW1fYC9Bi7KXK1Wv1s4PN1ZT6+BpF6bqrHEacrhPnfrnNv JR2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=taK9jVaGvml0MMec33yizXxCNcgLmmcByfeqonJt9Sk=; fh=1ZkzJ614YYy7xE6C6zKOWNcW+ZAe0Gk3Jut2nJ7+zVc=; b=hO3xjatQU1g8WBgaWH3gfKb+hOX5JLaIbW8Oz3E+sXKOTYU/rOKyW1dS1OMzaNWF5V VOLaVZRgU157VrDMRfJoShzk5wHEv7vSfPDjfbIRPlWIcQPyuj8in+CfjklFdZSimbKM MM1Sbf5oJ18N9U1g/FCADE63gGQca4mbaNGOOk2moPN9+1YsnrDg9GhN6MlIvr4/7Q9w 5SYFXmyPse2bdXMRA32cnuZAStX8+Xg2vwyutTsun6FhovJQkhKyAaRf8JwHAPlcRDR0 LKuDBGOLuse88qXqYSq91nfg/qfY1AOxHdMGBKtCl89PVnhB4wlt3oNhPxlW6XqE3UGR 7GwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DekLwn8J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccb70cb3si1670276b3a.232.2024.06.13.08.46.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:46:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DekLwn8J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0964B28E6B6 for ; Thu, 13 Jun 2024 15:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C9ED158D6F; Thu, 13 Jun 2024 15:40:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DekLwn8J" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3847E15886E for ; Thu, 13 Jun 2024 15:40:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293224; cv=none; b=NQCrivA/Zz/oYyH0Sd+zP0AWUzJH1YULy9KWj8P6DAz/ictw0OOvo0h4+eaX0AfdoGfl3MxrZAFKQBKNYrD2fwFcbZyCWsYniFtIB9/1CPzTdLwd3eHQIbxnCn7OdF2pfxnhtfmpiH89rlIV7PvL51YxcYKX3atUWPVqSUFfP0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293224; c=relaxed/simple; bh=bA3t750aLVe9+kIvYa78qWA/d7Nucom/3lQQGHdYrOI=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=po23SH8e4+RFZyVquwGtDbC3FAuPsFmxLoQpEWEtvjlGDpReugOEfYrcEJdh/jgw/2eqiQ3lEcE1ZCrSe3gNZDzoEUdCrmfVki8/Nb7p4KSDzG+GqmFp2p3eZfd4MlXGpIFj5hpVcWeu8tJevtTsLgDVbN1Wkl1yJjq+TEMc0v0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DekLwn8J; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A279C4AF4D; Thu, 13 Jun 2024 15:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718293223; bh=bA3t750aLVe9+kIvYa78qWA/d7Nucom/3lQQGHdYrOI=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=DekLwn8JNT4JQ5q8mjiYg5MEqhVrqr8EX0gHPo/9Foy15v21VeCsBRf6g44VmHFaZ FuUS4dk9vhT0HG8Kqbmuu61WjrB+oiAaD1rMaY+OjNobK4smH1K8IDKgF0/8yfqMVA yPF0kAOJJ0i+gOXOGLoFJZFO5Qry+z8OMNS1adDhiOC1I98jJh25UtNwSAm9UK+5ij pXjX0z5NdJa14su4CU9Jf6Wn+MZUaLStoiwrijiS2XMdT6Morcm+yoGShbUN8BnL3L sCtZjDrnSzS5wFwQ195mGSQAe6UnSMlaP3e4tjKQmoNxb4sq3k7m9sxK0hUSc9ZAm8 tJEKXP74llFAg== From: Maxime Ripard To: linux-kernel@vger.kernel.org, dmitry.baryshkov@linaro.org, sui.jingfeng@linux.dev, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, sam@ravnborg.org, Jayesh Choudhary 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 In-Reply-To: <20240613083805.439337-1-j-choudhary@ti.com> References: <20240613083805.439337-1-j-choudhary@ti.com> Subject: Re: [PATCH v5 0/3] SII902X HDMI Bridge fixups Message-Id: <171829322089.1494794.15521482935825350505.b4-ty@kernel.org> Date: Thu, 13 Jun 2024 17:40:20 +0200 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-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 On Thu, 13 Jun 2024 14:08:02 +0530, 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. > > - Also add this check to the atomic_check call as suggested by Maxime in > v1 patch. > > [...] Applied to misc/kernel.git (drm-misc-next). Thanks! Maxime