Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1918555rwd; Tue, 13 Jun 2023 16:49:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rax9w0o7XZL4PHEpiqcaIuUcuOmtJbJZGpVlwrkcoC612rwrz7hZEXc5zUaThUbMd612f X-Received: by 2002:a05:6402:138f:b0:514:7f39:aa81 with SMTP id b15-20020a056402138f00b005147f39aa81mr7432674edv.20.1686700140445; Tue, 13 Jun 2023 16:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686700140; cv=none; d=google.com; s=arc-20160816; b=sC+yLNtVJm+luk7KErIszRLcnD9HUT598OGSayooXxoU/PiieeFVV3WVjls92nMnv6 G6rb0vQ+g27nhHYFuqR0BGybyMsDwHlXt6WRpATC6swlY7JRy8/JpkZA/FOy6DjswYis tO8YVDJpAGnYhmWqYC6u4xcOPryvaSGuGNWAm88uu92oIAYoJTGnF2zSFvKPkI/0eag5 44XhpSplbefVMEodHmTRaiy0tr+4vftrnZAGjgMqLzYJvkNuFbKimUptpN9WptJPKCGY vhRGPOaVuNsgmHFeJvCYBriy1o1mpjco59vlwcVnsnXp14w8V4Kv20qqds5aTNQ3wUe/ Cf+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ctKTyt/vRYOW2hOdkAlAFbDbF0FXeBY7ZxXL6QXrUQo=; b=YntFXlPpm/fhnQUddifMrULCDdSDFUorrzjH+Y/9IUTKe5w95IjH1afJRMjYvoYa3x FSqTi4GvX87cmxgEvGIw1yoYDm4Zm+UL/mP2tTR3bxijBB0uZ0f5OdOJGZc7vdD3grjK mKzJNUoY/2yy3/RoDrGMcbYHEzniqR/XdUARRYVxyJ/3q8/RWUvpGsueO5/InmjF77VX wvz9KzD1d8Wa59rd3b4pWb5CTmIqWZ4+PLcZDv5pIYFSbJpm4fB2MSXxy7sOSfe/ki4A WuDq3+UiTqQWCkgPyhX6FmVBt46awZjszbd3tsRRgqWdtaIdRjjNjJTGGCxwoEa5A+Gb PqKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OeStJ6IC; 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 s13-20020aa7c54d000000b005149904c8f3si4320548edr.411.2023.06.13.16.48.29; Tue, 13 Jun 2023 16:49:00 -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=OeStJ6IC; 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 S241304AbjFMXqu (ORCPT + 99 others); Tue, 13 Jun 2023 19:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241382AbjFMXqg (ORCPT ); Tue, 13 Jun 2023 19:46:36 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DAC71FEF; Tue, 13 Jun 2023 16:45:25 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35DKRYZv001552; Tue, 13 Jun 2023 23:44:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=ctKTyt/vRYOW2hOdkAlAFbDbF0FXeBY7ZxXL6QXrUQo=; b=OeStJ6ICslW1RtplU02TncC7ORiDwoBmHxjH8SUKt60Ha/mAjlsCWEgFMHs0domtJHH4 QdH9DpGn9IgN1WWk/YLbmpmsTj57UV15LmbskDcX/SgjVXw/lJBTwmsS9vNuvJRRK5Qa vFGjd1RHFeYj6CFHpsBzWO1mvvJjtVht/AEcnCTiwkCxmeB2+vPZ1bRUyz+cIuWCDcaN SaSJY5Gkiz1rhdHzKDYVWEegSSr0m867zrutErechyOVJd6BLOU5+ts2Vx5mVSdd7DGr pEZ2xLtmP+W6zhLUyhakGCpbQWWd/eCyi7d0XtFXUHCdWIIMyALeLG23074FWUDYGeJe jw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r6f7a2h9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 23:44:18 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35DNiH8t018899 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 23:44:17 GMT Received: from [10.134.70.142] (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.42; Tue, 13 Jun 2023 16:44:16 -0700 Message-ID: <8ed140ba-3731-6f42-dc01-de6a983af1bb@quicinc.com> Date: Tue, 13 Jun 2023 16:44:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v3 0/2] retrieve DSI DSC through priv-dsi[0] Content-Language: en-US To: Kuogee Hsieh , , , , , , , , , , , CC: , , , , , References: <1686694742-20862-1-git-send-email-quic_khsieh@quicinc.com> From: Abhinav Kumar In-Reply-To: <1686694742-20862-1-git-send-email-quic_khsieh@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: PlSHYPrqrDit3TLZzI22Eu1MbMhAD6oq X-Proofpoint-ORIG-GUID: PlSHYPrqrDit3TLZzI22Eu1MbMhAD6oq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-13_23,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 malwarescore=0 mlxscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306130208 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2, 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 On 6/13/2023 3:19 PM, Kuogee Hsieh wrote: > moving retrieving struct drm_dsc_cofnig from setup_display to > atomic_enable() and delete struct drm_dsc_config from > struct msm_display_info. > This needs re-wording. Currently, struct drm_dsc_config is retrieved from DSI driver in dpu_encoder_setup_display() and this model works for non-pluggable displays. However this does not scale for pluggable displays because the struct drm_dsc_config is no longer valid after a disconnect and needs to be retrieved from the sink again. Move retrieval of struct drm_dsc_config from dpu_encoder_setup_display() to dpu_encoder_virt_atomic_enable() to make the code path common between pluggable and non-pluggable displays. And also delete struct drm_dsc_config from struct msm_display_info as it will now be unused. > Kuogee Hsieh (2): > drm/msm/dpu: retrieve DSI DSC struct through priv->dsi[0] > drm/msm/dpu: remove struct drm_dsc_config from struct msm_display_info > > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 44 ++++++++++++++++++++--------- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 2 -- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 -- > 3 files changed, 30 insertions(+), 18 deletions(-) >