gpu: nvgpu: move chip specific mc to hal

Move chip specific mc code from common/mc to hal/mc.
Replace gk20a_readl/writel with nvgpu_readl/writel
Replace 0xFFFFFFFFU with U32_MAX hash define
Change local variable names to fix checkpatch errors/warnings
Change BUG to WARN
Move defines to header files
Create new defines for hard coded delays

JIRA NVGPU-2041

Change-Id: I3594121a81da37ef58c47e87c45e96441e4cf8c7
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2085268
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Seema Khowala
2019-03-29 13:37:13 -07:00
committed by mobile promotions
parent 191aeb5cf8
commit f07d933076
19 changed files with 196 additions and 194 deletions

View File

@@ -33,7 +33,7 @@
#include "hal/fb/fb_gv11b.h"
#include "hal/fb/fb_gv100.h"
#include "common/mc/mc_tu104.h"
#include "hal/mc/mc_tu104.h"
#include "tu104/func_tu104.h"