pipeline: rkisp1: Fix vblank delay
The vblank delay for delayed controls was incorrectly hardcoded to 1.
Get it from the camera sensor properties instead.
Fixes: f72c76eb6e ("rkisp1: Honor the FrameDurationLimits control")
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -1325,7 +1325,7 @@ int PipelineHandlerRkISP1::createCamera(MediaEntity *sensor)
|
||||
std::unordered_map<uint32_t, DelayedControls::ControlParams> params = {
|
||||
{ V4L2_CID_ANALOGUE_GAIN, { delays.gainDelay, false } },
|
||||
{ V4L2_CID_EXPOSURE, { delays.exposureDelay, false } },
|
||||
{ V4L2_CID_VBLANK, { 1, false } },
|
||||
{ V4L2_CID_VBLANK, { delays.vblankDelay, false } },
|
||||
};
|
||||
|
||||
data->delayedCtrls_ =
|
||||
|
||||
Reference in New Issue
Block a user