From patchwork Tue Aug 15 20:29:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Previn X-Patchwork-Id: 13354267 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 F2EB3C001E0 for ; Tue, 15 Aug 2023 20:29:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC7A610E291; Tue, 15 Aug 2023 20:29:21 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id D276210E290; Tue, 15 Aug 2023 20:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692131359; x=1723667359; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=elToGikdUAbmzzTio9pAKIr+8vOqiubRGX4QXka362Q=; b=llcZEjerW7EKmNAbG5PaP610QDcxW+QEvxELoV+KhdmFP6Q9YNYR4T9H qw38ISLrznxaSnaOLVlYK4qP8YzLgYbROCsQri4Mjnt4zCgZejrfqf/UT S/lCbBEXPVvSpqn+GU3h7ASmKsfT7OjRxpkgs00M7JTY1qbuSIoYjymK3 eXr3sABCUXkSm1r4U/y23MCjJqgxNhD995uZ+pxRvMkrJvcH+RkSDwpxQ nlatKnx/Aky1rekP62frhze4A+WfGWRgqaY4c229sZhL72rNon3+EgiYr GWSuTxFUm7vsjuue3mY4NPm/zKQMArHaQ6o6SJT1KILY20Ynlrjnv8JnP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="372366874" X-IronPort-AV: E=Sophos;i="6.01,175,1684825200"; d="scan'208";a="372366874" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2023 13:29:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="907746491" X-IronPort-AV: E=Sophos;i="6.01,175,1684825200"; d="scan'208";a="907746491" Received: from aalteres-desk.fm.intel.com ([10.80.57.53]) by orsmga005.jf.intel.com with ESMTP; 15 Aug 2023 13:29:18 -0700 From: Alan Previn To: intel-gfx@lists.freedesktop.org Subject: [PATCH v3 0/3] drm/i915/pxp/mtl: Update gsc-heci cmd submission to align with fw/hw spec Date: Tue, 15 Aug 2023 13:29:13 -0700 Message-Id: <20230815202916.1211768-1-alan.previn.teres.alexis@intel.com> X-Mailer: git-send-email 2.39.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: Daniele Ceraolo Spurio , dri-devel@lists.freedesktop.org, Alan Previn Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" For MTL, update the GSC-HECI packet size and the max firmware response timeout to match internal fw specs. Enforce setting run-alone bit in LRC for protected contexts. Changes from prio revs: v2: - Patch #3: fix sparse warning reported by kernel test robot. v1: - N/A (Re-test) Signed-off-by: Alan Previn Alan Previn (3): drm/i915/pxp/mtl: Update pxp-firmware response timeout drm/i915/pxp/mtl: Update pxp-firmware packet size drm/i915/gt/pxp: User PXP contexts requires runalone bit in lrc drivers/gpu/drm/i915/gt/intel_lrc.c | 25 +++++++++++++++++++ .../i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c | 3 +++ .../drm/i915/pxp/intel_pxp_cmd_interface_43.h | 2 +- drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h | 6 ++--- 4 files changed, 32 insertions(+), 4 deletions(-) base-commit: 85f20fb339f05ec4221bb295c13e46061c5c566f