From patchwork Thu Apr 6 04:45:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dixit, Ashutosh" X-Patchwork-Id: 13202853 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A3E0C7618D for ; Thu, 6 Apr 2023 04:45:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 54D9A10E23E; Thu, 6 Apr 2023 04:45:29 +0000 (UTC) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A40B10E23E; Thu, 6 Apr 2023 04:45:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680756328; x=1712292328; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HZ/Unz1ljLHFrubdxmaXRmDGzZn4ykz8y1yovhYxWPU=; b=izdC6D5yIJDg7XdvGwBfbsO+hzAWp0mFv/BHV8RPSrnoHBlGTdl0ZDrQ +HRsrx8ZKG7RxH8DcscN2LvZoOFYK2NJEAN4hbB0Ys7HPcXaZdq14r4Ut BaDE7xN+8pPYrMvYpB8L02KwYlcazXzVsp77Vl8ud0fobFHXUDLHeASS1 15/JSDcj2DSoX3j/7UCwNgeu6djFFVusw7321im9PE4gwj03X7vlottvA 9qHR9zI0RG5WxzINhHPChxje/xhHaTv1Gq7w0T12kLhyySxazx9BjsDm9 OAZR6QN3dq7WZIeOtkEnAoWFHLtDxuGllIS4FYuvsu8jUsQ1kwRrjGNGY A==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="345231903" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="345231903" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 21:45:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="830612079" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="830612079" Received: from orsosgc001.jf.intel.com ([10.165.21.138]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 21:45:26 -0700 From: Ashutosh Dixit To: intel-gfx@lists.freedesktop.org Subject: [PATCH v4 0/3] drm/i915/guc: Disable PL1 power limit when loading GuC firmware Date: Wed, 5 Apr 2023 21:45:19 -0700 Message-Id: <20230406044522.3108359-1-ashutosh.dixit@intel.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , dri-devel@lists.freedesktop.org, Rodrigo Vivi Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Split the v3 patch into 3 patches for easier review, can squash later if needed. Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Ashutosh Dixit (3): drm/i915/hwmon: Get mutex and rpm ref just once in hwm_power_max_write drm/i915/guc: Disable PL1 power limit when loading GuC firmware drm/i915/hwmon: Block waiting for GuC reset to complete drivers/gpu/drm/i915/gt/uc/intel_uc.c | 9 ++++ drivers/gpu/drm/i915/i915_hwmon.c | 75 ++++++++++++++++++++++----- drivers/gpu/drm/i915/i915_hwmon.h | 7 +++ 3 files changed, 78 insertions(+), 13 deletions(-)