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: 12362091 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 43F75C07E95 for ; Wed, 7 Jul 2021 08:48:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 16F3661CBF for ; Wed, 7 Jul 2021 08:48:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16F3661CBF 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=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ACD876E055; Wed, 7 Jul 2021 08:48:41 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1E30B6E055 for ; Wed, 7 Jul 2021 08:48:39 +0000 (UTC) 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" 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yannick FERTRE , Raphael GALLAIS-POU , Philippe CORNU , Raphael GALLAIS-POU - foss Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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(-)