1*10f82c92Sriastradh /* $NetBSD: gpu_sched_trace.h,v 1.1 2018/08/27 14:02:32 riastradh Exp $ */
2*10f82c92Sriastradh
3*10f82c92Sriastradh /*-
4*10f82c92Sriastradh * Copyright (c) 2018 The NetBSD Foundation, Inc.
5*10f82c92Sriastradh * All rights reserved.
6*10f82c92Sriastradh *
7*10f82c92Sriastradh * This code is derived from software contributed to The NetBSD Foundation
8*10f82c92Sriastradh * by Taylor R. Campbell.
9*10f82c92Sriastradh *
10*10f82c92Sriastradh * Redistribution and use in source and binary forms, with or without
11*10f82c92Sriastradh * modification, are permitted provided that the following conditions
12*10f82c92Sriastradh * are met:
13*10f82c92Sriastradh * 1. Redistributions of source code must retain the above copyright
14*10f82c92Sriastradh * notice, this list of conditions and the following disclaimer.
15*10f82c92Sriastradh * 2. Redistributions in binary form must reproduce the above copyright
16*10f82c92Sriastradh * notice, this list of conditions and the following disclaimer in the
17*10f82c92Sriastradh * documentation and/or other materials provided with the distribution.
18*10f82c92Sriastradh *
19*10f82c92Sriastradh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*10f82c92Sriastradh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*10f82c92Sriastradh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*10f82c92Sriastradh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*10f82c92Sriastradh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*10f82c92Sriastradh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*10f82c92Sriastradh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*10f82c92Sriastradh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*10f82c92Sriastradh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*10f82c92Sriastradh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*10f82c92Sriastradh * POSSIBILITY OF SUCH DAMAGE.
30*10f82c92Sriastradh */
31*10f82c92Sriastradh
32*10f82c92Sriastradh #ifndef _AMDGPU_GPU_SCHED_TRACE_H_
33*10f82c92Sriastradh #define _AMDGPU_GPU_SCHED_TRACE_H_
34*10f82c92Sriastradh
35*10f82c92Sriastradh static inline void
trace_amd_sched_job(struct amd_sched_job * sched_job)36*10f82c92Sriastradh trace_amd_sched_job(struct amd_sched_job *sched_job)
37*10f82c92Sriastradh {
38*10f82c92Sriastradh }
39*10f82c92Sriastradh
40*10f82c92Sriastradh static inline void
trace_amd_sched_process_job(struct amd_sched_fence * s_fence)41*10f82c92Sriastradh trace_amd_sched_process_job(struct amd_sched_fence *s_fence)
42*10f82c92Sriastradh {
43*10f82c92Sriastradh }
44*10f82c92Sriastradh
45*10f82c92Sriastradh #endif /* _AMDGPU_GPU_SCHED_TRACE_H_ */
46