drm/panfrost: Select devfreq
authorEzequiel Garcia <ezequiel@collabora.com>
Fri, 17 May 2019 15:00:42 +0000 (12:00 -0300)
committerRob Herring <robh@kernel.org>
Wed, 22 May 2019 18:05:13 +0000 (13:05 -0500)
commitf3617b449d0bcf3b5d80a97f51498dcf7463cf7e
tree2c91a1a460a0099e38697dfc7d7325b09fe8ec66
parent7c420636860a719049fae9403e2c87804f53bdde
drm/panfrost: Select devfreq

Currently, there is some logic for the driver to work without devfreq.
However, the driver actually fails to probe if !CONFIG_PM_DEVFREQ.

Fix this by selecting devfreq, and drop the additional checks
for devfreq.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190517150042.776-1-ezequiel@collabora.com
drivers/gpu/drm/panfrost/Kconfig
drivers/gpu/drm/panfrost/panfrost_devfreq.c