From patchwork Fri May 31 22:24:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniele Ceraolo Spurio X-Patchwork-Id: 10970765 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 B5A0714DB for ; Fri, 31 May 2019 22:24:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1DAF28CCA for ; Fri, 31 May 2019 22:24:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9302628DA7; Fri, 31 May 2019 22:24:39 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A83F28CCA for ; Fri, 31 May 2019 22:24:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D39CE898FD; Fri, 31 May 2019 22:24:37 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6091D898FD for ; Fri, 31 May 2019 22:24:36 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2019 15:24:35 -0700 X-ExtLoop1: 1 Received: from dceraolo-linux.fm.intel.com ([10.1.27.145]) by fmsmga001.fm.intel.com with ESMTP; 31 May 2019 15:24:35 -0700 From: Daniele Ceraolo Spurio To: intel-gfx@lists.freedesktop.org Date: Fri, 31 May 2019 15:24:07 -0700 Message-Id: <20190531222409.9177-1-daniele.ceraolospurio@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] split out intel_display_power X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Separate the display PM from the PCI-level runtime PM. I'll follow this up with v2 of the rpm encapsulation series [1], but I'd like to get this in before that to avoid having to carry this big dumb diff in that series. [1] https://patchwork.freedesktop.org/series/60751/ Daniele Ceraolo Spurio (2): drm/i915: extract intel_display_power.h/c from intel_runtime_pm.h/c drm/i915: move more defs in intel_display_power.h drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/Makefile.header-test | 1 + drivers/gpu/drm/i915/i915_drv.h | 111 +- drivers/gpu/drm/i915/intel_display.h | 82 - drivers/gpu/drm/i915/intel_display_power.c | 4612 +++++++++++++++++++ drivers/gpu/drm/i915/intel_display_power.h | 288 ++ drivers/gpu/drm/i915/intel_runtime_pm.c | 4791 +------------------- drivers/gpu/drm/i915/intel_runtime_pm.h | 83 +- 8 files changed, 5004 insertions(+), 4965 deletions(-) create mode 100644 drivers/gpu/drm/i915/intel_display_power.c create mode 100644 drivers/gpu/drm/i915/intel_display_power.h Acked-by: Jani Nikula Acked-by: Imre Deak