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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user