Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp695964rwb; Wed, 16 Nov 2022 06:34:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7DbKEPkz7AipOS2uLTUxVNz+25rZ7BCI0fNwayw60sQb65yZiwshLxGxxsWqPBk71YBYtA X-Received: by 2002:a17:906:8cf:b0:7ae:59dd:e3f4 with SMTP id o15-20020a17090608cf00b007ae59dde3f4mr18266214eje.755.1668609265211; Wed, 16 Nov 2022 06:34:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668609265; cv=none; d=google.com; s=arc-20160816; b=Hw2z1LNTgZVCoW+5xxtyUQLucB4GlYEC1LOE78zK2vJ7Vq4hb2AEunMnsha+fF0t98 /4echcPxPEPASZMJKSIzPk5kOpiCleI8hcCvs1SFqJv9GdBFDjtcBge6tKHfFHqebPFp CAg5WX97nHD/iY/lksJC87e8ZbJBqc8fqmcV0z4klB+Gx2ZxEtt+lcxW9kGSs44JKLCE DIqmmy9InvQPTLRSUAw1E56y5av3TjS2j/6P9O5gfXw6YcJCC0XoNoLd7IbrzT/Fqo6o 3kj8KVfAF35jWzHtSGH9Bg0YGi7js8GLJ7tGYtgYKv/ZARDlCtYXPGTgp8N5q8VPSBhN rNsA== 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=2koXY0aEfYtayLecGazENv7+KqrR7v4BhKdVunVKIsc=; b=eHgiztBYjzqXPsrfpGLiL0qv9TjvBgmxAAlc+5Yt+miffBae7HY946TFHv+6XT834q IZTfX6sv9yuJMRGLVEu/Pvz9847Q/bLq7rddrX4INmSZOFJgE1+1KVfLgi98SawmSc0T v6BQekjH9qSj47CBvRgl/l0DKk3AziIBtWPbd9UNmhlUJpFnpzkZY427RO9YSnHAXkqK hXPPdq1Iom7Pa6FJAbOAPcxCS2LbtppqrD96i+rdN0OPvQns/t/YIoGKsHQup93gSJeN OtMFjzeQ03uw1VSVRN7SyWPn4UzpVmWLe4z/3qI4LqTo8qEgmiFgwFVINs9MHrgz93d4 7/pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YgWvaGbG; 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 u3-20020a17090657c300b0078356aaeb61si10361795ejr.286.2022.11.16.06.34.01; Wed, 16 Nov 2022 06:34:25 -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=YgWvaGbG; 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 S232869AbiKPObA (ORCPT + 92 others); Wed, 16 Nov 2022 09:31:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiKPOay (ORCPT ); Wed, 16 Nov 2022 09:30:54 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23FE167F5; Wed, 16 Nov 2022 06:30:52 -0800 (PST) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AGEU7I7018059; Wed, 16 Nov 2022 14:30:49 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=2koXY0aEfYtayLecGazENv7+KqrR7v4BhKdVunVKIsc=; b=YgWvaGbGEPSu+oDKr/oo/ckI6lVkPTqbJtetHaPoxd8fDVmxisZ1gRzWRMyHanM4f5M7 RyhfpYhJ39n/WvGzex9vMRN4aCT6f4TRSfr4NhvP7U6X7R+NPIVNjvia5ZbLs3YErbhR 40iIbI1M9HR3Ye1pVyg54TYz0QNCoQ9OBw5j13xnQZrrO+ucMVgXyLEjE5/1QRfbPN20 z1xE6tVw/2UiqHnSB2U2timrP4JSZWOiMvT9vOtRvFL4wFywmVIxxYaV9vfxAgCcdI3T sQSVr9/kOo7+BbVEdSgfwxhJa4PFjzXwsakq2YCIqvAOvFoKeUMPSv0XaCjrhT0kUyvR kA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kvyg9gat2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Nov 2022 14:30:48 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 2AGEUiH4008022; Wed, 16 Nov 2022 14:30:44 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3kt4jkxbc5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Nov 2022 14:30:44 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2AGEUiee008017; Wed, 16 Nov 2022 14:30:44 GMT Received: from kalyant-linux.qualcomm.com (kalyant-linux.qualcomm.com [10.204.66.210]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 2AGEUham008016; Wed, 16 Nov 2022 14:30:44 +0000 Received: by kalyant-linux.qualcomm.com (Postfix, from userid 94428) id 339CA48A0; Wed, 16 Nov 2022 06:30:43 -0800 (PST) From: Kalyan Thota To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Kalyan Thota , 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 Subject: [PATCH v2 0/3] add color management support for the crtc Date: Wed, 16 Nov 2022 06:30:37 -0800 Message-Id: <1668609040-2549-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-GUID: _P8hv34Ke4rusqaOYJq9kpVEnmXNrCPD X-Proofpoint-ORIG-GUID: _P8hv34Ke4rusqaOYJq9kpVEnmXNrCPD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-16_03,2022-11-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=590 spamscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211160100 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org Add color management support for the crtc provided there are enough dspps that can be allocated from the catalog Kalyan Thota (3): drm/msm/disp/dpu1: pin 1 crtc to 1 encoder drm/msm/disp/dpu1: add helper to know if display is pluggable drm/msm/disp/dpu1: add color management support for the crtc drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 5 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 6 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 23 ++++++++- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 6 +++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 75 ++++++++++++++++++++++++++--- 5 files changed, 101 insertions(+), 14 deletions(-) -- 2.7.4