video: driver: enable dcvs - power feature

Enable/disable dcvs based on below settings.

- core supports dcvs
- core_clock_voting is set: disable
- encode_batching(superframe): disable
- decode_batching: disable
- thumbnail session: disable
- image session: disable

Handle below items as part of dcvs enablement.

- skip clock scaling for inactive session.
- reset dcvs flags to 0, for encoder at dcvs_window.

Change-Id: I84e6710946bca3fa8c83178f29745d4b9afd4697
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal
2021-03-30 20:41:07 +05:30
parent f3298d2fe6
commit 78b1491ee1
10 changed files with 123 additions and 55 deletions

View File

@@ -241,7 +241,7 @@ static struct msm_platform_inst_capability instance_data_waipio[] = {
CAP_FLAG_ROOT | CAP_FLAG_OUTPUT_PORT},
{SUPER_FRAME, ENC, H264|HEVC,
0, 16, 1, 0,
0, 32, 1, 0,
V4L2_CID_MPEG_VIDC_SUPERFRAME,
0},