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 F1F1EC433F5 for ; Tue, 4 Jan 2022 11:02:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231893AbiADLCE (ORCPT ); Tue, 4 Jan 2022 06:02:04 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:59148 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231235AbiADLCD (ORCPT ); Tue, 4 Jan 2022 06:02:03 -0500 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20445hiq030791; Tue, 4 Jan 2022 12:01:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=VsX87RGcjuPLHdCC08oFeqUtQV15MBVNK59OGPftjm0=; b=oI49rrNsDuz1FT2gu5xp/h8wEBr2qLW7AwZYc9/uNDKtYNpqnKyA7JrigG4SlcPVAWU/ fN2a/PvMhxjBwwCqzXLHkc0mmVhlEY3LDiLKZKNEaQrSWQZLj1V5U58SeENXWl1IpoOI r2ehUf97oyQdTerZc/iL47L/1n18WoZInQQYMz+011X32yuYGKd+yAKnA2Qb0iiPGJxV mF4b8YEpFzybpWPCYd9xHERSXvWJbA7h2A90jz49PDkgdd0F2EHyc4DQWEHXbvuXNeGd ECl1pALwW9jtrpLUmMnyfx45l41hfRUJ6zKMMYJ1UexgORQJFyIxIu/tG09MSLtq58ah 5A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dcewm1mk6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jan 2022 12:01:39 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C539B10002A; Tue, 4 Jan 2022 12:01:38 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B9D44237107; Tue, 4 Jan 2022 12:01:38 +0100 (CET) Received: from lmecxl0993.lme.st.com (10.75.127.44) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Tue, 4 Jan 2022 12:01:37 +0100 Subject: Re: [PATCH 3/3] drm/stm: dsi: provide the implementation of mode_valid() To: Antonio Borneo , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Yannick Fertre , Benjamin Gaignard , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , , , CC: References: <20211218215055.212421-1-antonio.borneo@foss.st.com> <20211218215055.212421-3-antonio.borneo@foss.st.com> From: Philippe CORNU Message-ID: <9a8beb43-7a59-f042-7b14-d6d2ea360b6f@foss.st.com> Date: Tue, 4 Jan 2022 12:01:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211218215055.212421-3-antonio.borneo@foss.st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-04_05,2022-01-04_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/18/21 10:50 PM, Antonio Borneo wrote: > The dsi has several constraints on the video modes it can support, > mainly due to the frequencies that can be generated by the PLL > integrated in the DSI device. > > Verify that the required HS clock can be generated by the PLL. > > The dsi clock from the dsi PLL and the ltdc pixel clock are > asynchronous. The dsi needs to return in LP mode during HFP or HBP > to re-synchronize at each video line. > > Verify that the duration of HFP and HBP allows the dsi to enter in > LP mode. > > Signed-off-by: Antonio Borneo > --- > To: David Airlie > To: Daniel Vetter > To: Andrzej Hajda > To: Neil Armstrong > To: Robert Foss > To: Laurent Pinchart > To: Jonas Karlman > To: Jernej Skrabec > To: Yannick Fertre > To: Philippe Cornu > To: Benjamin Gaignard > To: Maxime Coquelin > To: Alexandre Torgue > To: Philipp Zabel > To: dri-devel@lists.freedesktop.org > To: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 98 +++++++++++++++++++++++++++ > 1 file changed, 98 insertions(+) Hi Antonio, many thanks for your patch. Nice improvement for better filtering supported modes... Acked-by: Philippe Cornu Reviewed-by: Philippe Cornu Philippe :-)