File Index
Files and directories
Sign in
FILE

i915_active.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/compat-i915-headers/i915_active.h C
 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
11static 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
~/ Read-only file preview.