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