unstub intel_guc_send_busy_loop() ct_send()
authorjsg <jsg@openbsd.org>
Fri, 7 Oct 2022 03:12:22 +0000 (03:12 +0000)
committerjsg <jsg@openbsd.org>
Fri, 7 Oct 2022 03:12:22 +0000 (03:12 +0000)
sys/dev/pci/drm/i915/gt/uc/intel_guc.h
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c

index 45d3a45..6d18569 100644 (file)
@@ -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)
index 0749627..57ffebb 100644 (file)
@@ -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
 }
 
 /*