mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Revert "gpu: nvgpu: enable CONFIG_NVGPU_VPR for all kernels"
This reverts commit 6b72b2a4e7.
JIRA LS-458
Bug 200754700
Change-Id: I920431d82364f50c25c16fe6af6a084240f6a0ec
Signed-off-by: Omprakash Shewale <oshewale@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2652864
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* GK20A Graphics
|
||||
*
|
||||
* Copyright (c) 2011-2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2011-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -26,10 +26,7 @@
|
||||
#include <linux/reset.h>
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/notifier.h>
|
||||
|
||||
#include <nvgpu/vpr.h>
|
||||
|
||||
#if NVGPU_VPR_RESIZE_SUPPORTED
|
||||
#ifdef CONFIG_NVGPU_VPR
|
||||
#include <linux/platform/tegra/common.h>
|
||||
#endif
|
||||
#include <linux/pci.h>
|
||||
@@ -1007,7 +1004,7 @@ void gk20a_remove_support(struct gk20a *g)
|
||||
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
|
||||
struct sim_nvgpu_linux *sim_linux;
|
||||
|
||||
#if NVGPU_VPR_RESIZE_SUPPORTED
|
||||
#ifdef CONFIG_NVGPU_VPR
|
||||
if (nvgpu_is_enabled(g, NVGPU_SUPPORT_VPR)) {
|
||||
tegra_unregister_idle_unidle(gk20a_do_idle);
|
||||
}
|
||||
@@ -1082,7 +1079,7 @@ static int gk20a_init_support(struct platform_device *pdev)
|
||||
void __iomem *addr;
|
||||
int err = -ENOMEM;
|
||||
|
||||
#if NVGPU_VPR_RESIZE_SUPPORTED
|
||||
#ifdef CONFIG_NVGPU_VPR
|
||||
tegra_register_idle_unidle(gk20a_do_idle, gk20a_do_unidle, g);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user