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 <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1801416
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Terje Bergstrom
2018-08-16 11:07:27 -07:00
committed by mobile promotions
parent a9bb03799e
commit f062cc5b24

View File

@@ -44,7 +44,6 @@
#include "fb_gv100.h"
#include <nvgpu/hw/gv100/hw_fb_gv100.h>
#include <nvgpu/hw/gv100/hw_falcon_gv100.h>
#include <nvgpu/hw/gv100/hw_mc_gv100.h>
#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);