gpu: nvgpu: add kernel APIs for TSG support
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 11 Jun 2014 11:15:54 +0000 (16:15 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 24 Jun 2014 08:43:20 +0000 (01:43 -0700)
commitfde6475fed27ca1f2e1850b14f260e350161b86d
tree758ff115575f15f60fc0327fc1a072847488c8ba
parentb8717fb35a81671b2d29a54bd57fc24a9eb4eb74
gpu: nvgpu: add kernel APIs for TSG support

Add support to create/destroy TSGs using node "/dev/nvhost-tsg-gpu"

Provide below IOCTLs to bind/unbind channels to/from TSGs :

NVGPU_TSG_IOCTL_BIND_CHANNEL
NVGPU_TSG_IOCTL_UNBIND_CHANNEL

Bug 1470692

Change-Id: Iaf9f16a522379eb943906624548f8d28fc6d4486
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/416610
drivers/gpu/nvgpu/gk20a/Makefile
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/channel_gk20a.h
drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/tsg_gk20a.c [new file with mode: 0644]
drivers/gpu/nvgpu/gk20a/tsg_gk20a.h [new file with mode: 0644]
include/linux/nvhost_gpu_ioctl.h