/
compositor.dot
61 lines (48 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* -*- mode: c -*- */
/* Extra documentation for state transitions made from
* XXX() function in the mce display plugin
*/
digraph compositor_state_machine {
fontsize=12;
label = "MCE - COMPOSITOR IPC STATE MACHINE";
nodesep=0.3;
ranksep=0.2;
node[fontsize=6];
edge[fontsize=6];
edge[arrowsize=0.3];
node[style=filled,fillcolor=skyblue,shape=box];
node[width=0.00001];
node[height=0.00001];
// COMMENTS
node[fillcolor=grey90];
// QUARANTINE COMMENTS[label="NB: A wakelock is held all the\ntime except in POWER OFF\nwith late suspend enabled\n"];
//
// --==( STABLE )==--
//
node[fillcolor=yellow];
COMPOSITOR_IPC_ANY [label="*"];
COMPOSITOR_IPC_STOPPED;
COMPOSITOR_IPC_GRANTED;
//
// --==( WAITING )==--
//
node[fillcolor=skyblue];
COMPOSITOR_IPC_REQUESTING;
//
// --==( TRANSIENT )==--
//
node[fillcolor=wheat];
COMPOSITOR_IPC_STARTED;
COMPOSITOR_IPC_FAILED;
//
// --==( TRANSITIONS )==--
//
node[shape=oval,fillcolor=pink];
COMPOSITOR_IPC_ANY -> COMPOSITOR_IPC_STOPPED ;
COMPOSITOR_IPC_STOPPED -> COMPOSITOR_IPC_STARTED ;
COMPOSITOR_IPC_STARTED -> COMPOSITOR_IPC_REQUESTING ;
COMPOSITOR_IPC_REQUESTING -> COMPOSITOR_IPC_GRANTED ;
COMPOSITOR_IPC_REQUESTING -> COMPOSITOR_IPC_FAILED ;
COMPOSITOR_IPC_GRANTED -> COMPOSITOR_IPC_REQUESTING ;
COMPOSITOR_IPC_FAILED -> COMPOSITOR_IPC_REQUESTING ;
}