From patchwork Fri Oct 5 15:48:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Wang X-Patchwork-Id: 10628343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DF4A933 for ; Fri, 5 Oct 2018 15:48:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9341829853 for ; Fri, 5 Oct 2018 15:48:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8754C29855; Fri, 5 Oct 2018 15:48:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A9C129853 for ; Fri, 5 Oct 2018 15:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727733AbeJEWsD (ORCPT ); Fri, 5 Oct 2018 18:48:03 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:34495 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727572AbeJEWsD (ORCPT ); Fri, 5 Oct 2018 18:48:03 -0400 Received: by mail-yb1-f194.google.com with SMTP id 184-v6so5610500ybg.1 for ; Fri, 05 Oct 2018 08:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jsMVe3F6jxk4s0qpYmRJfUF6ntY+2rKLECM93yqaBSE=; b=dOBZapjuJqeSNenwO18vEQHbtvFoOvrVvSMU/Wo6EqCpAwKvLhbEtIA+vr4Qbs+6zb 3e1JMkiPdvQAKDdDlZNXs1bWgwdNV3zFTaLwKo9dgIsPUgVMmQc/otXmrh8oZZVmymg/ rXbWl4fyW1YAbpUhxesvHcXtcCjNV3sfxWemI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jsMVe3F6jxk4s0qpYmRJfUF6ntY+2rKLECM93yqaBSE=; b=dRgWvFeU8DezISYziVe1aSAVs4tfQWTkwUbEqehH2jPKSfHVkoB16b5lw0wPoIOGM0 iaNWaDfchS3JFWJgvn/CueW+bfXP98stgZ5Txxgjlxo+PSiKQy3FA/pQULjrQf46bZ6m hXhidB5FR1Lm9VZPS3XeuioOHsprk7NcGSMilSYwdewWekSthMF6TKeIZzlL42WoxGex 4rvgKJx9D7RkiWdPz4x3Cqr3iykHAPDmyYniRFZ72AWkMsa5hbbr7/6vag4TL/RePurN xY23Rq4orEmZ1nSeG+dgAgszAiX37ztX+5DaObcP7iTOjfTN2rGOSq9pAVh76P3rHFoO BK3Q== X-Gm-Message-State: ABuFfoi0xh5uj8d3gdsK2VQ8DTYZfVlfVAu0yRsmw5Fl2VPYjjwyosle Y3rk8nWjwWQ5MWBbMYY5rtjNbg== X-Google-Smtp-Source: ACcGV61SV8uvwtmvAi653DKM1dOviXYx/Q6S9CjZPr499F/fJDC55cjuHtNoOt+7j79kp7gecEpyug== X-Received: by 2002:a25:d947:: with SMTP id q68-v6mr6725595ybg.262.1538754526644; Fri, 05 Oct 2018 08:48:46 -0700 (PDT) Received: from bzwang.cnc.corp.google.com ([2620:0:1013:11:6f9e:dcbe:41ef:a61]) by smtp.gmail.com with ESMTPSA id x64-v6sm7592281ywx.103.2018.10.05.08.48.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 08:48:45 -0700 (PDT) From: Bruce Wang To: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: seanpaul@chromium.org, jsanka@codeaurora.org, robdclark@gmail.com, abhinavk@codeaurora.org, jcrouse@codeaurora.org Subject: [PATCH 0/4] drm/msm: Use atomic helpers for PM suspend/resume Date: Fri, 5 Oct 2018 11:48:39 -0400 Message-Id: <20181005154843.172326-1-bzwang@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Patches 1-2: Changes msm_pm_resume implementation to use atomic helpers and removes the previously used dpu_kms_pm_suspend/resume functions. Patches 3-4: Removes reliance on knowledge about suspend state from crtc Bruce Wang (4): drm/msm/dpu: Remove dpu_kms_pm_suspend/resume drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume drm/msm/dpu: Remove suspend state tracking from crtc drm/msm/dpu: Remove suspend_state from dpu_kms drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 61 +---------- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 - drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 123 ---------------------- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 31 ------ drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 15 +-- drivers/gpu/drm/msm/msm_drv.c | 28 ++--- drivers/gpu/drm/msm/msm_kms.h | 3 - 7 files changed, 17 insertions(+), 246 deletions(-)