From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BFC5E8FDDA for ; Wed, 4 Oct 2023 08:32:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232882AbjJDIcb (ORCPT ); Wed, 4 Oct 2023 04:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232596AbjJDIca (ORCPT ); Wed, 4 Oct 2023 04:32:30 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 096C083 for ; Wed, 4 Oct 2023 01:32:26 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id DDC42660576C; Wed, 4 Oct 2023 09:32:24 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696408345; bh=4Ba5LFXdDysLehenyraAH5emOyFnN5MNv84LC56TNIc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Zok3+TzrkyFWpS7sPVti62h/Okuw1RhGt+q1VisVyQRciWKRqAaLtgTd7SwlDW5hx Xwv0b0SWNSBTWNPqfc9fZCgg42nYsRXnGcjeVLZ/UGqGdeY7h5/GBYPWiNLOunFOc3 rHZafdLei+Dd1ojVlJbIgAE9dtNlXoc8yWAXHK60VM8O8fYOa0LJxc6AzKjApgoRRH PTb0rXKiVt/2tWrLcT1eS5mLVRKVQdjwG4fKNqmd7CxBNEAnEPNf5NCbsIEtMlmG/Y kh5zNZAaFG4rMlOxrGl4zsjFgjbnrUszbLYSA540b1DDFncAf/ouOAdMs9NUUIY+t/ iZrECxJxKBy7w== Message-ID: <022f57cc-9aff-2592-f4f9-5a10e1877554@collabora.com> Date: Wed, 4 Oct 2023 10:32:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v11 5/9] drm/mediatek: Add connector dynamic selection capability Content-Language: en-US To: "Jason-JH.Lin" , Chun-Kuang Hu Cc: Matthias Brugger , Jason-ch Chen , Johnson Wang , Singo Chang , Nancy Lin , Shawn Sung , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Nathan Lu References: <20231004024013.18956-1-jason-jh.lin@mediatek.com> <20231004024013.18956-6-jason-jh.lin@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231004024013.18956-6-jason-jh.lin@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 04/10/23 04:40, Jason-JH.Lin ha scritto: > Add dynamic select available connector flow in mtk_drm_crtc_create() > and mtk_drm_crtc_atomic_enable(). > > In mtk_drm_crtc_create(), if there is a connector routes array in drm > driver data, all components definded in the connector routes array will > be checked and their encoder_index will be set. > > In mtk_drm_crtc_atomic_enable(), crtc will check its encoder_index to > identify which componet in the connector routes array should append. > > Signed-off-by: Jason-JH.Lin > Signed-off-by: Nancy Lin > Signed-off-by: Nathan Lu > Tested-by: Fei Shao Reviewed-by: AngeloGioacchino Del Regno