From patchwork Thu May 10 08:29:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajesh Yadav X-Patchwork-Id: 10391383 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 B944E60153 for ; Thu, 10 May 2018 08:30:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB93C28932 for ; Thu, 10 May 2018 08:30:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EBC32893C; Thu, 10 May 2018 08:30:30 +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 45FC228924 for ; Thu, 10 May 2018 08:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934266AbeEJIa3 (ORCPT ); Thu, 10 May 2018 04:30:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45542 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934275AbeEJIa2 (ORCPT ); Thu, 10 May 2018 04:30:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2A0936019F; Thu, 10 May 2018 08:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525941028; bh=thUVz1So9+2eeyTx49ejdySFk8OoReXOhARUzO5q1Ug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=azajG8PhrUwqE8hl+YFvzNnkxxjXKTBpZNk3P65yU7Dp3bFV6RU4N/YCPibIUsQyI sudmK7HGEj4aFo/swmgfsKkEcsDF2HkJ/PMTlBmdaRycv4JSDmzYmSUY4I36InWg7B DfZEze52T3Y5p99ARGOUIhLQ8G9VhqPffbR7un5k= 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 A0653601A8; Thu, 10 May 2018 08:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525941027; bh=thUVz1So9+2eeyTx49ejdySFk8OoReXOhARUzO5q1Ug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PRSh1KUVMJBSR5BRKCbF5uQdGcjw5wFvXumG65bDfu63rXNm9b/KcVJy0AgAJFN5u xiJvDgj61k6/i5SOs5sxHVp5ctcZct10qVt//3mbjLQhdcgKYN62elmnSsXd7c3ixX GGuN/8nJlFNLH6EZAQx3GWFGyuLEdRUWCS27Eq4k= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A0653601A8 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 01/11] drm/msm: remove redundant pm_runtime_enable call from msm_drv Date: Thu, 10 May 2018 13:59:35 +0530 Message-Id: <1525940985-30428-2-git-send-email-ryadav@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525940985-30428-1-git-send-email-ryadav@codeaurora.org> References: <1525940985-30428-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. 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