From 5544272474d7b1e3103eed76fbaf91ba7a739345 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 26 Aug 2016 10:09:24 -0700 Subject: gpu: nvgpu: gp106: Skip LTCA initialization Skip LTCA initialization on dGPU. Bug 1799537 Change-Id: Ieb4c72e2169dc6bee73306c9b1e6c80866167a1a Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1208714 (cherry picked from commit 9a8dc5fe96b29b8a67f8203f17126b0093721312) Reviewed-on: http://git-master/r/1219164 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gp106/ltc_gp106.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu') diff --git a/drivers/gpu/nvgpu/gp106/ltc_gp106.c b/drivers/gpu/nvgpu/gp106/ltc_gp106.c index ef0e351d..dcd4fbad 100644 --- a/drivers/gpu/nvgpu/gp106/ltc_gp106.c +++ b/drivers/gpu/nvgpu/gp106/ltc_gp106.c @@ -14,6 +14,7 @@ #include #include "gk20a/gk20a.h" +#include "gm20b/ltc_gm20b.h" #include "gp10b/ltc_gp10b.h" void gp106_init_ltc(struct gpu_ops *gops) @@ -23,4 +24,5 @@ void gp106_init_ltc(struct gpu_ops *gops) /* dGPU does not need the LTC hack */ gops->ltc.cbc_fix_config = NULL; gops->ltc.init_cbc = NULL; + gops->ltc.init_fs_state = gm20b_ltc_init_fs_state; } -- cgit v1.2.2