diff mbox series

[RFC,4/7] drm/intel/guc: Update CTB communication ABI

Message ID 20240611143008.1900-5-michal.wajdeczko@intel.com (mailing list archive)
State New, archived
Headers show
Series Promote GuC ABI headers to shared location | expand

Commit Message

Michal Wajdeczko June 11, 2024, 2:30 p.m. UTC
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 mbox series

Patch

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);