xref: /linux/drivers/gpu/drm/i915/selftests/igt_atomic.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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