From 03a0e0eafc0e70fa2c56359d4caa379745ad7259 Mon Sep 17 00:00:00 2001 From: Mayuresh Kulkarni Date: Fri, 13 Apr 2012 19:42:37 +0530 Subject: video: tegra: host: move chip_support out of nvhost_master - currently, nvhost_master holds the reference to struct chip_support - the struct chip_support hides the chip specific implementation for channel submit, cdma, push buffer operations etc. so it exposed all the internal structures through nvhost_master - move chip_support to be a part of nvhost_bus since it only has function pointers to chip specific api implementations - nvhost_master is host1x device specific private data so ideally it should not hold reference to chip specifics Bug 871237 Change-Id: I4f3f48ee5fc47a90288d110ea8eef905150275a0 Signed-off-by: Mayuresh Kulkarni Reviewed-on: http://git-master/r/94421 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/host/nvhost_intr.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/video/tegra/host/nvhost_intr.h') diff --git a/drivers/video/tegra/host/nvhost_intr.h b/drivers/video/tegra/host/nvhost_intr.h index 26ab04ebd4ab..eea9d837998f 100644 --- a/drivers/video/tegra/host/nvhost_intr.h +++ b/drivers/video/tegra/host/nvhost_intr.h @@ -74,7 +74,6 @@ struct nvhost_intr { bool host_general_irq_requested; }; #define intr_to_dev(x) container_of(x, struct nvhost_master, intr) -#define intr_op(intr) (intr_to_dev(intr)->op.intr) #define intr_syncpt_to_intr(is) (is->intr) /** -- cgit v1.2.3 From f2dd85f69f329f372db29d2e20d71f7e0e0f85bb Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 30 May 2012 15:28:19 +0300 Subject: video: tegra: host: Parametrize host1x Add parameters in host1x nvhost_device on * number of sync points * number of wait bases * number of channels * number of mlocks * client managed bitmask * naming of sync points Add automatically generated headers and use symbols from them to access hardware. Move host1x device definition from generic host1x to SoC specific source files t20.c and t30.c. Bug 982965 Change-Id: Ibec84be22d75b363900d10bcbd59d4d8321d54a1 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/104974 Reviewed-by: Juha Tukkinen --- drivers/video/tegra/host/nvhost_intr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/tegra/host/nvhost_intr.h') diff --git a/drivers/video/tegra/host/nvhost_intr.h b/drivers/video/tegra/host/nvhost_intr.h index eea9d837998f..cf0b6b9e8934 100644 --- a/drivers/video/tegra/host/nvhost_intr.h +++ b/drivers/video/tegra/host/nvhost_intr.h @@ -71,6 +71,7 @@ struct nvhost_intr { struct nvhost_intr_syncpt *syncpt; struct mutex mutex; int host_general_irq; + int host_syncpt_irq_base; bool host_general_irq_requested; }; #define intr_to_dev(x) container_of(x, struct nvhost_master, intr) -- cgit v1.2.3