]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Per-chip interrupt processing
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 27 Oct 2014 09:03:00 +0000 (11:03 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Sat, 1 Nov 2014 09:45:21 +0000 (02:45 -0700)
commit15bca2fbf434971c98fd0e3578c9dfc57d60ef50
treee82dee420f2ba8797fa952c4b94a0cf74f95b5af
parentbedfabad14c1872136e8dadb1bb008610e22cac2
gpu: nvgpu: Per-chip interrupt processing

Move accesses to MC registers under HAL so that they can be
reimplemented per chip.

Do chip detection and HAL initialization only once.

Bug 1567274

Change-Id: I20bf2f439d267d284bfd536f1a1dfb5d5a2dce4c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/590385
drivers/gpu/nvgpu/Makefile
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/hal_gk20a.c
drivers/gpu/nvgpu/gk20a/mc_gk20a.c [new file with mode: 0644]
drivers/gpu/nvgpu/gk20a/mc_gk20a.h [new file with mode: 0644]
drivers/gpu/nvgpu/gm20b/hal_gm20b.c
drivers/gpu/nvgpu/gm20b/mc_gm20b.c [new file with mode: 0644]
drivers/gpu/nvgpu/gm20b/mc_gm20b.h [new file with mode: 0644]