Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2065323pxp; Thu, 10 Mar 2022 18:55:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJziI9r1FdBoYQTpdvNPy0433szJq1TQPaH6gyYhlDLYwaDQBnmDQqbklkwKIpMpZ+q8rgpb X-Received: by 2002:a17:906:3583:b0:6d1:c07:fac0 with SMTP id o3-20020a170906358300b006d10c07fac0mr6657041ejb.749.1646967355038; Thu, 10 Mar 2022 18:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646967355; cv=none; d=google.com; s=arc-20160816; b=I+kudyPbAJORti98KSy3R+6YXaeICBUkAJDa/Rc8fszq+6wbkZAKCiowxtpcDaQ7ZU OHMpIvFMqLxyA+3o9CvVDZuyaNg2jPBjIVP8a+ErNOnODOyvNr5uxv578fxGYzqJzCTn ezzluLSdIelhk8U76koGywH784M2JMSUAvUSuX41pfldCb6Y1p3uFecd8HR7CTYMKA7G TdzbwVniwA89gHSGFBwMjum/DUMd2Iu7Mq3g93a1U5LegOT2QNHlQWNZdQ9XuNkoqiEv 1lURrKs7G2d6MVWTw19GZ74C7OLxSB//G+USBXt1uGr/Aa56QZDRY4x5/RgwraQzwW9i OoiQ== 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=TJVGSw0Gsp0ElMn++CtRLOM3hI6c+NG4/N8yRR58DmQ=; b=fiOUnw+TjAAGE3I5H9LzdR4f5uA18Y5RE50i1NkhFNdbomDmVpeQGTjmFSDvyRATtn /GEUITirbxsnJM3CYZ6PHBiPwANNVRWIBfyElukVjXq6m8ECnCAgYJeLkImZuQgvk1Wu WHyMNd5AN2c5UQF9EEkHCZ3PdemMPnRGkoL8z656jGurcd848EYHV0WUEQQSVneOQ+mI S9H8UfhpMNm8rKYrOp9YZn15mKEy62c4DT2DVM5O9AJJV8FUDKo/Lesc+aqLZgDnpAlj 6522hWdEPnn4mS28u937CAJ4N5hF4/EWrtpjOk5x6jHLEStyVUSfZaJAXiU8TLYdM5VL 5nMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nFHfOqVe; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb30-20020a1709071c9e00b006db4bd5202fsi4978090ejc.386.2022.03.10.18.55.30; Thu, 10 Mar 2022 18:55:55 -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=@gmail.com header.s=20210112 header.b=nFHfOqVe; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344752AbiCJXqf (ORCPT + 99 others); Thu, 10 Mar 2022 18:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344551AbiCJXqe (ORCPT ); Thu, 10 Mar 2022 18:46:34 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BD619DE8C; Thu, 10 Mar 2022 15:45:31 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id t187so6040987pgb.1; Thu, 10 Mar 2022 15:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TJVGSw0Gsp0ElMn++CtRLOM3hI6c+NG4/N8yRR58DmQ=; b=nFHfOqVeAKi8MeaSk15PZpvyM2vC539pwlaEbTxQd/oePNq3xoZ9IdbxmFGQHzwuzl ouayfD2MWaKeAcMYR3kdbw7bQtTMrzN9e/PpPyMng3zpKWktpQC5mPZFeZ5dMnt3zbB+ VIy5JCjQpWwv5ptUwYpCcXwGaBDvJ5uf6gx1IIf5PAYqbfBPdlPCtqqSnZr+pGKotUZg WY6Iw8waLo69on5La8JQFpvVPDH57przII556uWEXQpViIyxgVSiuitQmbx9zAoz9PAC hRHAu7lo4UQ/+jFLU1Y1cIiYe3bR9CNBnO3cHBjfQ9whAaAub5TBmx4hU80aNbK7xVth 4uAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TJVGSw0Gsp0ElMn++CtRLOM3hI6c+NG4/N8yRR58DmQ=; b=TCSvNiQ5lry3mXpmopiD0uQzgootczYJzEV7UkHrikK4ZD+CwKgXIyew6m/s8ds4OU iYyfmNZmPZMxz7y4v2DLBp900skmNvm+kze174EHDWw71i3FOIZo9GAK9hZIsXm6Beim laAlg9gLgnWW4vDv2lLpLpKrZNnHkYzzvI7gt0psJqRvKdZxSVd6gUBZhLYSnld6Q+El 1zfx5B6rcAbCngKfc64PfFuFVx6AZGLbHrSIXIt1q45j+oKir0lYvswySVZ+SMDR9Sow gWYSL0qnguufDais1QVfy/uIUCIy8tuN3vTN/J4evSIM/Td9Q3x4NHgHEKUOXBXy4DSU CfcQ== X-Gm-Message-State: AOAM53265OxORPzBlMM/79a/Aj9zVeYw/VqQvLeyW1P32L7PUCKLf8E5 FpArlF6OoL5GPE9y2wZi2MM= X-Received: by 2002:a63:e817:0:b0:373:8abb:2c51 with SMTP id s23-20020a63e817000000b003738abb2c51mr6075407pgh.185.1646955931416; Thu, 10 Mar 2022 15:45:31 -0800 (PST) Received: from localhost ([2601:1c0:5200:a6:307:a401:7b76:c6e5]) by smtp.gmail.com with ESMTPSA id f2-20020a056a0022c200b004f7649f78dbsm5915119pfj.139.2022.03.10.15.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 15:45:29 -0800 (PST) From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Abhinav Kumar , Akhil P Oommen , AngeloGioacchino Del Regno , Bjorn Andersson , Jonathan Marek , linux-kernel@vger.kernel.org (open list), Vladimir Lypak Subject: [PATCH 0/3] drm/msm/gpu: More system suspend fixes Date: Thu, 10 Mar 2022 15:46:03 -0800 Message-Id: <20220310234611.424743-1-robdclark@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Rob Clark In particular, we want to park the scheduler threads so that suspend is not racing with the kthread pushing more jobs to the driver. Rob Clark (3): drm/msm/gpu: Rename runtime suspend/resume functions drm/msm/gpu: Park scheduler threads for system suspend drm/msm/gpu: Remove mutex from wait_event condition drivers/gpu/drm/msm/adreno/adreno_device.c | 79 ++++++++++++++++++---- 1 file changed, 65 insertions(+), 14 deletions(-) -- 2.35.1