diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-19 17:09:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-27 06:57:13 -0400 |
commit | 8b3d94ffd3e5b6d7a622c6ad54692d79bf39d1ce (patch) | |
tree | fb8648cd40e99892e18e28de8e8851915a0ac0b9 /drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |
parent | 52445fba1feac3ee20bf1c3db149adc42715af9e (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/gp10b/gr_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index 3bddef4c..f27e2605 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #include "gm20b/gr_gm20b.h" | 32 | #include "gm20b/gr_gm20b.h" |
33 | #include "gp10b/gr_gp10b.h" | 33 | #include "gp10b/gr_gp10b.h" |
34 | #include "gp10b_sysfs.h" | ||
35 | 34 | ||
36 | #include <nvgpu/hw/gp10b/hw_gr_gp10b.h> | 35 | #include <nvgpu/hw/gp10b/hw_gr_gp10b.h> |
37 | #include <nvgpu/hw/gp10b/hw_fifo_gp10b.h> | 36 | #include <nvgpu/hw/gp10b/hw_fifo_gp10b.h> |
@@ -2292,6 +2291,8 @@ static int gr_gp10b_init_preemption_state(struct gk20a *g) | |||
2292 | gr_debug_2_gfxp_wfi_always_injects_wfi_enabled_f()); | 2291 | gr_debug_2_gfxp_wfi_always_injects_wfi_enabled_f()); |
2293 | gk20a_writel(g, gr_debug_2_r(), debug_2); | 2292 | gk20a_writel(g, gr_debug_2_r(), debug_2); |
2294 | 2293 | ||
2294 | g->gr.czf_bypass = gr_gpc0_prop_debug1_czf_bypass_init_v(); | ||
2295 | |||
2295 | return 0; | 2296 | return 0; |
2296 | } | 2297 | } |
2297 | 2298 | ||