summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-10-07 03:05:29 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-10-07 03:05:29 +0000
commit33c3da12f9f66fd07ad3259532476ae4b84cb2a1 (patch)
treec66afe683089257a9ecd9e24103d7ea671dc9507 /sys/dev
parentcc14e09b6851c19a0f6c03ad8eef89c3fded126e (diff)
unstub guc_ct_buffer_reset() h2g_has_room()
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c b/sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
index 83050b9c5ec..07496273273 100644
--- a/sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
+++ b/sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
@@ -131,8 +131,6 @@ static void guc_ct_buffer_desc_init(struct guc_ct_buffer_desc *desc)
static void guc_ct_buffer_reset(struct intel_guc_ct_buffer *ctb)
{
- STUB();
-#ifdef notyet
u32 space;
ctb->broken = false;
@@ -142,7 +140,6 @@ static void guc_ct_buffer_reset(struct intel_guc_ct_buffer *ctb)
atomic_set(&ctb->space, space);
guc_ct_buffer_desc_init(ctb->desc);
-#endif
}
static void guc_ct_buffer_init(struct intel_guc_ct_buffer *ctb,
@@ -596,14 +593,10 @@ static inline bool h2g_has_room(struct intel_guc_ct *ct, u32 len_dw)
return false;
}
- STUB();
- return false;
-#ifdef notyet
space = CIRC_SPACE(ctb->tail, head, ctb->size);
atomic_set(&ctb->space, space);
return space >= len_dw;
-#endif
}
static int has_room_nb(struct intel_guc_ct *ct, u32 h2g_dw, u32 g2h_dw)