[COMMON] media: scaler: add devfreq setting
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Sat, 15 Jul 2017 10:55:22 +0000 (19:55 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:17 +0000 (20:22 +0300)
commitaf287223a1e190b7213b3afa752f63e17c422957
tree35031d663f0d799359919cbfb93b4a718277cfc6
parente514fdf19d000e60e788b55050f9a1b8e848084b
[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