rk: ion: resolve build err
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / t6xx / kbase / docs / policy_overview.dot
1 /*
2  *
3  * (C) COPYRIGHT ARM Limited. All rights reserved.
4  *
5  * This program is free software and is provided to you under the terms of the
6  * GNU General Public License version 2 as published by the Free Software
7  * Foundation, and any use by you of this program is subject to the terms
8  * of such GNU licence.
9  *
10  * A copy of the licence is included with the program, and can also be obtained
11  * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12  * Boston, MA  02110-1301, USA.
13  *
14  */
15
16
17
18
19
20 digraph policy_objects_diagram {
21         rankdir=LR
22         size="6,6"
23         compound=true;
24
25         node [ shape = box ];
26
27         call_enqueue [ shape=plaintext label="enqueue ctx" ];
28
29
30         policy_queue [ label="Policy's Queue" ];
31
32         {
33                 rank=same;
34                 runpool [ label="Policy's Run Pool" ];
35
36                 ctx_finish [ label="ctx finished" ];
37         }
38
39         {
40                 rank=same;
41                 jobslots [ shape=record label="Jobslots: | <0>js[0] | <1>js[1] | <2>js[2]" ];
42
43                 job_finish [ label="Job finished" ];
44         }
45
46
47
48         /*
49          * Edges
50          */
51
52         call_enqueue -> policy_queue;
53
54         policy_queue->runpool [label="dequeue ctx" weight=0.1];
55         runpool->policy_queue [label="requeue ctx" weight=0.1];
56
57         runpool->ctx_finish [ style=dotted ];
58
59         runpool->jobslots  [label="dequeue job" weight=0.1];
60         jobslots->runpool  [label="requeue job" weight=0.1];
61
62         jobslots->job_finish [ style=dotted ];
63 }