| Message ID | 20251024085130.995967-18-stefan.klug@ideasonboard.com |
|---|---|
| State | New |
| Headers | show |
| Series |
|
| Related | show |
Quoting Stefan Klug (2025-10-24 17:50:41) > In raw capture mode, prepare() is not called at all. Ensure that vblank > is still calculated corresctly. s/corresctly/correctly/ > > Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> I'd prefer this squashed with the previous patch. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> > --- > src/ipa/rkisp1/algorithms/agc.cpp | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp > index 5ce77b7672f2..7c9538f95cbe 100644 > --- a/src/ipa/rkisp1/algorithms/agc.cpp > +++ b/src/ipa/rkisp1/algorithms/agc.cpp > @@ -340,6 +340,9 @@ void Agc::queueRequest(IPAContext &context, > } > frameContext.agc.minFrameDuration = agc.minFrameDuration; > frameContext.agc.maxFrameDuration = agc.maxFrameDuration; > + > + /* V-blank needs to be valid for the start controls handling. Update it. */ > + processFrameDuration(context, frameContext); > } > > /** > -- > 2.48.1 >
diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp index 5ce77b7672f2..7c9538f95cbe 100644 --- a/src/ipa/rkisp1/algorithms/agc.cpp +++ b/src/ipa/rkisp1/algorithms/agc.cpp @@ -340,6 +340,9 @@ void Agc::queueRequest(IPAContext &context, } frameContext.agc.minFrameDuration = agc.minFrameDuration; frameContext.agc.maxFrameDuration = agc.maxFrameDuration; + + /* V-blank needs to be valid for the start controls handling. Update it. */ + processFrameDuration(context, frameContext); } /**
In raw capture mode, prepare() is not called at all. Ensure that vblank is still calculated corresctly. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> --- src/ipa/rkisp1/algorithms/agc.cpp | 3 +++ 1 file changed, 3 insertions(+)