From mboxrd@z Thu Jan 1 00:00:00 1970 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 974F0C41513 for ; Tue, 11 Jun 2024 18:07:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F34110E703; Tue, 11 Jun 2024 18:07:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="aJpFYhSm"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id C383310E6FE for ; Tue, 11 Jun 2024 18:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718129269; x=1749665269; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=npnkDBdR7H0OxUVXQhYbPBYl7hgwGb04cqp0wmPfSmA=; b=aJpFYhSmP+jP1upXc+CPkVJVign3FYu92zk8jTU+YqcFeF7+jTCUhyVa SwOKGNx+6+QnblDxcA5mHx+9SOXw/57G86fgUZAMGadZN717oNK/SGwRK jrX/leOzC6dn2Wri1DuW+pQlRFRTs3wJeNYwFqK1H5Kwr+XYuNYi2o67f wRY+MRb9L7Icxjsg6kD8Nf8bPXN//YkRi9TY6x0l6uRzp34jcYOVcn72z RPzI5PYoeARl/C5uxo7eLf2rv7KzmIhljyDJBTnF2WL4XDILXLejwkDb6 EOyDKO7jwA2+bCXDnSLYesalYrzHH6EsOojJn1vsNbaarV/Dj61LCR5kM Q==; X-CSE-ConnectionGUID: QQ6VgH+rR8CByN4fsoaEgQ== X-CSE-MsgGUID: smkaGZkiRFWfSaf8Nx3wrw== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="32398376" X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="32398376" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 11:07:48 -0700 X-CSE-ConnectionGUID: Mf6p4BqNSdOAQco9NH2lTQ== X-CSE-MsgGUID: j4E9QlMITbSNx95nujBiag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="39620432" Received: from mwajdecz-mobl.ger.corp.intel.com ([10.94.248.185]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 11:07:48 -0700 From: Michal Wajdeczko To: intel-xe@lists.freedesktop.org Cc: Michal Wajdeczko Subject: [PATCH 2/4] drm/xe/guc: Update GuC CTB Descriptor ABI Date: Tue, 11 Jun 2024 20:07:33 +0200 Message-Id: <20240611180735.1988-3-michal.wajdeczko@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20240611180735.1988-1-michal.wajdeczko@intel.com> References: <20240611180735.1988-1-michal.wajdeczko@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Add missing definition of the GUC_CTB_STATUS_DISABLED bit. Signed-off-by: Michal Wajdeczko --- drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h b/drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h index 8f86a16dc577..ca47205388be 100644 --- a/drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h +++ b/drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h @@ -37,6 +37,7 @@ * | | | - _`GUC_CTB_STATUS_OVERFLOW` = 1 (head/tail too large) | * | | | - _`GUC_CTB_STATUS_UNDERFLOW` = 2 (truncated message) | * | | | - _`GUC_CTB_STATUS_MISMATCH` = 4 (head/tail modified) | + * | | | - _`GUC_CTB_STATUS_DISABLED` = 8 (explicitly disabled) | * +---+-------+--------------------------------------------------------------+ * |...| | RESERVED = MBZ | * +---+-------+--------------------------------------------------------------+ @@ -52,6 +53,7 @@ struct guc_ct_buffer_desc { #define GUC_CTB_STATUS_OVERFLOW (1 << 0) #define GUC_CTB_STATUS_UNDERFLOW (1 << 1) #define GUC_CTB_STATUS_MISMATCH (1 << 2) +#define GUC_CTB_STATUS_DISABLED (1 << 3) u32 reserved[13]; } __packed; static_assert(sizeof(struct guc_ct_buffer_desc) == 64); -- 2.43.0