diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2018-08-22 07:14:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-25 00:17:29 -0400 |
commit | f93565c51fb465aebc34dc52fd704ba038c917f7 (patch) | |
tree | d809b8da6418674502ed228074361fb6b9bbc8db /drivers/gpu/nvgpu/gp106/flcn_gp106.c | |
parent | bf99dfdaf2dd974723dfce23d815b2f5ee83673d (diff) |
gpu: nvgpu: add GSP falcon support
- Defined FALCON_ID_GSPLITE for GSP falcon.
- Created variable gsp_flcn of struct nvgpu_falcon
for GSP falcon & registered to falcon module to access
falcon functions.
- Created HAL file gsp_gv100.c/h for GSP.
- Modified Makefile & Makefile.sources files to include
gsp_gv100 HAL file.
- Enabled GSP falcon support for GV100 by registering
to common falcon module.
- Defined function gv100_gsp_reset() & assigned to
falcon reset as GSP engine reset.
- Updated falcon HAL init code not to return error
if requested falcon is not supported, instead log
the info and return non-error.
JIRA NVGPU-1160
Change-Id: Ice032cf443ae87254375265628b3c022f41544cd
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1804551
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/flcn_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/flcn_gp106.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.c b/drivers/gpu/nvgpu/gp106/flcn_gp106.c index 168d94d3..8f649c26 100644 --- a/drivers/gpu/nvgpu/gp106/flcn_gp106.c +++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.c | |||
@@ -86,8 +86,6 @@ int gp106_falcon_hal_sw_init(struct nvgpu_falcon *flcn) | |||
86 | break; | 86 | break; |
87 | default: | 87 | default: |
88 | flcn->is_falcon_supported = false; | 88 | flcn->is_falcon_supported = false; |
89 | nvgpu_err(g, "Invalid flcn request"); | ||
90 | err = -ENODEV; | ||
91 | break; | 89 | break; |
92 | } | 90 | } |
93 | 91 | ||