mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: use make flag NV_BUILD_CONFIGURATION_IS_SAFETY
Update the shared config file to use the safety build flag NV_BUILD_ CONFIGURATION_IS_SAFETY instead of NVGPU_REDUCED. With these changes posix userspace and tests will be built in two configs based on this flag. JIRA NVGPU-3062 Change-Id: Iaf34dd1a8f66f2dd3f351365c369ed46a484a257 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2116402 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@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
mobile promotions
parent
e0a98ff45a
commit
6c22dc7ea4
@@ -557,7 +557,7 @@ int gk20a_wait_for_idle(struct gk20a *g)
|
||||
|
||||
void gk20a_init_gpu_characteristics(struct gk20a *g)
|
||||
{
|
||||
#ifdef NVGPU_REDUCED
|
||||
#ifdef NV_BUILD_CONFIGURATION_IS_SAFETY
|
||||
nvgpu_set_enabled(g, NVGPU_DRIVER_REDUCED_PROFILE, true);
|
||||
#endif
|
||||
nvgpu_set_enabled(g, NVGPU_SUPPORT_MAP_DIRECT_KIND_CTRL, true);
|
||||
|
||||
Reference in New Issue
Block a user