Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1138168rwl; Fri, 31 Mar 2023 07:12:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bcDjPrHl/l+aRzn2xv3Vzt0rXWzIiJcZVO84HOFOCXJYB+V195hT9JmFFe+kxaTSWL1JSd X-Received: by 2002:a05:6402:4315:b0:502:616b:cbd5 with SMTP id m21-20020a056402431500b00502616bcbd5mr6501584edc.2.1680271979319; Fri, 31 Mar 2023 07:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680271979; cv=none; d=google.com; s=arc-20160816; b=zonGrjmEnZzr0QHAvweUrpEn6fnWa+eDuAPBZ4BDaqp3wYOXDbFEO+mKlEfz13r+aZ ZK9tQioI5IUObm9fAT9CLcKUSvEAEIs3oNg+wPL66FGTq+87tBQgsNSPzcpXUdH1g4dd l7vvmPt8VUhOPNjGhx4V4S3gMN6wiQ2WpgADGXFE5gyXhtwZQeL85jYeEC3tIE4K6Agm iAHnU4VCvsnuStCS+3vWIk6JJm1areww0Gswwlc/62Z1VSGM+WNPB0H0/scNlum7nVlU UumAeiL5SB+UWA8ZvTbZJCBgxBznPUGzCnl3AsT+fDPDha1AAJpEUTB+LeNaaUmsBztd i+fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Js71QqueNw1lY9w3+9bRhDoCcGiBN6sicN22goZqP/g=; b=FtIFLOGs9xymUV8MDBu+MnZcv0W35u5O7nr+FjuE1rFhcRSnf5zljmBhvUO/irSGZ4 qxnCEBldrdWs4m4ObK6siWgcvPo/oo1UPIc16ZSbKILX209QhFIQUjqw1OJq60cJs0IE 3kl6ouksUwTtfnHsGEcJf8tYOqSQrzmfkfZcrU33iEQvMuxKDrD9RLKqd0x0sb8F3NVj 2NR9IWqG+xNZMCmo6FM1tXnnT0RnsM65gLRdYRExQHaWp3BoHy8NsXCMqXkOz0dEBsZZ hk3DIq56sRBeVS4wuTHix8tx/BkxlKqikubfuZfkeCQ5gBmTZKycJX4wjfkzVvwfJOGA ZYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XJauhhwg; 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 c15-20020a056402120f00b0050202f2c2f7si1215277edw.424.2023.03.31.07.12.20; Fri, 31 Mar 2023 07:12:59 -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=XJauhhwg; 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 S232573AbjCaN67 (ORCPT + 99 others); Fri, 31 Mar 2023 09:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjCaN65 (ORCPT ); Fri, 31 Mar 2023 09:58:57 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E837910407; Fri, 31 Mar 2023 06:58:55 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32VCI1bo023681; Fri, 31 Mar 2023 13:58:52 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 : content-transfer-encoding; s=qcppdkim1; bh=Js71QqueNw1lY9w3+9bRhDoCcGiBN6sicN22goZqP/g=; b=XJauhhwgOaBQXfNrxoWCLSezD1LNzFbsyuGHvVkgSeqr1LA2ZtgOxbKLyow5mGCEAfvb 9tjKuKT8JodGd/ZN9DvPd+WBtYnlOp89C+o3OXIJ7elGy31xMODVg/N3WHc9/akf727h 0CJmuWJQOZoAZSyFl8u7TQG+g5i+OqdDHd2+yFVr5wTYU7oAGZStRJnGqFPPuS81YNRK lA9G7VurISecEG/wzrSzm58JqIagLKxd5q21ugusdKYwCuKQzeyQu2b/RZi/kYroQy90 oMvxxy8XMzT58Qr4xr3mv5F5JiiPZ2txvUdrhd1V3vOjiHsCmiI/sishODdifUDu4SFk yQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pnu6cs8fa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 Mar 2023 13:58:52 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32VDwpaA002708 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 Mar 2023 13:58:51 GMT Received: from vpolimer-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 31 Mar 2023 06:58:46 -0700 From: Vinod Polimera To: , , , CC: Vinod Polimera , , , , , , , , , , , Subject: [PATCH v1 0/3] Fixes for PSR Date: Fri, 31 Mar 2023 19:28:31 +0530 Message-ID: <1680271114-1534-1-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: cipl5w24uUFHSg9DMu_zpqF8gwhOLfbM X-Proofpoint-ORIG-GUID: cipl5w24uUFHSg9DMu_zpqF8gwhOLfbM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-31_07,2023-03-31_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1011 priorityscore=1501 mlxlogscore=610 phishscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303310109 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 while in virtual terminal with PSR enabled, there will be no atomic commits triggered resulting in no screen update. Update the dirtyfb flag into plane state during atomic check to flush the pixel data explicitly. Avoid scheduling PSR commits from different work queues while running in PSR mode already. Vinod Polimera (3): drm/msm/dpu: set dirty_fb flag while in self refresh mode msm/disp/dpu: allow atomic_check in PSR usecase msm: skip the atomic commit of self refresh while PSR running drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 5 ++++- drivers/gpu/drm/msm/msm_atomic.c | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) -- 2.7.4