Re: [BUG 0/5] bug reports for atomisp to make it work

From: Hans de Goede
Date: Mon Oct 18 2021 - 03:50:14 EST


Hi All,

Just adding some folks to the Cc.

Regards,

Hans

On 10/17/21 18:23, Tsuchiya Yuto wrote:
> Hi all,
>
> These mails contain RFC patches, which are almost bug report and some
> are just bug report, 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.
>
> I'm still not used to Linux patch sending flow. Sorry in advance
> if there is some weirdness :-) but I did my best.
>
> To try to take a picture, take a look at the series I sent earlier named
> ("various fixes for atomisp to make it work")
>
> The 1st patch is required to take a picture with atomsip (again):
>
> [BUG][RFC] media: atomisp: pci: assume run_mode is PREVIEW
>
> The 2nd patch is to avoid kernel warning message:
>
> [BUG][RFC] media: atomisp: pci: remove dummy_ptr NULL check to avoid
> duplicate active_bo
>
> The 3rd patch is to avoid kernel oops, which is almost required for
> using atomisp normally:
>
> [BUG][RFC] media: atomisp: pci: add NULL check for asd obtained from
> atomisp_video_pipe
>
> The 4th-5th mail is bug reports, no patches for these issues yet:
>
> [BUG] media: atomisp: `modprobe -r` not working well (dup video4linux,
> ATOMISP_SUBDEV_{0,1})
> [BUG] media: atomisp: atomisp causes touchscreen to stop working on
> Microsoft Surface 3
>
> I added further descriptions at the top of each RFC/BUG mails.
>
> Regards,
> Tsuchiya Yuto
>
> Tsuchiya Yuto (5):
> [BUG][RFC] media: atomisp: pci: assume run_mode is PREVIEW
> [BUG][RFC] media: atomisp: pci: remove dummy_ptr NULL check to avoid
> duplicate active_bo
> [BUG][RFC] media: atomisp: pci: add NULL check for asd obtained from
> atomisp_video_pipe
> [BUG] media: atomisp: `modprobe -r` not working well (dup video4linux,
> ATOMISP_SUBDEV_{0,1})
> [BUG] media: atomisp: atomisp causes touchscreen to stop working on
> Microsoft Surface 3
>
> .../staging/media/atomisp/pci/atomisp_cmd.c | 73 ++++++++++++++
> .../staging/media/atomisp/pci/atomisp_fops.c | 6 ++
> .../staging/media/atomisp/pci/atomisp_ioctl.c | 96 ++++++++++++++++++-
> drivers/staging/media/atomisp/pci/hmm/hmm.c | 4 -
> 4 files changed, 174 insertions(+), 5 deletions(-)
>