From 8b310f63697d3c05efd3e2f3e95b648fcd1ac7a8 Mon Sep 17 00:00:00 2001 From: shaochunk Date: Wed, 31 May 2023 18:21:01 +0800 Subject: [PATCH] devfreq: Add governor attribute for nvhost_podgov add governor attributes for nvhost_podgov in K5.15 - timer - polling_interval Bug 4137663 Change-Id: Ib8a989dec51474ba507a33cdc232fa24212414a5 Signed-off-by: Shao-Chun Kao Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2913189 Reviewed-by: svcacv Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Rajkumar Kasirajan Reviewed-by: Bitan Biswas GVS: Gerrit_Virtual_Submit --- drivers/devfreq/governor_pod_scaling.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/devfreq/governor_pod_scaling.c b/drivers/devfreq/governor_pod_scaling.c index 14c02b72..ed7b6533 100644 --- a/drivers/devfreq/governor_pod_scaling.c +++ b/drivers/devfreq/governor_pod_scaling.c @@ -892,6 +892,8 @@ static int nvhost_pod_event_handler(struct devfreq *df, static struct devfreq_governor nvhost_podgov = { .name = "nvhost_podgov", + .attrs = DEVFREQ_GOV_ATTR_POLLING_INTERVAL + | DEVFREQ_GOV_ATTR_TIMER, .get_target_freq = nvhost_pod_estimate_freq, .event_handler = nvhost_pod_event_handler, };