Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1588603rwb; Fri, 28 Jul 2023 11:37:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFVLYSibdtbp3fbFc/+UFecNDqYvLP2zSKkjg3gynxJtac9oqsvqCcXLViUz1LmwVDkRSBP X-Received: by 2002:a2e:8912:0:b0:2b8:36d4:7b0a with SMTP id d18-20020a2e8912000000b002b836d47b0amr2550512lji.29.1690569474543; Fri, 28 Jul 2023 11:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690569474; cv=none; d=google.com; s=arc-20160816; b=YdWZT2uvOTbwNNf2ISbKenqbJySL+AO0pTpZLW5boBMEspXlWE7UwxFNiirnJQQu2c cYRCTKRzkeU75skk+bFsJiKjFRfoDvkzDsuR11DMixsW8fISociVC5ODN7R5kAVUff2N eRPxMvjWBCK8eTIKirnDvTJbypw8WJfO46G57sdRLQRiKolgEoWB4SNSgH4EScbYqiiP UINYlc+c0vteX3dBcMQWM8fJAhy3awxJfk+UNRSOxeMxC3JCMf0tOtcVYo2Zml8XRANd 8MbS7kuXYKZGxjum+ZcU1ObmEnwzNR2roAROTAikwoNl0Wq+iiTNwdLAKvkJbCqQ95VW C6gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=n6410PfLzWvSgRAG4/M0R3t8DV0qPND27s2N6LqnoWI=; fh=uR21f6Y7gVloD7/Gth73scWCecBWQpvog8nrDVRX+3A=; b=w3gjLAwUEh2v7125x7Bi4rUC6DydKww+ZFKy74uLuC0W4Ydgqs8Tac8K5PAjcmn+1o bpfyphow8IH5rcFVNlHK/elPvPHBINlFTHBgjgRtyoITGA2G3nF8oLhwpf3sDouSIYyp yrizNE7kws4T3U12HSIruQRTI98jtGwSfwZhP+yHSLF7SHHP/FaDz3jENlCd+8r4dxU9 +JYkQkB4KVvvnROG9Xz1FE+UwMbL9TmDtFoGTOmTwCMHJBKFcRr09m5siOevHnFMM+NP hKsi64h/cvIwrpBq3F/m7kJPJvrvpePtP/wgKR5hVIbN1a5yYbGFHQSRsIzg/6BdycdS hOUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="TaqjFoA/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kf17-20020a17090776d100b00992ee06bddbsi226675ejc.176.2023.07.28.11.37.28; Fri, 28 Jul 2023 11:37:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="TaqjFoA/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235960AbjG1RDk (ORCPT + 99 others); Fri, 28 Jul 2023 13:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235656AbjG1RDc (ORCPT ); Fri, 28 Jul 2023 13:03:32 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB0C135BF; Fri, 28 Jul 2023 10:03:20 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36SEbvav016276; Fri, 28 Jul 2023 17:02:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : references : in-reply-to : to : cc; s=qcppdkim1; bh=n6410PfLzWvSgRAG4/M0R3t8DV0qPND27s2N6LqnoWI=; b=TaqjFoA/R0AGn8luJveb5qKmXysJ68PDzzniLDkLlWTcZKV/pJuQVSkKiiNOu9AG1LBf XlCMkB+cWToyiH4GUxiEtZEPEXCEA00YcZWHdszx1SxgxJh+GMlep0Vq4wvz+K9bGAqB Ug/JYNk8/jUo66U9XM40hFZyvQuZAdp0JH0/qjHXLPIyTmdViepRp4VW+5/qSaLgiYss +N4210Dw4zgj2/wQ6z8eruoYXkw5gXMS5EYviOs5m01AkmUw7rzBHsc01lfFfJLi4Ork 1qrGSa23cT46DlJHv9EtdV5u956Cz43KTbhjVL0cPqLdGKWQBl7sIq/si2ql4fnaHgFD bA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3k7u43bv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 17:02:56 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36SH2th5001118 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 17:02:55 GMT Received: from jesszhan-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 28 Jul 2023 10:02:55 -0700 From: Jessica Zhang Date: Fri, 28 Jul 2023 10:02:19 -0700 Subject: [PATCH RFC v5 10/10] drm/msm/dpu: Add solid fill and pixel source properties MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230728-solid-fill-v5-10-053dbefa909c@quicinc.com> References: <20230728-solid-fill-v5-0-053dbefa909c@quicinc.com> In-Reply-To: <20230728-solid-fill-v5-0-053dbefa909c@quicinc.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Clark , Dmitry Baryshkov , "Sean Paul" , Marijn Suijten CC: , , , , , , , , , , , Jessica Zhang X-Mailer: b4 0.13-dev-034f2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690563772; l=975; i=quic_jesszhan@quicinc.com; s=20230329; h=from:subject:message-id; bh=sgzLHuMhjMtie+iYaSqMcZ/1c3taCUAukt6rYmT5YKU=; b=96oC0NvqoNXXLzvgQUVpAL0HsWExLobtcGAvKkQTT5MFx4JETxm/9ut5Z6tjIlKjGPK/MUvi0 nwnELLydfaoCCBsawzs/cycGmsq6w88IfqDY0FO1svvPVw3TGNGrXaP X-Developer-Key: i=quic_jesszhan@quicinc.com; a=ed25519; pk=gAUCgHZ6wTJOzQa3U0GfeCDH7iZLlqIEPo4rrjfDpWE= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Or7lmCDD41WsVM75cSoouj1dt-aQ35vU X-Proofpoint-ORIG-GUID: Or7lmCDD41WsVM75cSoouj1dt-aQ35vU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 mlxlogscore=744 suspectscore=0 priorityscore=1501 clxscore=1015 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307280154 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add solid_fill and pixel_source properties to DPU plane Reviewed-by: Dmitry Baryshkov Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index 95fc0394d13e..0a311dc45ab5 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c @@ -1452,6 +1452,8 @@ struct drm_plane *dpu_plane_init(struct drm_device *dev, DPU_ERROR("failed to install zpos property, rc = %d\n", ret); drm_plane_create_alpha_property(plane); + drm_plane_create_solid_fill_property(plane); + drm_plane_create_pixel_source_property(plane, BIT(DRM_PLANE_PIXEL_SOURCE_SOLID_FILL)); drm_plane_create_blend_mode_property(plane, BIT(DRM_MODE_BLEND_PIXEL_NONE) | BIT(DRM_MODE_BLEND_PREMULTI) | -- 2.41.0