Received: by 10.223.176.5 with SMTP id f5csp2660933wra; Mon, 29 Jan 2018 01:47:32 -0800 (PST) X-Google-Smtp-Source: AH8x227s/bCUUjwhcZYiHu6ZZ8mXH4G2xYpF5M6cjNVu2bfTRM8eNNnCriTHmJndlS1y2wKH8WA5 X-Received: by 10.99.95.213 with SMTP id t204mr21007436pgb.294.1517219252706; Mon, 29 Jan 2018 01:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517219252; cv=none; d=google.com; s=arc-20160816; b=P0U2vnqfN5f/PRS870iaOmJoh8N1b6jLf8dxNlzckC0Z6PY+a3xaWH5VVihwH462xQ evR7dnuolpZiz8m9ttF4Ljh/WiqGXvVLVXoJHc5nDBVnRhsBNtlk5r6iYAdnrhjQhX/V XbvKycMrYqN3PkwJv9ICVSmn10H71Prz2FaPbIWerqQxh0bPI985wb6aKG3a5tOPb08B Do7YzsE/L1Q7/i5zGGoRyb2sSMlh10VywYVmX1qsG2Uritc/MUUE5wmPxWhvVFbOAoLT d2hA5Hkgg6Di8UkXZMndH/UufKn/AXS9CJqfoSuIEOA6vShXHLYRLdsZFy3p3SLP/0++ WsMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=a2hsA8NaHoFUYuOr5/NJ5IYafmPvXXesoxnlhTagt9g=; b=UvlXUeuVtj9u0XTFy6YhodIQyG2Ae2PvqEWIlGK6QYyo7sMEwmVX0tMlTYfT5YLDri kvEcKnckDprXY9XWd70fYmNCipFh+J0Ummp5EfqNFNui1ptQnbtv1cOM2xNwKozTkDA7 Aa7pwteGcqZXu3EvjoUricPnM5NA4/VJGvuC9tkMaVXC1FrMTIgOR+2hntn50sPYhFPa wcBrXinU9Gywty598SlN5H3Dnr3MDsVaxNo10F4D8h22WrhrM5ijbNntuqWUZ1CmEQ1W dXxzPikuKULGiX8YO75ILefkYrdJPxBlTmbVoHRIxgZJ4tWlF2h4BhRJ2lAm+4gxKw6o jOrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si578697pla.496.2018.01.29.01.47.18; Mon, 29 Jan 2018 01:47:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494AbeA2Jqm (ORCPT + 99 others); Mon, 29 Jan 2018 04:46:42 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:47816 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750959AbeA2Jqk (ORCPT ); Mon, 29 Jan 2018 04:46:40 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0T9dRCN019508; Mon, 29 Jan 2018 10:46:24 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2frh6j2a4u-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Jan 2018 10:46:24 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 783AB3F; Mon, 29 Jan 2018 09:46:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node3.st.com [10.75.127.21]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4AE5115BD; Mon, 29 Jan 2018 09:46:22 +0000 (GMT) Received: from SFHDAG6NODE1.st.com (10.75.127.16) by SFHDAG7NODE3.st.com (10.75.127.21) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 29 Jan 2018 10:46:22 +0100 Received: from SFHDAG6NODE1.st.com ([fe80::8d96:4406:44e3:eb27]) by SFHDAG6NODE1.st.com ([fe80::8d96:4406:44e3:eb27%20]) with mapi id 15.00.1347.000; Mon, 29 Jan 2018 10:46:21 +0100 From: Yannick FERTRE To: Philippe CORNU , Benjamin Gaignard , Vincent ABRIOU , "David Airlie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Archit Taneja , Andrzej Hajda , Laurent Pinchart CC: Fabien DESSENNE , Mickael REULIER , Ludovic BARRE , "Alexandre TORGUE" , Maxime Coquelin Subject: Re: [PATCH] drm/stm: ltdc: use crtc_mode_fixup to update adjusted_mode clock Thread-Topic: [PATCH] drm/stm: ltdc: use crtc_mode_fixup to update adjusted_mode clock Thread-Index: AQHTlfW5fhiVmJKoNU2zgLW/JMuSwKOKj1gA Date: Mon, 29 Jan 2018 09:46:21 +0000 Message-ID: References: <20180125160101.9102-1-philippe.cornu@st.com> In-Reply-To: <20180125160101.9102-1-philippe.cornu@st.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.49] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-29_05:,, signatures=0 S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