From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: Touchscreen failure with CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND Date: Mon, 24 Apr 2017 17:13:43 +0530 Message-ID: <20170424114343.GS26900@vireshk-i7> References: <20170424040709.GG26900@vireshk-i7> <20170424112906.GR26900@vireshk-i7> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f180.google.com ([209.85.192.180]:33673 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1169279AbdDXLnr (ORCPT ); Mon, 24 Apr 2017 07:43:47 -0400 Received: by mail-pf0-f180.google.com with SMTP id a188so11176688pfa.0 for ; Mon, 24 Apr 2017 04:43:47 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Fabio Estevam Cc: "rjw@rjwysocki.net" , Sascha Hauer , Shawn Guo , "linux-pm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" On 24-04-17, 08:37, Fabio Estevam wrote: > On Mon, Apr 24, 2017 at 8:29 AM, Viresh Kumar wrote: > > > So clearly the system isn't changing the frequency a lot here and you stayed at > > the min freq for ever. Please give output of this as well: > > > > grep . /sys/devices/system/cpu/cpufreq/ondemand/* > > # grep . /sys/devices/system/cpu/cpufreq/ondemand/* > /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load:0 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy:0 > /sys/devices/system/cpu/cpufreq/ondemand/min_sampling_rate:10000 > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias:0 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor:1 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate:109000 110 ms is your sampling rate right now. Looks too high. Try doing this: echo 10000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate and retry your tests. > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold:95 > > > I am also worried if the interrupts from the touchscreen will be enough to boost > > the frequency of the CPU ? > > It does not seem that the interrupts from the touchscreen boost the > frequency of the CPU. > > When I keep touching the panel, the CPU frequency stays at 396 MHz. > > Thanks -- viresh