Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp460026ybl; Thu, 23 Jan 2020 01:48:58 -0800 (PST) X-Google-Smtp-Source: APXvYqz7jiavLryq6L7RTH/U59dyLOYPcb4eamyjjGmFnWRUzw52CTyBgi6j5lLydoOZeF3jbPZv X-Received: by 2002:a05:6808:52:: with SMTP id v18mr9612049oic.152.1579772938753; Thu, 23 Jan 2020 01:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579772938; cv=none; d=google.com; s=arc-20160816; b=XAwvTtfx5yDZk5hQiR5yWyMiPUO41a5ZF+37LI3yRYxksaf96NNnswn0dOj0tx85aF acMqOX05cOqKwm+KVTDmqRfEG07s1otROzfHk+VoTjLiMHL47O5MYlHJqjZ6z/qG4a99 W0Wp0lPSrRUoo1HWZusiGhLUDuh6b4CVCuv94hKarNe9e72PlQN3mwhnNqob69apAYMc t14LUmD4/KRGYcM958KWNt/rSFxNRwfx+PjYSBprNVIPfvl4th7BKfK0WgIcLI0dy+UC mSAFsIJ+SA/g6PIEm/wZnIheKGfkc92hm8GIx1zfm8mTZdKIVh/5/Bsy+6NDoQQ8gGbH sYBQ== 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:to :from:dkim-signature; bh=Ee7JMj7P+X5t7prD9iCwmR1WOo33+7cFo6FcbCsMCJ0=; b=he5GuQISeEk0mH0JyMPzPcmqzM7DABJsVpJxLDsv4eJpygnT0wTR1CVJTtylJXpsdL RTz0s0TA+9/oJQtyC9YOV7r+cO0uLk41HRGc1bbj1pL7HB43WPznC1jdb/04Nywe4JLT J4QGQOCr8VFO9MzQrjpJVczLEaVXjUsnoaCAbo00N3G3FbWuafksiLB2qOXTmZ9YNG8Y zqZ5ghZrk1QI40KwVg7T88U0xQN2fgUnYNnCrImk9z5SN38DvCyKBk57AdxWI/IJO5hL WS4PHDwUAh8hGaChbRVlFS70Zn4kQue0gbnzmAYCVqf4zOvk2YVHXr6WqJChYnqCBGr9 vvQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xQPBD8Lp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si892857otk.252.2020.01.23.01.48.46; Thu, 23 Jan 2020 01:48:58 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xQPBD8Lp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbgAWJrg (ORCPT + 99 others); Thu, 23 Jan 2020 04:47:36 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:16400 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbgAWJrg (ORCPT ); Thu, 23 Jan 2020 04:47:36 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00N9gOWP010714; Thu, 23 Jan 2020 10:47:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=Ee7JMj7P+X5t7prD9iCwmR1WOo33+7cFo6FcbCsMCJ0=; b=xQPBD8LpTOT3PNBUf9BdGOqZAV3UF1PoCJjUGHSieHQPAoqmwsc9NSJ09hrN/siaw+Yj cvg3bXXIFO1ezQGu+UfKjh/8d6f2x3EH7kl2LhznyFzcy/5+MIvfke8WWTRL2nW1cehf cQg81nOJP5brp/pkBlgOkaP67YZh/itlOkoxZWCHf8J5rMRenMnimT68swHzJ83XKEFJ r3okRzqD/hT5Fm8XFBdEsaKIVeA/TddOWI4FVKvHPJut9XFLAP5qKzcaOh21TI+QOjl+ I4cLR9WHfTpCZKbkEiopp5uJk3wQKEN0P+4xsLzu+6OpPXw3+vBHqQYPgDcggn81JawK iQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xkrp2hdt5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Jan 2020 10:47:23 +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 D39B610002A; Thu, 23 Jan 2020 10:47:22 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 97F9121FEBF; Thu, 23 Jan 2020 10:47:22 +0100 (CET) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 23 Jan 2020 10:47:22 +0100 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1473.003; Thu, 23 Jan 2020 10:47:22 +0100 From: Philippe CORNU To: Yannick FERTRE , Benjamin GAIGNARD , David Airlie , Daniel Vetter , Maxime Coquelin , "Alexandre TORGUE" , "dri-devel@lists.freedesktop.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm/stm: ltdc: enable/disable depends on encoder Thread-Topic: [PATCH] drm/stm: ltdc: enable/disable depends on encoder Thread-Index: AQHVz5gWDqh+tSb29kCN+B0hu2GdDKf39EOA Date: Thu, 23 Jan 2020 09:47:22 +0000 Message-ID: <69cced11-c30a-da6c-0465-79b632901b62@st.com> References: <1579528013-28445-1-git-send-email-yannick.fertre@st.com> In-Reply-To: <1579528013-28445-1-git-send-email-yannick.fertre@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:68.0) Gecko/20100101 Thunderbird/68.4.1 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.51] Content-Type: text/plain; charset="utf-8" Content-ID: <752BB9EC20A560488E65BA0D876A022B@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-23_01:2020-01-23,2020-01-22 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RGVhciBZYW5uaWNrLA0KVGhhbmsgeW91IGZvciB5b3VyIHBhdGNoLA0KDQpBY2tlZC1ieTogUGhp bGlwcGUgQ29ybnUgPHBoaWxpcHBlLmNvcm51QHN0LmNvbT4NCg0KUGhpbGlwcGUgOi0pDQoNCk9u IDEvMjAvMjAgMjo0NiBQTSwgWWFubmljayBGZXJ0cmUgd3JvdGU6DQo+IEZyb206IFlhbm5pY2sg RmVydHLDqSA8eWFubmljay5mZXJ0cmVAc3QuY29tPg0KPiANCj4gV2hlbiBjb25uZWN0ZWQgdG8g YSBkc2kg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