mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: fix external profile build
The config CONFIG_GK20A_PM_QOS is not set for k5.10 and kstable. Adjust the default config selection logic. bug 200705253 Change-Id: I9455af6bfa3d7ef68f2d4551e148ee9c67f001d0 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2504877 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
6ffadc0e32
commit
bfa644d7fa
@@ -42,8 +42,8 @@ ifeq ($(CONFIG_PM_DEVFREQ),y)
|
||||
# Select this entry to enable gk20a scaling
|
||||
CONFIG_GK20A_DEVFREQ := y
|
||||
|
||||
# Enable support to pass PM_QOS constraints to devfreq based scaling.
|
||||
CONFIG_GK20A_PM_QOS := y
|
||||
# Disable support to pass PM_QOS constraints to devfreq based scaling.
|
||||
CONFIG_GK20A_PM_QOS := n
|
||||
|
||||
endif
|
||||
endif
|
||||
@@ -135,8 +135,9 @@ ifneq ($(NV_BUILD_KERNEL_OPTIONS),)
|
||||
ifneq ($(findstring stable,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||
CONFIG_GK20A_DEVFREQ := n
|
||||
CONFIG_GK20A_PM_QOS := n
|
||||
else ifneq ($(filter 5.10,$(patsubst -,$(space),$(NV_BUILD_KERNEL_OPTIONS))),)
|
||||
CONFIG_GK20A_PM_QOS := n
|
||||
else ifneq ($(filter 4.9 4.14,$(patsubst -,$(space),$(NV_BUILD_KERNEL_OPTIONS))),)
|
||||
# Enable support to pass PM_QOS constraints to devfreq based scaling.
|
||||
CONFIG_GK20A_PM_QOS := y
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user