From patchwork Fri Mar 29 22:10:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wajdeczko X-Patchwork-Id: 10877805 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 368FD17E0 for ; Fri, 29 Mar 2019 22:11:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1783328E8F for ; Fri, 29 Mar 2019 22:11:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B437292AE; Fri, 29 Mar 2019 22:11: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=-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 933D728E8F for ; Fri, 29 Mar 2019 22:11:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 75D576E54C; Fri, 29 Mar 2019 22:11:28 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 15AC46E54C for ; Fri, 29 Mar 2019 22:11:27 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 15:11:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,286,1549958400"; d="scan'208";a="287130440" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga004.jf.intel.com with ESMTP; 29 Mar 2019 15:11:25 -0700 Received: from mwajdecz-MOBL1.ger.corp.intel.com (mwajdecz-mobl1.ger.corp.intel.com [10.249.137.139]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id x2TMBN0Q017079; Fri, 29 Mar 2019 22:11:24 GMT From: Michal Wajdeczko To: intel-gfx@lists.freedesktop.org Date: Fri, 29 Mar 2019 22:10:48 +0000 Message-Id: <20190329221118.17308-1-michal.wajdeczko@intel.com> X-Mailer: git-send-email 2.10.1.windows.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/30] GuC 32.0.3 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 New GuC firmwares (for SKL, BXT, KBL, ICL) with updated ABI interface. Gen9 will only support HuC authentication. GuC submission is optional only for Gen11. Note: we're seeing some issues on specific machines, compare [1] and [2] [1] https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4030/fi-icl-guc/igt@gem_exec_suspend@basic-s3.html [2] https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4030/fi-icl-u2/igt@gem_exec_suspend@basic-s3.html Daniele Ceraolo Spurio (2): drm/i915/guc: New GuC IDs based on engine class and instance drm/i915/guc: New GuC stage descriptors Michal Wajdeczko (23): drm/i915/guc: Don't allow GuC submission on pre-Gen11 drm/i915/guc: Simplify preparation of GuC parameter block drm/i915/guc: Update GuC firmware versions and names drm/i915/guc: Update GuC firmware CSS header drm/i915/guc: Update GuC boot parameters drm/i915/guc: Update GuC sleep status values drm/i915/guc: Update GuC sample-forcewake command drm/i915/guc: Always ask GuC to update power domain states drm/i915/guc: Update GuC ADS object definition drm/i915/guc: Reset GuC ADS during sanitize drm/i915/guc: New GuC interrupt register for Gen11 drm/i915/guc: New GuC scratch registers for Gen11 drm/i915/guc: Enable GuC CTB communication on Gen11 drm/i915/huc: New HuC status register for Gen11 drm/i915/guc: Define GuC firmware version for Icelake drm/i915/huc: Define HuC firmware version for Icelake drm/i915/guc: Treat GuC initialization failure as -EIO drm/i915/guc: New GuC workqueue item submission mechanism drm/i915/guc: Add support for resume-parsing wq item drm/i915/guc: New reset-engine command drm/i915/guc: New engine-reset-complete message HAX: prevent CI failures on pre-Gen11 configs with forced GuC HAX: Enable HuC Oscar Mateo (5): drm/i915/guc: Update GuC CTB response definition drm/i915/guc: Make use of the SW counter field in the context descriptor drm/i915/guc: Properly capture & release GuC interrupts on Gen11 drm/i915/guc: Create vfuncs for the GuC interrupts control functions drm/i915/guc: Correctly handle GuC interrupts on Gen11 drivers/gpu/drm/i915/i915_debugfs.c | 30 +- drivers/gpu/drm/i915/i915_drv.h | 38 +- drivers/gpu/drm/i915/i915_gem.c | 3 +- drivers/gpu/drm/i915/i915_gem_context.c | 15 +- drivers/gpu/drm/i915/i915_irq.c | 94 +++- drivers/gpu/drm/i915/i915_params.h | 2 +- drivers/gpu/drm/i915/i915_pci.c | 1 + drivers/gpu/drm/i915/i915_perf.c | 1 + drivers/gpu/drm/i915/i915_reg.h | 3 + drivers/gpu/drm/i915/intel_context_types.h | 2 + drivers/gpu/drm/i915/intel_drv.h | 3 - drivers/gpu/drm/i915/intel_engine_cs.c | 8 +- drivers/gpu/drm/i915/intel_guc.c | 200 ++++++-- drivers/gpu/drm/i915/intel_guc.h | 23 +- drivers/gpu/drm/i915/intel_guc_ads.c | 161 +++--- drivers/gpu/drm/i915/intel_guc_ads.h | 1 + drivers/gpu/drm/i915/intel_guc_ct.c | 2 +- drivers/gpu/drm/i915/intel_guc_fw.c | 87 ++-- drivers/gpu/drm/i915/intel_guc_fwif.h | 274 +++++----- drivers/gpu/drm/i915/intel_guc_reg.h | 25 + drivers/gpu/drm/i915/intel_guc_submission.c | 527 ++++++++++++++++---- drivers/gpu/drm/i915/intel_huc.c | 56 ++- drivers/gpu/drm/i915/intel_huc_fw.c | 12 + drivers/gpu/drm/i915/intel_lrc.c | 24 +- drivers/gpu/drm/i915/intel_lrc.h | 4 + drivers/gpu/drm/i915/intel_ringbuffer.h | 2 + drivers/gpu/drm/i915/intel_uc.c | 42 +- drivers/gpu/drm/i915/intel_uc_fw.c | 20 +- drivers/gpu/drm/i915/selftests/intel_guc.c | 16 +- 29 files changed, 1222 insertions(+), 454 deletions(-)