diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2012-03-16 13:55:24 +0200 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-23 17:28:25 -0700 |
commit | e5b5fd672b03e36080c34720b976551f5526d8e9 (patch) | |
tree | bada3aade9eca380ccc8072464d97550ef65c78a /drivers/video/tegra/host/nvhost_intr.c | |
parent | 97139a5d89b2a80fb8464dda86fcb1c968be2b63 (diff) |
video: tegra: host: Split submit into subfunctions
Split host1x_channel_submit() into subfunctions.
Bug 926690
Change-Id: I8be55cbc9d25ee76c758a918de4a9bb27e2ea846
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/90626
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/nvhost_intr.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_intr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/tegra/host/nvhost_intr.c b/drivers/video/tegra/host/nvhost_intr.c index 0fc6652c7c77..7c4bdc7bafb6 100644 --- a/drivers/video/tegra/host/nvhost_intr.c +++ b/drivers/video/tegra/host/nvhost_intr.c @@ -144,15 +144,6 @@ static void action_ctxsave(struct nvhost_waitlist *waiter) if (channel->ctxhandler->save_service) channel->ctxhandler->save_service(hwctx); - channel->ctxhandler->put(hwctx); -} - -static void action_ctxrestore(struct nvhost_waitlist *waiter) -{ - struct nvhost_hwctx *hwctx = waiter->data; - struct nvhost_channel *channel = hwctx->channel; - - channel->ctxhandler->put(hwctx); } static void action_wakeup(struct nvhost_waitlist *waiter) @@ -174,7 +165,6 @@ typedef void (*action_handler)(struct nvhost_waitlist *waiter); static action_handler action_handlers[NVHOST_INTR_ACTION_COUNT] = { action_submit_complete, action_ctxsave, - action_ctxrestore, action_wakeup, action_wakeup_interruptible, }; |