Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp643077lqh; Fri, 31 May 2024 11:41:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYJLfEE+axZI65ZHCz+MXvtBbqru9sN/CqO3n9f7TzgT8hTzIIEbtTd5HIQ8zcmUS1iWP1Ohc0a3atoM7RA+p+XcNcXW+lGtPdVLcS0A== X-Google-Smtp-Source: AGHT+IGG6Do1t4mm8k8xi/TSusbEM/GmDBMYmXuXko9FFMATsKZPSWHpt66ZFN4pLJtDcd2PFt7N X-Received: by 2002:a05:6a00:a8d:b0:6f3:876a:c029 with SMTP id d2e1a72fcca58-702477e8f1fmr3064679b3a.10.1717180897392; Fri, 31 May 2024 11:41:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717180897; cv=pass; d=google.com; s=arc-20160816; b=DsGMxqQihW15sWXH2byf4WcRCjB7nHDM8IgGIwbPZwTKbL5FQNvw9XnS1bjluh1GS4 od6FKzPAh2p/HVspCsUjuwv711tnMcKF11JziIYQhLEz0TCRtJVFxt4rbq0KpHFjEjXc rcy5QK9do3J8IIZ1+wvVMlMROguPMSVLqFLzuQng91FM2J2TrEd2yggW49JlbAU6JA+U Ec/NzJ077IIkJNNzVyWr+J4fMxGlMYjmGsf9FOb+Ju24byFOzZdCYGjeBCMuOjtaL7ah 6rNckMZ4nvlPpZuGX25vLIW+laggP1c7YC0s8VB7YnghBhAv4nIrcysSYq7Ck8XQI50e 974Q== 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:dkim-signature; bh=KnLBkmGVK+Mze45aQJhkynNz/NaOQLWFZL8uozaU7LA=; fh=EtQq7h60HMQw4lWc+fES8bfFjUtv/mkvEDIJH1fM2ZA=; b=UpVnqEcl2ZHnCTDfz9K1dsjJvb/SxjLYknDb2jkck1vfFqQ9WJpLfTQEAsRkY0rn4v CLl95zSx1UcRyA+I3xyVhIaVonwSuopwPcXmfGgnWJB7o8pIQfGef2vVNjuQQWpHEzi3 rpcVQlGxE0u2ADDZ9ZcCMegPIVVpjDNDcJm1/eQfhbtJadwMj/nDxI+M0s2r+PtjEiwI hfc384TVBiKV3Hkn3+/RYRLbSY+QBtZbPpxd7WLDKgDxAqzJfj8jOGwZNGqRL4yNnOmJ tVL9+58NizjO3NmcNIJA1VCX9nCoNDNnvlnArC9HdARb3nU72a+AgTxTq3ktkShQzZa2 PJVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=IW4IgK+v; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-196888-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196888-linux.lists.archive=gmail.com@vger.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-70242b0a19dsi1977400b3a.149.2024.05.31.11.41.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 11:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196888-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=@ravnborg.org header.s=rsa1 header.b=IW4IgK+v; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1; arc=pass (i=1 dkim=pass dkdomain=ravnborg.org); spf=pass (google.com: domain of linux-kernel+bounces-196888-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196888-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CA61F28BDD8 for ; Fri, 31 May 2024 13:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67C21158D99; Fri, 31 May 2024 13:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="IW4IgK+v"; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b="m4BwLR/F" Received: from mailrelay5-1.pub.mailoutpod2-cph3.one.com (mailrelay5-1.pub.mailoutpod2-cph3.one.com [46.30.211.180]) (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 73F2C33CF1 for ; Fri, 31 May 2024 13:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.211.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717162478; cv=none; b=BhQIJSRqViaUd0Iytp5TngnFyKUT/J7jYcwFtCAVacaV6oaaF+iEYbV9dily19BnfRyDn0xNGnoRMFRuejAUrQwxlqh4mNQIFLxU+p41svkSHGowESlb1bla3xrEIIkeA1ffURBgKuEYhgTQTRgdxVSDT+Gyl4R6ODMzXGvvmag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717162478; c=relaxed/simple; bh=pm5XWq85ofI0ZiiAAhQazU+EXRbmq43J0rqYOWTvjSg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JU1z+YuMjyApuqClHlsdf0gd2rHDuJyxHxCglkGb5lY3xfjiEDa7Wz6H+O38/JanVHhDCYR4EnwRiqNhdsKioC/RLugDXWF7qkUbuesC3bxY72YoRLDmRUmlBpYviwYgvg5Vx1KzP6llMS/nUyfas6rfUKidBnXksbVuB92JdUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org; spf=none smtp.mailfrom=ravnborg.org; dkim=pass (2048-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=IW4IgK+v; dkim=permerror (0-bit key) header.d=ravnborg.org header.i=@ravnborg.org header.b=m4BwLR/F; arc=none smtp.client-ip=46.30.211.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ravnborg.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=KnLBkmGVK+Mze45aQJhkynNz/NaOQLWFZL8uozaU7LA=; b=IW4IgK+vKRlYYnKwovgqCnj3TvBdlAzVSMtWU8mUdBVU8J6Rvf2vh0yD/j0BUyPO9L9PqmoFTzvhA VePw5r44xg5xsbKYPQTlWIgrHL5XuP4q5ZCmBMSUhh4nsvdz1Qvk6dd8oSgTlzVrEFj18xrKATDoVD oiLAkN20nKbjxWaI8Wk9tR6+Gjpk7KU3csEl7HIj7fc+ADuK3aCmEP+o3pv02CJG7v0gaW5uB7BY7l Oyjqgty7Uj8DoslRJu6sbvZoGhR183HokRL8qXyJR5w8q0LEyhHHbCgu60I3yiSpCszWlKWi/oDeBX TTuslA1CH+hbPTpUaLA6Dc0Wa+SkPDA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=KnLBkmGVK+Mze45aQJhkynNz/NaOQLWFZL8uozaU7LA=; b=m4BwLR/F0FHK1XL7SfH6omLlaMI4VtEMHgFTamYSyyDmHt6/4e3SgffntQNRBhmgSdrt1vQ/vP5Oy dDp6wFHDQ== X-HalOne-ID: 5ad6a8be-1f52-11ef-8959-edf132814434 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay5.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id 5ad6a8be-1f52-11ef-8959-edf132814434; Fri, 31 May 2024 13:33:25 +0000 (UTC) Date: Fri, 31 May 2024 15:33:24 +0200 From: Sam Ravnborg To: Sui Jingfeng , Jayesh Choudhary Cc: 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, 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 Subject: Re: [v4,1/2] drm/bridge: sii902x: Fix mode_valid hook Message-ID: <20240531133324.GA1715839@ravnborg.org> References: <20240530092930.434026-2-j-choudhary@ti.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=us-ascii Content-Disposition: inline In-Reply-To: Hi Jayesh, > > + > > static const struct drm_bridge_funcs sii902x_bridge_funcs = { > > .attach = sii902x_bridge_attach, > > .mode_set = sii902x_bridge_mode_set, > > @@ -516,6 +529,7 @@ static const struct drm_bridge_funcs sii902x_bridge_funcs = { > > .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state, > > .atomic_get_input_bus_fmts = sii902x_bridge_atomic_get_input_bus_fmts, > > .atomic_check = sii902x_bridge_atomic_check, > > + .mode_valid = sii902x_bridge_mode_valid, As you have the possibility to test the driver, it would be nice with a follow-up patch that replaces the use of enable() / disable() with the atomic counterparts. enable() / disable() are deprecated, so it is nice to reduce their use. Sam