Re: [PATCH 1/2] V4L: sh_mobile_ceu_camera: maximum image size depends on the hardware version

Guennadi Liakhovetski
2012-03-21T11:00:02Z

Hi Laurent

On Wed, 21 Mar 2012, Laurent Pinchart wrote:

> Hi Guennadi,
>
> On Wednesday 14 March 2012 16:02:20 Guennadi Liakhovetski wrote:
> > Newer CEU versions, e.g., the one, used on sh7372, support image sizes
> > larger than 2560x1920. Retrieve maximum sizes from platform properties.
>
> Isn't there a way you could query the CEU version at runtime instead ?

I'm not aware of any. And even if it were possible, I'm not sure putting
tables with "version - feature-set" tables into the driver proper would be
a very good idea. It used to be like that (or almost like that with
dependencies on the chip-type) in other drivers (e.g., shdma) and we
dropped it in favour of platform data.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer