mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: t23x: falcon init
Add falcon s/w init for t23x igpu. JIRA NVGPU-4383 Change-Id: Ia23d6a58b59ce5e6da0b96e20a39633a94ad8075 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2247226 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
17bcea0023
commit
dadf9262d0
@@ -29,6 +29,10 @@
|
|||||||
#include "falcon_sw_tu104.h"
|
#include "falcon_sw_tu104.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_NVGPU_NEXT) && defined(CONFIG_NVGPU_NON_FUSA)
|
||||||
|
#include "nvgpu_next_gpuid.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Delay depends on memory size and pwr_clk
|
/* Delay depends on memory size and pwr_clk
|
||||||
* delay = (MAX {IMEM_SIZE, DMEM_SIZE} * 64 + 1) / pwr_clk
|
* delay = (MAX {IMEM_SIZE, DMEM_SIZE} * 64 + 1) / pwr_clk
|
||||||
* Timeout set is 1msec & status check at interval 10usec
|
* Timeout set is 1msec & status check at interval 10usec
|
||||||
@@ -432,6 +436,11 @@ static int falcon_sw_chip_init(struct gk20a *g, struct nvgpu_falcon *flcn)
|
|||||||
case NVGPU_GPUID_GP10B:
|
case NVGPU_GPUID_GP10B:
|
||||||
gk20a_falcon_sw_init(flcn);
|
gk20a_falcon_sw_init(flcn);
|
||||||
break;
|
break;
|
||||||
|
#if defined(CONFIG_NVGPU_NEXT)
|
||||||
|
case NVGPU_NEXT_GPUID:
|
||||||
|
gk20a_falcon_sw_init(flcn);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
case NVGPU_GPUID_GV11B:
|
case NVGPU_GPUID_GV11B:
|
||||||
gk20a_falcon_sw_init(flcn);
|
gk20a_falcon_sw_init(flcn);
|
||||||
|
|||||||
Reference in New Issue
Block a user