Message ID | 20230728-solid-fill-v5-10-053dbefa909c@quicinc.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-msm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F73FC001DF for <linux-arm-msm@archiver.kernel.org>; Fri, 28 Jul 2023 17:03:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235700AbjG1RDe (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Fri, 28 Jul 2023 13:03:34 -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 <rfc822;linux-arm-msm@vger.kernel.org>); 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 <quic_jesszhan@quicinc.com> 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 <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Clark <robdclark@gmail.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, "Sean Paul" <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org> CC: <quic_abhinavk@quicinc.com>, <ppaalanen@gmail.com>, <contact@emersion.fr>, <laurent.pinchart@ideasonboard.com>, <sebastian.wick@redhat.com>, <ville.syrjala@linux.intel.com>, <dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <freedreno@lists.freedesktop.org>, <wayland-devel@lists.freedesktop.org>, Jessica Zhang <quic_jesszhan@quicinc.com> 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 Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
Support for Solid Fill Planes
|
expand
|
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) |