From patchwork Mon Dec 5 17:45:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuogee Hsieh X-Patchwork-Id: 13064920 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 46D42C4332F for ; Mon, 5 Dec 2022 17:46:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5375A10E276; Mon, 5 Dec 2022 17:45:56 +0000 (UTC) Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8784910E0C4; Mon, 5 Dec 2022 17:45:43 +0000 (UTC) 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 2B5HGNIM015436; Mon, 5 Dec 2022 17:45:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=BsIhV61f48a1exBvKZpEkb+RMgLqTQbvrtEGK9lnO6E=; b=aL3LksvnbTplh4Ol1TIM/H6XvWi+tIVt0x6RnyAsJBhU5vtlKpHblD9MKSZed/pBp9p/ VfmZHTPQa+EGoB8A+6aG0jC377W4vK/3bxkMCOXDUXlCk0HfM4lGd9FuXyNb19Mmxam2 2Ugu3kIuYliyoMGq2ZftNrqMrUXzbnDkBHMLwy4D8WAU4WXP9fUkpSZoDb4sCU5nn8/S FNvwa2Ef/rUg4UmvbsosHknxAK45TQREMYx1Of1YH3810oXyO0sSgZMFCq6eJ9l8Wigr VwC4EWYkhuKT2U8oOJ4EDx1vUMIG4WanZR8Vb4JHQUSbgCrtVoDkUUTUbfrZHpp73z2x ww== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m7xudcc5u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Dec 2022 17:45:38 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B5HjbZs002688 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Dec 2022 17:45:37 GMT Received: from khsieh-linux1.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 5 Dec 2022 09:45:36 -0800 From: Kuogee Hsieh To: , , , , , , , , , , , , , , , , Subject: [PATCH v7 0/5] Add data-lanes and link-frequencies to dp_out endpoint Date: Mon, 5 Dec 2022 09:45:23 -0800 Message-ID: <1670262328-26870-1-git-send-email-quic_khsieh@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 16KuvKfQ8wQxNhwmvCDdEJiF5xkf_FS9 X-Proofpoint-ORIG-GUID: 16KuvKfQ8wQxNhwmvCDdEJiF5xkf_FS9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-05_01,2022-12-05_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 suspectscore=0 spamscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=861 adultscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212050146 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: quic_sbillaka@quicinc.com, linux-arm-msm@vger.kernel.org, quic_abhinavk@quicinc.com, linux-kernel@vger.kernel.org, Kuogee Hsieh , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add DP both data-lanes and link-frequencies property to dp_out endpoint and support functions to DP driver. Kuogee Hsieh (5): arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint dt-bindings: msm/dp: add data-lanes and link-frequencies property drm/msm/dp: parser data-lanes as property of dp_out endpoint drm/msm/dp: parser link-frequencies as property of dp_out endpoint drm/msm/dp: add support of max dp link rate .../bindings/display/msm/dp-controller.yaml | 22 +++++++++---- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 6 +++- arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 6 +++- drivers/gpu/drm/msm/dp/dp_display.c | 4 +++ drivers/gpu/drm/msm/dp/dp_panel.c | 7 ++-- drivers/gpu/drm/msm/dp/dp_panel.h | 1 + drivers/gpu/drm/msm/dp/dp_parser.c | 38 ++++++++++++++++++---- drivers/gpu/drm/msm/dp/dp_parser.h | 2 ++ 8 files changed, 68 insertions(+), 18 deletions(-)