mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: remove usage of CONFIG_NVGPU_NEXT
The CONFIG_NVGPU_NEXT config is no longer required now that ga10b and ga100 sources have been collapsed. However, the ga100, ga10b sources are not safety certified, so mark them as NON_FUSA by replacing CONFIG_NVGPU_NEXT with CONFIG_NVGPU_NON_FUSA. Move CONFIG_NVGPU_MIG to Makefile.linux.config and enable MIG support by default on standard build. Jira NVGPU-4771 Change-Id: Idc5861fe71d9d510766cf242c6858e2faf97d7d0 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2547092 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ff75647d59
commit
c7d43f5292
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <nvgpu/pmu/pmuif/nvgpu_cmdif.h>
|
||||
#include <nvgpu/kmem.h>
|
||||
|
||||
#if defined(CONFIG_NVGPU_NEXT) && defined(CONFIG_NVGPU_NON_FUSA)
|
||||
#if defined(CONFIG_NVGPU_NON_FUSA)
|
||||
#include "nvgpu_next_gpuid.h"
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,7 @@ static u8 get_perfmon_id(struct nvgpu_pmu *pmu)
|
||||
break;
|
||||
case NVGPU_GPUID_GP10B:
|
||||
case NVGPU_GPUID_GV11B:
|
||||
#if defined(CONFIG_NVGPU_NEXT)
|
||||
#if defined(CONFIG_NVGPU_NON_FUSA)
|
||||
case NVGPU_NEXT_GPUID:
|
||||
#endif
|
||||
unit_id = PMU_UNIT_PERFMON_T18X;
|
||||
@@ -144,7 +144,7 @@ int nvgpu_pmu_initialize_perfmon(struct gk20a *g, struct nvgpu_pmu *pmu,
|
||||
case NVGPU_GPUID_GV11B:
|
||||
nvgpu_gv11b_perfmon_sw_init(g, *perfmon_ptr);
|
||||
break;
|
||||
#if defined(CONFIG_NVGPU_NEXT)
|
||||
#if defined(CONFIG_NVGPU_NON_FUSA)
|
||||
case NVGPU_NEXT_GPUID:
|
||||
nvgpu_next_perfmon_sw_init(g, *perfmon_ptr);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user