Re: [PATCH 00/17] various fixes for atomisp to make it work

From: Mauro Carvalho Chehab
Date: Thu Oct 28 2021 - 08:52:10 EST


Em Mon, 18 Oct 2021 01:19:40 +0900
Tsuchiya Yuto <kitakar@xxxxxxxxx> escreveu:

> Hi all,
>
> This patch series contains fixes for atomisp to work (again). Tested on
> Microsoft Surface 3 (Windows) and Xiaomi Mi Pad 2 (Android model) with
> v5.15-rc5. Both are Cherry Trail (ISP2401) devices.
>
After testing this series, I'm opting to merge most patches at the media
stage tree:

https://git.linuxtv.org/media_stage.git/log/

That would allow more people to test the changes.

It is probably too late to merge it for 5.16, so I'll likely postpone
merging it at media_tree to happen after 5.16-rc1.

Regards,
Mauro

---

I tested it on an Asus T101HA with:
https://github.com/intel/nvt

compiled with -m64, and with the enclosed script:


#!/bin/bash
set -e

FRAMES=10

FORMAT=NV12
WIDTH=1600
HEIGHT=1200

#FORMAT=NV12
#WIDTH=1920
#HEIGHT=1080


./v4l2n -o testimage_@.raw \
--device /dev/video2 \
--input 0 \
--exposure=30000,30000,30000,30000 \
--parm type=1,capturemode=CI_MODE_PREVIEW \
--fmt type=1,width=$WIDTH,height=$HEIGHT,pixelformat=$FORMAT \
--reqbufs count=2,memory=USERPTR \
--parameters=wb_config.r=32768,wb_config.gr=21043,wb_config.gb=21043,wb_config.b=30863 \
--capture=$FRAMES

for i in $(seq 0 $(($FRAMES - 1))); do
name="testimage_$(printf "%03i" $i)"

./raw2pnm -x$WIDTH -y$HEIGHT -f$FORMAT $name.raw $name.pnm

rm $name.raw
done