[HACK][COMMON] fimc-is2: Skip to select DVFS scenario for VRA in reprocessing instance
authorSanghoon Lee <shoon114.lee@samsung.com>
Tue, 19 Jun 2018 07:45:44 +0000 (16:45 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:27 +0000 (17:05 +0900)
When user opens VRA within reprocessing stream,
it should not trigger the DVFS level change because DVFS level is decided by ischain scenario that is before VRA.

Change-Id: I5dd1484fe4e1f87ae2935dd9bfff703f1c02a3ba
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-dvfs.c

index baecbe6e054e120637ad52835d143d3be9bc666c..3213c505537b0637ad8aa21115519da07639776f 100644 (file)
@@ -306,7 +306,7 @@ int fimc_is_dvfs_sel_dynamic(struct fimc_is_device_ischain *device, struct fimc_
                }
        }
 
-       if (!test_bit(FIMC_IS_ISCHAIN_REPROCESSING, &device->state))
+       if (!test_bit(FIMC_IS_ISCHAIN_REPROCESSING, &device->state) || group->id == GROUP_ID_VRA0)
                return -EAGAIN;
 
        position = fimc_is_sensor_g_position(device->sensor);