summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/driver_common.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-19 17:09:05 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-27 06:57:13 -0400
commit8b3d94ffd3e5b6d7a622c6ad54692d79bf39d1ce (patch)
treefb8648cd40e99892e18e28de8e8851915a0ac0b9 /drivers/gpu/nvgpu/common/linux/driver_common.c
parent52445fba1feac3ee20bf1c3db149adc42715af9e (diff)
gpu: nvgpu: Move sysfs dependencies from HAL to Linux
Move sysfs dependencies from gk20a/ and gp10b/ to common/linux. At the same time the gk20a and gp10b variants are merged into one. JIRA NVGPU-48 Change-Id: I212be8f1beb8d20a57de04a57513e8fa0e2e83b4 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master/r/1466055 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index c4d40c35..a7bc230c 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -28,6 +28,7 @@
28#include "gk20a/platform_gk20a.h" 28#include "gk20a/platform_gk20a.h"
29#include "module.h" 29#include "module.h"
30#include "os_linux.h" 30#include "os_linux.h"
31#include "sysfs.h"
31 32
32#define EMC3D_DEFAULT_RATIO 750 33#define EMC3D_DEFAULT_RATIO 750
33 34
@@ -190,7 +191,7 @@ int nvgpu_probe(struct gk20a *g,
190 191
191 nvgpu_init_mm_vars(g); 192 nvgpu_init_mm_vars(g);
192 193
193 gk20a_create_sysfs(g->dev); 194 nvgpu_create_sysfs(g->dev);
194 gk20a_debug_init(g, debugfs_symlink); 195 gk20a_debug_init(g, debugfs_symlink);
195 196
196 g->dbg_regops_tmp_buf = nvgpu_kzalloc(g, SZ_4K); 197 g->dbg_regops_tmp_buf = nvgpu_kzalloc(g, SZ_4K);