aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/midgard/docs/policy_overview.dot
diff options
context:
space:
mode:
authorArvind Chauhan <arvind.chauhan@arm.com>2017-11-07 11:32:48 +0530
committerArvind Chauhan <arvind.chauhan@arm.com>2017-11-07 11:32:48 +0530
commitda4440b88e736d43ec574438a09cd19f6c18ee02 (patch)
tree073a57cd16042e6e66e98e0632fdda2f5c1fd8d3 /drivers/gpu/arm/midgard/docs/policy_overview.dot
parent5e069b9771bda2b14a24c7c49bd1cbde8ef3a695 (diff)
parentcf9f7e85800ef8e00cc98db2e6730ed9e6c3dbaa (diff)
Merge branch '4.9-armlt-mali' into 4.9-armltack-4.9-armlt-20171114lsk-4.9-armlt
Diffstat (limited to 'drivers/gpu/arm/midgard/docs/policy_overview.dot')
-rw-r--r--drivers/gpu/arm/midgard/docs/policy_overview.dot63
1 files changed, 63 insertions, 0 deletions
diff --git a/drivers/gpu/arm/midgard/docs/policy_overview.dot b/drivers/gpu/arm/midgard/docs/policy_overview.dot
new file mode 100644
index 000000000000..159b993b7d61
--- /dev/null
+++ b/drivers/gpu/arm/midgard/docs/policy_overview.dot
@@ -0,0 +1,63 @@
+/*
+ *
+ * (C) COPYRIGHT 2010 ARM Limited. All rights reserved.
+ *
+ * This program is free software and is provided to you under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation, and any use by you of this program is subject to the terms
+ * of such GNU licence.
+ *
+ * A copy of the licence is included with the program, and can also be obtained
+ * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ */
+
+
+
+
+
+digraph policy_objects_diagram {
+ rankdir=LR
+ size="6,6"
+ compound=true;
+
+ node [ shape = box ];
+
+ call_enqueue [ shape=plaintext label="enqueue ctx" ];
+
+
+ policy_queue [ label="Policy's Queue" ];
+
+ {
+ rank=same;
+ runpool [ label="Policy's Run Pool" ];
+
+ ctx_finish [ label="ctx finished" ];
+ }
+
+ {
+ rank=same;
+ jobslots [ shape=record label="Jobslots: | <0>js[0] | <1>js[1] | <2>js[2]" ];
+
+ job_finish [ label="Job finished" ];
+ }
+
+
+
+ /*
+ * Edges
+ */
+
+ call_enqueue -> policy_queue;
+
+ policy_queue->runpool [label="dequeue ctx" weight=0.1];
+ runpool->policy_queue [label="requeue ctx" weight=0.1];
+
+ runpool->ctx_finish [ style=dotted ];
+
+ runpool->jobslots [label="dequeue job" weight=0.1];
+ jobslots->runpool [label="requeue job" weight=0.1];
+
+ jobslots->job_finish [ style=dotted ];
+}