Message ID | 1674814545-9453-1-git-send-email-quic_kalyant@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp755421wrn; Fri, 27 Jan 2023 02:17:59 -0800 (PST) X-Google-Smtp-Source: AK7set9tfv5kEH88C55Ycl7NaIP3ztck85g86f7ZmE3mZOsoAFHwy4HV3ux9DULCzuNXlANdjvZh X-Received: by 2002:a17:90b:388e:b0:22c:1920:27e5 with SMTP id mu14-20020a17090b388e00b0022c192027e5mr5890109pjb.41.1674814679230; Fri, 27 Jan 2023 02:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674814679; cv=none; d=google.com; s=arc-20160816; b=YAjU99zK16tJOGz4aj0PtPnFiYOQBWOVj0OqowSNDErmNz8cMQcz52n0c4hAU0CRrS 6asVdx9yszmIth+i3HE26fITARHm0jHk+YVMR/Pfua/1nQe+CHml8bCet5G2nKhMT/Ws YQiXhffe8yWLv07HDD5eJQRaKeSSNEQFeR+d34F8VEOWja53tFx5Eoosjsi5mKisjRIy 6ig/pQbp9Jr/yi0opniRirN3NAzBThXSJZa6b2/Xp7V3LsYMrg+Be1iQQ1hPVu7qqt5X gUVrGWom3zwKiq9iQmjDKOfSUjiAsEmKXYt6p8SwAULYrb/Bz1E+6xXfWUXHiilXtH06 AcDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=L9AIHrzPObiEg8iX+Q9mRhYtMsa2DNoNppfxH9yTVJE=; b=I08g5DgZQgHSUnkZf+P4WRvy6i3G2ylgzL4NdXjVMTGE4ggfmTHhIueOmWAqclVpKQ WveJNMy42gRc3S8ko1SVsO8NuljI0Ks9679qfkkIT97PawIX19CcR2LqnHjt7o8TDKnn wfGKVrDI+oFR+iReu9q6d2QLatRI3p124tktFxs5MHNQufuB/qXP9eSdsE4X3Bnq80Tk 8LElpQLnBWzimpWDiqCU6vLdJ1vasOc1ORrkGOeA9UTYb97hex5EM6ze5gjs5qs9Flo9 4LOkKhsgnQMkTivcvXhQYjzCLZggIYhxuo/Oi7Z5rnKZcdNc73NQyrn32K56cromt2wm OF9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VZUUrRTO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gf18-20020a17090ac7d200b0022bea9f876fsi1584852pjb.23.2023.01.27.02.17.46; Fri, 27 Jan 2023 02:17:59 -0800 (PST) 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=VZUUrRTO; 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 S231941AbjA0KQA (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 05:16:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231981AbjA0KP6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 05:15:58 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3885DBC9; Fri, 27 Jan 2023 02:15:56 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30R92XQa030231; Fri, 27 Jan 2023 10:15:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=L9AIHrzPObiEg8iX+Q9mRhYtMsa2DNoNppfxH9yTVJE=; b=VZUUrRTONqm1XdeeGfm+p8MnvDZ86M0NzpPBjdrGJ3xOQSLK6oQcNSYRDL3VgiTVrvkz 0OX3OJNIvfiTAhIkkvpYJI1at2kD8n7Wzjp6W6cazcEjiaad00TK+SgWK9jMaZyErlv/ qKRZZM4sOgU1pgPyvSfHRPeO/ZuZcOKBv1D9pwqLQRxETE77XAeDRmyc+n8/rvRWQ+Gk vhrh7TSAYLfz5gzlN8ZaopRFhL3kL957E8UGBqMXTbH45nNQOGliEb0VrDN4Xue7+pYV QvtRY/INFS+U29Y4dTrmox47AeUAKiUGfnP6Mf9zU2CIhtcqHmE/1Wm4n78HdF4+QH7R dg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nbdnyb104-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Jan 2023 10:15:50 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 30RAFl1G002356; Fri, 27 Jan 2023 10:15:47 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3n894m35jx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Jan 2023 10:15:47 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 30RAFlPa002350; Fri, 27 Jan 2023 10:15:47 GMT Received: from kalyant-linux.qualcomm.com (kalyant-linux.qualcomm.com [10.204.66.210]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 30RAFlFF002349; Fri, 27 Jan 2023 10:15:47 +0000 Received: by kalyant-linux.qualcomm.com (Postfix, from userid 94428) id 717144B77; Fri, 27 Jan 2023 02:15:46 -0800 (PST) From: Kalyan Thota <quic_kalyant@quicinc.com> To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Kalyan Thota <quic_kalyant@quicinc.com>, linux-kernel@vger.kernel.org, robdclark@chromium.org, dianders@chromium.org, swboyd@chromium.org, quic_vpolimer@quicinc.com, dmitry.baryshkov@linaro.org, quic_abhinavk@quicinc.com, marijn.suijten@somainline.org Subject: [PATCH 0/3] Reserve dspps based on user request Date: Fri, 27 Jan 2023 02:15:42 -0800 Message-Id: <1674814545-9453-1-git-send-email-quic_kalyant@quicinc.com> X-Mailer: git-send-email 2.7.4 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: lXsefe0fBkSBlRWxEMGEZGNxdCqs9qS0 X-Proofpoint-GUID: lXsefe0fBkSBlRWxEMGEZGNxdCqs9qS0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-27_05,2023-01-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 suspectscore=0 priorityscore=1501 spamscore=0 malwarescore=0 mlxlogscore=704 phishscore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301270096 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756170477237428122?= X-GMAIL-MSGID: =?utf-8?q?1756170477237428122?= |
Series | Reserve dspps based on user request | |
Message
Kalyan Thota
Jan. 27, 2023, 10:15 a.m. UTC
This series will enable color features on sc7280 target which has primary panel as eDP The series removes dspp allocation based on encoder type and allows the dspp reservation based on user request via ctm. The series will release/reserve the dpu resources when ever there is a topology change to suit the new requirements. Kalyan Thota (3): drm/msm/disp/dpu1: clear dspp reservations in rm release drm/msm/disp/dpu1: add dspps into reservation if there is a ctm request drm/msm/disp/dpu1: reserve the resources on topology change drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 54 +++++++++++++++++++++++------ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 4 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 6 ++-- 5 files changed, 50 insertions(+), 17 deletions(-)