From patchwork Wed Jul 7 08:48:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raphael Gallais-Pou X-Patchwork-Id: 12362063 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10503C07E95 for ; Wed, 7 Jul 2021 08:50:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B363A61C93 for ; Wed, 7 Jul 2021 08:50:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B363A61C93 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Vz4fVWJXsLu37ekMoQEuASK0LUdnT4DNi6tGRwfpQcY=; b=2O6uGEv0pntho/ YExJrXSdzeWvGMDIIH+Yi1CYmP9rzpjmWehN45rIYYbBkQISOY9M0vkcFBXEX8sM2jV2+mu8rrhzb Ml6H5YeTdEiv066r4sYc0HxhHsu7c9RRE7Yu+V+ho+pvS/E9SHPmrBnlSvyOBLXC1c/BFQ8zGpStk 8FME8NCMbMG/4a/CjcALM6ts39jc/9YGxiwz9uQJab707chmhXAdGp0/YYGhuqBi+xiQV4lBTiwjo gA/P3zWppzjQufRkTfqc+wXBxmocv5wLIreYz6NVEM04UTy0enxifkcMQ/w2Vd8BFEyGr5dlNFd9t omWZrd7SWFJTmRYERmzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m13Ee-00E5GP-UZ; Wed, 07 Jul 2021 08:48:49 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m13Eb-00E5FJ-KM for linux-arm-kernel@lists.infradead.org; Wed, 07 Jul 2021 08:48:47 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1678fZUe029506; Wed, 7 Jul 2021 10:48:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=selector1; bh=X2A5zaJ3/upwREqwE0Vhej/FGY58c6pTzzxOXfWJAPI=; b=6k1KxoxKocPZGaGuTAZhjUNdkV/2745hCIlSADrS+/TeBIFclGm5GO1/O3j8/r3ZDiRq cjOIym/vkNPeBPNtR4LICBV3ug9aGp9gC9Zw6tkhC57F0aTMah4M62sOQrAhQSe7igZ3 sWs9SEiYxd3SA56XQN09qq6zHFXGeXSJJXKL4OMEwanhr1LUVnMXBt9voFQz37gA8b7+ UvMVxD3U3V+a7B4XWckwHrKKZQy4yDd+NV2RGd3Zi+h37OKCm7ikyQptO1Xig8IxgCiy OAWWMuoOPsg0gjvLFFjKLcOxN1UGvJg+Df9W6mWVa5jTgKwfYGEGV0tf5C8+sONKriVv Sw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 39n8ysr1gk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Jul 2021 10:48:23 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C5AE210002A; Wed, 7 Jul 2021 10:48:20 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9B427216EDE; Wed, 7 Jul 2021 10:48:20 +0200 (CEST) Received: from SFHDAG2NODE3.st.com (10.75.127.6) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 7 Jul 2021 10:48:20 +0200 Received: from SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c]) by SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c%20]) with mapi id 15.00.1497.015; Wed, 7 Jul 2021 10:48:20 +0200 From: Raphael GALLAIS-POU - foss To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Yannick FERTRE - foss , Philippe CORNU - foss , Benjamin Gaignard , Maxime Coquelin , Alexandre TORGUE - foss , Matt Roper , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" CC: Yannick FERTRE , Philippe CORNU , Raphael GALLAIS-POU - foss , Raphael GALLAIS-POU Subject: [PATCH 0/2] Add "BACKGROUND_COLOR" drm property Thread-Topic: [PATCH 0/2] Add "BACKGROUND_COLOR" drm property Thread-Index: AQHXcwzWM52+nQh1ikqrNewj647ZyA== Date: Wed, 7 Jul 2021 08:48:20 +0000 Message-ID: <20210707084557.22443-1-raphael.gallais-pou@foss.st.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-07_05:2021-07-06, 2021-07-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210707_014845_979531_89E3DBD2 X-CRM114-Status: GOOD ( 15.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This series aims to add a generic background color property for CRTC as discussed in the conversation: https://patchwork.freedesktop.org/patch/439585/ This patch "drm: add crtc background color property" is strongly inspired of Matthew Roper's. Please see: https://patchwork.freedesktop.org/patch/333632/ Raphael Gallais-Pou (2): drm: add crtc background color property drm/stm: ltdc: add crtc background color property support drivers/gpu/drm/drm_atomic_state_helper.c | 1 + drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_blend.c | 34 +++++++++++++++- drivers/gpu/drm/drm_mode_config.c | 6 +++ drivers/gpu/drm/stm/ltdc.c | 48 ++++++++++++++++++++--- include/drm/drm_blend.h | 1 + include/drm/drm_crtc.h | 12 ++++++ include/drm/drm_mode_config.h | 5 +++ include/uapi/drm/drm_mode.h | 28 +++++++++++++ 9 files changed, 132 insertions(+), 7 deletions(-)