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 Update i915_trace.h.



details:   https://anonhg.NetBSD.org/src/rev/7bcd727d2dfb
branches:  trunk
changeset: 992580:7bcd727d2dfb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:06:00 2018 +0000

description:
Update i915_trace.h.

diffstat:

 sys/external/bsd/drm2/include/i915_trace.h |  29 ++++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r fc689dd53f5a -r 7bcd727d2dfb sys/external/bsd/drm2/include/i915_trace.h
--- a/sys/external/bsd/drm2/include/i915_trace.h        Mon Aug 27 07:05:50 2018 +0000
+++ b/sys/external/bsd/drm2/include/i915_trace.h        Mon Aug 27 07:06:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_trace.h,v 1.5 2018/08/27 06:18:17 riastradh Exp $ */
+/*     $NetBSD: i915_trace.h,v 1.6 2018/08/27 07:06:00 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -119,14 +119,12 @@
 }
 
 static inline void
-trace_i915_gem_request_wait_begin(struct drm_i915_gem_request *request __unused,
-    uint32_t seqno __unused)
+trace_i915_gem_request_wait_begin(struct drm_i915_gem_request *request __unused)
 {
 }
 
 static inline void
-trace_i915_gem_request_wait_end(struct drm_i915_gem_request *request __unused,
-    uint32_t seqno __unused)
+trace_i915_gem_request_wait_end(struct drm_i915_gem_request *request __unused)
 {
 }
 
@@ -143,8 +141,9 @@
 }
 
 static inline void
-trace_i915_gem_ring_sync_to(struct drm_i915_gem_request *from __unused,
-    struct drm_i915_gem_request *to __unused, u32 seqno __unused)
+trace_i915_gem_ring_sync_to(struct drm_i915_gem_request *to_req __unused,
+    struct intel_engine_cs *from __unused,
+    struct drm_i915_gem_request *from_req __unused)
 {
 }
 
@@ -169,4 +168,20 @@
 {
 }
 
+static inline void
+trace_i915_context_create(struct intel_context *ctx __unused)
+{
+}
+
+static inline void
+trace_i915_context_free(struct intel_context *ctx __unused)
+{
+}
+
+static inline void
+trace_switch_mm(struct intel_engine_cs *ring __unused,
+    struct intel_context *to __unused)
+{
+}
+
 #endif  /* _I915_TRACE_H_ */



Home | Main Index | Thread Index | Old Index