18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: MIT */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright © 2018 Intel Corporation 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef IGT_ATOMIC_H 78c2ecf20Sopenharmony_ci#define IGT_ATOMIC_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct igt_atomic_section { 108c2ecf20Sopenharmony_ci const char *name; 118c2ecf20Sopenharmony_ci void (*critical_section_begin)(void); 128c2ecf20Sopenharmony_ci void (*critical_section_end)(void); 138c2ecf20Sopenharmony_ci}; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciextern const struct igt_atomic_section igt_atomic_phases[]; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* IGT_ATOMIC_H */ 18