From patchwork Fri May 11 14:49:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajesh Yadav X-Patchwork-Id: 10394503 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 13C3C602B1 for ; Fri, 11 May 2018 14:50:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAA3928F1D for ; Fri, 11 May 2018 14:50:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E92F728F44; Fri, 11 May 2018 14:50:24 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 A8AD728F33 for ; Fri, 11 May 2018 14:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753138AbeEKOuW (ORCPT ); Fri, 11 May 2018 10:50:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50812 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120AbeEKOuV (ORCPT ); Fri, 11 May 2018 10:50:21 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 26F7560C55; Fri, 11 May 2018 14:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526050221; bh=aOPcoeoIgl9vZb1GmlPIBqOUCR88UbulWZprlx5n8hU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iIT4miB1PABeKkv+wegpc+lDsi8BhTdkmz1grQhsOsrgEHau2GGG9ijoA0SdCX9wU hP+aNo07j1uSuUzOpQyIyRJSBRkuUZOfpx/Bi2LLTN6YrwkRWSSEVclYzZK9oi831B kL1TrxtvNIOOM+7+yP4qRArNDb+81gQ7P6HZs3nQ= Received: from ryadav-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ryadav@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C62276019F; Fri, 11 May 2018 14:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526050210; bh=aOPcoeoIgl9vZb1GmlPIBqOUCR88UbulWZprlx5n8hU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VPhF5teIY0p+grIhfaWGB2uu/tYoaeBkpWsBhwYcbXpSQJpMI/yIEK+b/lf00fEoR iEFmmQc7CCu0JLbkrseWgwda7YUPKIBLlvONgqvq+4hb5cr/OM/oM8nsU4AeLfhVqe CH7jDpgRlloTP798PK9o+GWiVoj7SYlL8S+/ky+c= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C62276019F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ryadav@codeaurora.org From: Rajesh Yadav To: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: Rajesh Yadav , robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org Subject: [DPU PATCH v2 01/12] drm/msm: remove redundant pm_runtime_enable call from msm_drv Date: Fri, 11 May 2018 20:19:27 +0530 Message-Id: <1526050178-31893-2-git-send-email-ryadav@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1526050178-31893-1-git-send-email-ryadav@codeaurora.org> References: <1526050178-31893-1-git-send-email-ryadav@codeaurora.org> 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 MDSS top level device includes the common power resources and it's corresponding driver (i.e. mdp5_mdss) handles call to enable/disable runtime_pm for enabling these resources. Remove redundant pm_runtime_enable call from msm_drv. Changes in v2: - none Signed-off-by: Rajesh Yadav Reviewed-by: Sean Paul --- drivers/gpu/drm/msm/msm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index ebc40a9..9bb436f 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -581,7 +581,6 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv) goto fail; } priv->kms = kms; - pm_runtime_enable(dev); /** * Since kms->funcs->hw_init(kms) might call