summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorTarun Karra <tkarra@codeaurora.org>2016-11-14 16:38:27 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-07 10:33:16 -0800
commitc71cda2d1010e7c936db468b5b4d3bcb2797f1c7 (patch)
treeda6bbd6228913241499e23ce75449c7267a6bc79 /lib/mpi/mpicoder.c
parent368fecd7df5b203a5ce684a0c77726a5690c1147 (diff)
msm: kgsl: Add Bind objects to dispatcher draw queue
kgsl_ioctl_gpu_sparse_command() is added to for user to specify list of binds/unbinds for a memory entry and syncpoints they depend on. If user specifies both create a sync object for syncpoints and bind object for binds/unbinds and add them to dispatcher draw queue. Sync object should be inserted before the bind object in the draw queue. Once the bind object reaches the head of draw queue the corresponding binds/unbinds are performed. kgsl_ioctl_gpu_sparse_command() only accepts commands from context created with flag KGSL_CONTEXT_SPARSE, commands from all other context types will return an error. Change-Id: Ib0a2361f854ae01d0d8090cdd48cfa96308daf93 Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions