From patchwork Fri Feb 17 23:47:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Harrison X-Patchwork-Id: 13145357 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 CB6DFC64EC4 for ; Fri, 17 Feb 2023 23:48:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC0E710E481; Fri, 17 Feb 2023 23:48:06 +0000 (UTC) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id B922610E473; Fri, 17 Feb 2023 23:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676677683; x=1708213683; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4wpgS6unnZT43kwEW+5oAyw6wRirKYs/iMsvEgYkGCQ=; b=O3ruuA/Xdz9CqT/ZZyrE2Ak45jTn4+LKX92Eq7ElUOUveQoz6Sxj/3ln gp20YxZHDreKC2eP0q+B/i4wwlkJOIiRjMrf25ImLT1+P8uD07mzsr1Yz ae2Z86N8frTpIJJhqyZrx0yICyMA7w3WOx48tfe4oUjbauNngdSwXwi8I j3xg25i4Fdl6Qt6oCro81F0QNif9RsEKfLjiQ4Wm+1VyBNZe5vDIRqdEP KgoA3XBIcdNRdIsvitViQ3exfH13KuQde4X6FdBxxke3/lNu1gmbNp3E/ GkoaNHc0/0G/ev7ZULY8zywK7sVFPHWZMjsHt0bzUATY9E3cOZkoPBOTz g==; X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="394600971" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="394600971" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 15:48:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="739427154" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="739427154" Received: from relo-linux-5.jf.intel.com ([10.165.21.152]) by fmsmga004.fm.intel.com with ESMTP; 17 Feb 2023 15:47:56 -0800 From: John.C.Harrison@Intel.com To: Intel-GFX@Lists.FreeDesktop.Org Date: Fri, 17 Feb 2023 15:47:13 -0800 Message-Id: <20230217234715.3609670-1-John.C.Harrison@Intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Subject: [Intel-gfx] [PATCH 0/2] Improvements to GuC load failure handling X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: DRI-Devel@Lists.FreeDesktop.Org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: John Harrison Add more decoding of the GuC load failures. Also include information about GT frequency to see if timeouts are due to a failure to boost the clocks. Finally, increase the timeout to accommodate situations where the clock boost does fail. Signed-off-by: John Harrison John Harrison (2): drm/i915/guc: Improve GuC load error reporting drm/i915/guc: Allow for very slow GuC loading .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h | 17 +++ drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 128 +++++++++++++++--- drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h | 4 +- 3 files changed, 127 insertions(+), 22 deletions(-)