From f90624e84133253598a425e7e692f1a16d445d94 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 7 Oct 2022 03:12:22 +0000 Subject: [PATCH] unstub intel_guc_send_busy_loop() ct_send() --- sys/dev/pci/drm/i915/gt/uc/intel_guc.h | 4 ---- sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sys/dev/pci/drm/i915/gt/uc/intel_guc.h b/sys/dev/pci/drm/i915/gt/uc/intel_guc.h index 45d3a4553e1..6d18569c685 100644 --- a/sys/dev/pci/drm/i915/gt/uc/intel_guc.h +++ b/sys/dev/pci/drm/i915/gt/uc/intel_guc.h @@ -126,9 +126,6 @@ static inline int intel_guc_send_busy_loop(struct intel_guc *guc, u32 g2h_len_dw, bool loop) { - STUB(); - return -ENOSYS; -#ifdef notyet int err; unsigned int sleep_period_ms = 1; bool not_atomic = !in_atomic() && !irqs_disabled(); @@ -157,7 +154,6 @@ retry: } return err; -#endif } static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) 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 07496273273..57ffebb9b24 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 @@ -661,9 +661,6 @@ static int ct_send(struct intel_guc_ct *ct, u32 response_buf_size, u32 *status) { - STUB(); - return -ENOSYS; -#ifdef notyet struct intel_guc_ct_buffer *ctb = &ct->ctbs.send; struct ct_request request; unsigned long flags; @@ -751,7 +748,6 @@ unlink: spin_unlock_irqrestore(&ct->requests.lock, flags); return err; -#endif } /* -- 2.20.1