ipa: rkisp1: Split queuing of request and parameter filling

Queuing of request (i.e. passing of controls to the IPA)
and filling of the parameters buffer are two separate operations.
Treat them as such by splitting them into two functions in
the rkisp1 IPA interface.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Umang Jain
2022-03-31 22:19:13 +05:30
parent 0040820fc1
commit 08d7e66df0
3 changed files with 13 additions and 7 deletions

View File

@@ -855,8 +855,9 @@ int PipelineHandlerRkISP1::queueRequestDevice(Camera *camera, Request *request)
if (!info)
return -ENOENT;
data->ipa_->queueRequest(data->frame_, info->paramBuffer->cookie(),
request->controls());
data->ipa_->queueRequest(data->frame_, request->controls());
data->ipa_->fillParamsBuffer(data->frame_, info->paramBuffer->cookie());
data->frame_++;
return 0;