From f062cc5b24554f6ae67abbe846e6d6e8c15c4ffc Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 16 Aug 2018 11:07:27 -0700 Subject: gpu: nvpgu: Remove dependency from FB to Falcon FB had a dependency to Falcon headers because it was doing debug dump of registers. Remove the debug dump to get rid of the dependency. JIRA NVGPU-1063 Change-Id: I15c259b66ce58fd327e974c8d66b6be764e61fed Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1801416 Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/fb/fb_gv100.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/gpu/nvgpu/common/fb') diff --git a/drivers/gpu/nvgpu/common/fb/fb_gv100.c b/drivers/gpu/nvgpu/common/fb/fb_gv100.c index e1c95045..6381e37a 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gv100.c +++ b/drivers/gpu/nvgpu/common/fb/fb_gv100.c @@ -44,7 +44,6 @@ #include "fb_gv100.h" #include -#include #include #define HW_SCRUB_TIMEOUT_DEFAULT 100 /* usec */ @@ -177,10 +176,6 @@ int gv100_fb_memory_unlock(struct gk20a *g) mem_unlock_ucode_header[OS_DATA_OFFSET] >> 2], mem_unlock_ucode_header[OS_DATA_SIZE], 0); - nvgpu_log_info(g, "nvdec sctl reg %x\n", - gk20a_readl(g, g->nvdec_flcn.flcn_base + - falcon_falcon_sctl_r())); - /* set BOOTVEC to start of non-secure code */ nvgpu_flcn_bootstrap(&g->nvdec_flcn, 0); @@ -195,10 +190,6 @@ int gv100_fb_memory_unlock(struct gk20a *g) goto exit; } - nvgpu_log_info(g, "nvdec sctl reg %x\n", - gk20a_readl(g, g->nvdec_flcn.flcn_base + - falcon_falcon_sctl_r())); - exit: if (mem_unlock_fw) { nvgpu_release_firmware(g, mem_unlock_fw); -- cgit v1.2.2