[COMMON] media: scaler: add devfreq setting
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Sat, 15 Jul 2017 10:55:22 +0000 (19:55 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:31 +0000 (14:28 +0900)
commit46772a7f1edd943d0980c8a13652fc1e2b86ff27
treecbed0a6cbf5b583525ad0f0539605724d93b52c8
parent1a561bee2b589295e07c11547c4a1bb25fe21430
[COMMON] media: scaler: add devfreq setting

S_CTRL for framerate setting is added.
If user setting framerate of context, it is considered that pm qos lock
is required to guarantee scaler performance. User can remove pm qos lock
by setting framerate as zero explicitly, or it can be removed
automatically if context is closed.

Change-Id: I8e24e0f7ad24e1ed2fed2cc80a8c35495c32a531
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c
drivers/media/platform/exynos/scaler/scaler.h