Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include Add some trace points to i915_...
details: https://anonhg.NetBSD.org/src/rev/369442d62f7c
branches: trunk
changeset: 365922:369442d62f7c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:17:11 2018 +0000
description:
Add some trace points to i915_trace.h.
diffstat:
sys/external/bsd/drm2/include/i915_trace.h | 49 +++++++++++++++++++++++++++++-
1 files changed, 48 insertions(+), 1 deletions(-)
diffs (63 lines):
diff -r 6c93d09df984 -r 369442d62f7c sys/external/bsd/drm2/include/i915_trace.h
--- a/sys/external/bsd/drm2/include/i915_trace.h Mon Aug 27 07:17:01 2018 +0000
+++ b/sys/external/bsd/drm2/include/i915_trace.h Mon Aug 27 07:17:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_trace.h,v 1.8 2018/08/27 07:14:29 riastradh Exp $ */
+/* $NetBSD: i915_trace.h,v 1.9 2018/08/27 07:17:11 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -184,6 +184,53 @@
}
static inline void
+trace_i915_page_directory_entry_alloc(struct i915_address_space *vm __unused,
+ uint32_t pdpe __unused, uint64_t start __unused,
+ uint64_t pde_shift __unused)
+{
+}
+
+static inline void
+trace_i915_page_directory_pointer_entry_alloc(
+ struct i915_address_space *vm __unused, uint32_t pml4e __unused,
+ uint64_t start __unused, uint64_t pde_shift __unused)
+{
+}
+
+static inline void
+trace_i915_page_table_entry_alloc(struct i915_address_space *vm __unused,
+ uint32_t pde __unused, uint64_t start __unused,
+ uint64_t pde_shift __unused)
+{
+}
+
+static inline void
+trace_i915_page_table_entry_map(struct i915_address_space *vm __unused,
+ uint32_t pde __unused, struct i915_page_table *pt __unused,
+ uint32_t first __unused, uint32_t count __unused, uint32_t bits __unused)
+{
+}
+
+static inline void
+trace_i915_ppgtt_create(struct i915_address_space *vm __unused)
+{
+}
+
+static inline void
+trace_i915_ppgtt_release(struct i915_address_space *vm __unused)
+{
+}
+
+#define VM_TO_TRACE_NAME(vm) ""
+
+static inline void
+trace_i915_va_alloc(struct i915_address_space *vm __unused,
+ uint64_t start __unused, uint64_t length __unused,
+ const char *name __unused)
+{
+}
+
+static inline void
trace_switch_mm(struct intel_engine_cs *ring __unused,
struct intel_context *to __unused)
{
Home |
Main Index |
Thread Index |
Old Index