mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Move TSG IOCTL code to Linux module
Move TSG IOCTL specific code to Linux module. This clears most Linux dependencies from tsg_gk20a.c. Move also remaining file_operations declarations from channel_gk20a.h to ioctl_channel.h. JIRA NVGPU-32 Change-Id: Idcc2a525ebe12b30db46c3893a2735509c41ff39 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1330805 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a07e10f494
commit
06fe28567d
@@ -24,6 +24,7 @@
|
||||
#include <nvgpu/kmem.h>
|
||||
|
||||
#include "ioctl_ctrl.h"
|
||||
#include "ioctl_tsg.h"
|
||||
#include "gk20a/gk20a.h"
|
||||
#include "gk20a/fence_gk20a.h"
|
||||
|
||||
@@ -250,7 +251,7 @@ static int gk20a_ctrl_open_tsg(struct gk20a *g,
|
||||
goto clean_up;
|
||||
}
|
||||
|
||||
err = gk20a_tsg_open(g, file);
|
||||
err = nvgpu_ioctl_tsg_open(g, file);
|
||||
if (err)
|
||||
goto clean_up_file;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user