ipa: rkisp1: Update to kernel header changes
The rkisp1 driver has received support for newer ISP versions, which changes its userspace API and ABI. Adapt to the API change. This requires kernel v5.11 or newer, or backporting the corresponding rkisp1 changes to older kernels. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -216,7 +216,7 @@ void IPARkISP1::updateStatistics(unsigned int frame,
|
||||
|
||||
unsigned int value = 0;
|
||||
unsigned int num = 0;
|
||||
for (int i = 0; i < RKISP1_CIF_ISP_AE_MEAN_MAX; i++) {
|
||||
for (int i = 0; i < RKISP1_CIF_ISP_AE_MEAN_MAX_V10; i++) {
|
||||
if (ae->exp_mean[i] <= 15)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user