xref: /linux/drivers/gpu/drm/i915/selftests/igt_atomic.h (revision e3b2949e3fa2fd8c19cd5fbb0424d38f70a70e9c)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2018 Intel Corporation
4  */
5 
6 #ifndef IGT_ATOMIC_H
7 #define IGT_ATOMIC_H
8 
9 struct igt_atomic_section {
10 	const char *name;
11 	void (*critical_section_begin)(void);
12 	void (*critical_section_end)(void);
13 };
14 
15 extern const struct igt_atomic_section igt_atomic_phases[];
16 
17 #endif /* IGT_ATOMIC_H */
18