mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: remove dgpu hal and sw from the safety build
Since dGPU support is not required for initial safety release, compile out dGPU sw and hal implementations except below files that are used by gv11b currently: acr_sw_gv100.c, engine_status_gv100.c, gr_gv100.c gr_config_gv100.c and hwpm_map_gv100.c. JIRA NVGPU-3062 Change-Id: I8a6bc8b235e7e5eac5b0e76147b8bd12f9abbd2d Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2119586 Reviewed-by: Vijayakumar Subbu <vsubbu@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:
committed by
mobile promotions
parent
17607e6bc9
commit
08add88e1d
@@ -30,9 +30,11 @@
|
||||
|
||||
#include "hal_gm20b.h"
|
||||
#include "hal_gp10b.h"
|
||||
#include "hal_gv100.h"
|
||||
#include "hal_gv11b.h"
|
||||
#ifdef NVGPU_DGPU_SUPPORT
|
||||
#include "hal_gv100.h"
|
||||
#include "hal_tu104.h"
|
||||
#endif
|
||||
|
||||
int nvgpu_init_hal(struct gk20a *g)
|
||||
{
|
||||
@@ -62,6 +64,7 @@ int nvgpu_init_hal(struct gk20a *g)
|
||||
return -ENODEV;
|
||||
}
|
||||
break;
|
||||
#ifdef NVGPU_DGPU_SUPPORT
|
||||
case NVGPU_GPUID_GV100:
|
||||
if (gv100_init_hal(g) != 0) {
|
||||
return -ENODEV;
|
||||
@@ -73,6 +76,7 @@ int nvgpu_init_hal(struct gk20a *g)
|
||||
return -ENODEV;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
default:
|
||||
nvgpu_err(g, "no support for %x", ver);
|
||||
|
||||
Reference in New Issue
Block a user