From 56a67d3275945b20e01a4e7fd19d7f281c55d3e9 Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Mon, 15 May 2017 11:19:38 +0300 Subject: [PATCH] video: tegra: host: Support channels in queues This change adds support for allocating channels for queues and submitting tasks through them. This is useful in cases where direct MMIO cannot be used for task submission (e.g. virtualization). JIRA PVA-443 Change-Id: Iae819d03d1d378059310b67ebc2e5af4690d5c80 Signed-off-by: Arto Merilainen Reviewed-on: http://git-master/r/1481833 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/nvdla_ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla_ioctl.c b/drivers/video/tegra/host/nvdla/nvdla_ioctl.c index 80dbd629..639580b0 100644 --- a/drivers/video/tegra/host/nvdla/nvdla_ioctl.c +++ b/drivers/video/tegra/host/nvdla/nvdla_ioctl.c @@ -821,7 +821,8 @@ static int nvdla_open(struct inode *inode, struct file *file) } priv->queue = nvhost_queue_alloc(nvdla_dev->pool, - MAX_NVDLA_TASK_COUNT); + MAX_NVDLA_TASK_COUNT, + false); if (IS_ERR(priv->queue)) { err = PTR_ERR(priv->queue); goto err_alloc_queue;