xref: /linux/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h (revision e7d759f31ca295d589f7420719c311870bb3166f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _I915_ACTIVE_H_
7 #define _I915_ACTIVE_H_
8 
9 #include "i915_active_types.h"
10 
11 static inline void i915_active_init(struct i915_active *ref,
12 				    int (*active)(struct i915_active *ref),
13 				    void (*retire)(struct i915_active *ref),
14 				    unsigned long flags)
15 {
16 	(void) active;
17 	(void) retire;
18 }
19 
20 #define i915_active_fini(active) do { } while (0)
21 
22 #endif
23