unstub append_oa_sample()
authorjsg <jsg@openbsd.org>
Mon, 31 Jan 2022 02:21:36 +0000 (02:21 +0000)
committerjsg <jsg@openbsd.org>
Mon, 31 Jan 2022 02:21:36 +0000 (02:21 +0000)
sys/dev/pci/drm/i915/i915_perf.c

index b57f838..772dd5e 100644 (file)
@@ -603,9 +603,6 @@ static int append_oa_sample(struct i915_perf_stream *stream,
                            size_t *offset,
                            const u8 *report)
 {
-       STUB();
-       return false;
-#ifdef notyet
        int report_size = stream->oa_buffer.format_size;
        struct drm_i915_perf_record_header header;
 
@@ -627,7 +624,6 @@ static int append_oa_sample(struct i915_perf_stream *stream,
        (*offset) += header.size;
 
        return 0;
-#endif
 }
 
 /**