2019-05-22 19:31:56 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2018 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef IGT_ATOMIC_H
|
|
|
|
#define IGT_ATOMIC_H
|
|
|
|
|
|
|
|
struct igt_atomic_section {
|
|
|
|
const char *name;
|
|
|
|
void (*critical_section_begin)(void);
|
|
|
|
void (*critical_section_end)(void);
|
|
|
|
};
|
|
|
|
|
2020-01-03 10:45:15 +00:00
|
|
|
extern const struct igt_atomic_section igt_atomic_phases[];
|
2019-05-22 19:31:56 +00:00
|
|
|
|
|
|
|
#endif /* IGT_ATOMIC_H */
|