[v2] drm/msm: DEVFREQ_GOV_SIMPLE_ONDEMAND is no longer needed

Message ID 20230220010428.16910-1-rdunlap@infradead.org
State New
Headers
Series [v2] drm/msm: DEVFREQ_GOV_SIMPLE_ONDEMAND is no longer needed |

Commit Message

Randy Dunlap Feb. 20, 2023, 1:04 a.m. UTC
  DRM_MSM no longer needs DEVFREQ_GOV_SIMPLE_ONDEMAND (since dbd7a2a941b8
in linux-next: PM / devfreq: Fix build issues with devfreq disabled),
so remove that select from the DRM_MSM Kconfig file.

Fixes: 6563f60f14cb ("drm/msm/gpu: Add devfreq tuning debugfs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: freedreno@lists.freedesktop.org
---
v2: since <linux/devfreq.h> has been patched, this select is no longer
    needed (Rob Clark)

 drivers/gpu/drm/msm/Kconfig |    1 -
 1 file changed, 1 deletion(-)
  

Comments

Rob Clark Feb. 20, 2023, 5:16 p.m. UTC | #1
On Sun, Feb 19, 2023 at 5:04 PM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> DRM_MSM no longer needs DEVFREQ_GOV_SIMPLE_ONDEMAND (since dbd7a2a941b8
> in linux-next: PM / devfreq: Fix build issues with devfreq disabled),
> so remove that select from the DRM_MSM Kconfig file.
>
> Fixes: 6563f60f14cb ("drm/msm/gpu: Add devfreq tuning debugfs")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Rob Clark <robdclark@gmail.com>
> Cc: Abhinav Kumar <quic_abhinavk@quicinc.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sean Paul <sean@poorly.run>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: linux-arm-msm@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: freedreno@lists.freedesktop.org

Thanks

Reviewed-by: Rob Clark <robdclark@gmail.com>

> ---
> v2: since <linux/devfreq.h> has been patched, this select is no longer
>     needed (Rob Clark)
>
>  drivers/gpu/drm/msm/Kconfig |    1 -
>  1 file changed, 1 deletion(-)
>
> diff -- a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
> --- a/drivers/gpu/drm/msm/Kconfig
> +++ b/drivers/gpu/drm/msm/Kconfig
> @@ -23,7 +23,6 @@ config DRM_MSM
>         select SHMEM
>         select TMPFS
>         select QCOM_SCM
> -       select DEVFREQ_GOV_SIMPLE_ONDEMAND
>         select WANT_DEV_COREDUMP
>         select SND_SOC_HDMI_CODEC if SND_SOC
>         select SYNC_FILE
  

Patch

diff -- a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -23,7 +23,6 @@  config DRM_MSM
 	select SHMEM
 	select TMPFS
 	select QCOM_SCM
-	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	select WANT_DEV_COREDUMP
 	select SND_SOC_HDMI_CODEC if SND_SOC
 	select SYNC_FILE