Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Subject: [RFC 4/7] drm/intel/guc: Update CTB communication ABI
Date: Tue, 11 Jun 2024 16:30:05 +0200	[thread overview]
Message-ID: <20240611143008.1900-5-michal.wajdeczko@intel.com> (raw)
In-Reply-To: <20240611143008.1900-1-michal.wajdeczko@intel.com>

Add missing definition of the CTB_STATUS_UNUSED bit.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/intel/guc/abi/guc_communication_ctb_abi.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/intel/guc/abi/guc_communication_ctb_abi.h b/drivers/gpu/drm/intel/guc/abi/guc_communication_ctb_abi.h
index 8f86a16dc577..57f3c44e0a40 100644
--- a/drivers/gpu/drm/intel/guc/abi/guc_communication_ctb_abi.h
+++ b/drivers/gpu/drm/intel/guc/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_UNUSED` = 8 (CTB is not in use)         |
  *  +---+-------+--------------------------------------------------------------+
  *  |...|       | 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_UNUSED				(1 << 3)
 	u32 reserved[13];
 } __packed;
 static_assert(sizeof(struct guc_ct_buffer_desc) == 64);
-- 
2.43.0


  parent reply	other threads:[~2024-06-11 14:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 14:30 [RFC 0/7] Promote GuC ABI headers to shared location Michal Wajdeczko
2024-06-11 14:30 ` [RFC 1/7] drm/xe/guc: " Michal Wajdeczko
2024-06-11 14:30 ` [RFC 2/7] Documentation/gpu: Separate GuC ABI section Michal Wajdeczko
2024-06-11 14:30 ` [RFC 3/7] Documentation/gpu: Switch to shared GuC ABI definitions Michal Wajdeczko
2024-06-11 14:30 ` Michal Wajdeczko [this message]
2024-06-11 14:30 ` [RFC 5/7] drm/intel/guc: Add new KLV definitions Michal Wajdeczko
2024-06-11 14:30 ` [RFC 6/7] drm/i915: Use shared GuC ABI definitions Michal Wajdeczko
2024-06-11 14:30 ` [RFC 7/7] drm/xe: Promote SR-IOV GuC ABI definitions to shared location Michal Wajdeczko
2024-06-11 14:36 ` ✓ CI.Patch_applied: success for Promote GuC ABI headers " Patchwork
2024-06-11 14:36 ` ✗ CI.checkpatch: warning " Patchwork
2024-06-11 14:37 ` ✓ CI.KUnit: success " Patchwork
2024-06-11 14:49 ` ✓ CI.Build: " Patchwork
2024-06-11 14:51 ` ✗ CI.Hooks: failure " Patchwork
2024-06-11 14:52 ` ✗ CI.checksparse: warning " Patchwork
2024-06-11 15:13 ` [RFC 0/7] " Lucas De Marchi
2024-06-11 15:34 ` ✓ CI.BAT: success for " Patchwork
2024-06-11 17:08 ` ✗ CI.FULL: failure " Patchwork
2024-06-11 20:32 ` [RFC 0/7] " John Harrison
2024-06-11 21:45   ` Michal Wajdeczko
2024-06-11 22:12     ` Rodrigo Vivi
2024-06-12  4:12       ` Lucas De Marchi
2024-06-12 21:18     ` John Harrison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240611143008.1900-5-michal.wajdeczko@intel.com \
    --to=michal.wajdeczko@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox