video: tegra: host: add public APIs for power & syncpoint management
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Mon, 18 Jun 2012 07:05:01 +0000 (12:05 +0530)
committerSimone Willett <swillett@nvidia.com>
Mon, 25 Jun 2012 23:23:31 +0000 (16:23 -0700)
commitb8c4bf16077a04daf2c895be7cf8da030e45b60e
tree74f3cd4af3a41dca67411f1b33d148e293a2d0b2
parent5a85dacd8707c7764785b6f38172c67a8c7ef4b0
video: tegra: host: add public APIs for power & syncpoint management

- add public APIs for power & sync-point management
- all these APIs end with string _ext
- all these APIs can be found in linux/nvhost.h
- all these APIs take nvhost_device as first argument
- all these APIs are based on the fact that host1x hardware
driver is parent of all the host1x client driver
- this allows clients of host1x which are outside host1x
driver code to just include nvhost.h & use host1x driver
interfaces
- this also hides the implementation details of power &
sync-point inside host1x driver code
- move sync point ids for dc and nvavp to nvhost.h

Bug 961009

Change-Id: I1a9ca074df87656c4d4bd246853e039a7850d56a
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/109219
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/video/tegra/host/host1x/host1x.h
drivers/video/tegra/host/host1x/host1x_syncpt.h
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/nvhost_acm.h
drivers/video/tegra/host/nvhost_syncpt.c
drivers/video/tegra/host/nvhost_syncpt.h
include/linux/nvhost.h