Em Fri, 3 Aug 2018 15:34:26 +0300 Sakari Ailus <sakari.ailus@xxxxxx> escreveu: > > Still thinking out loud, the fact that we can't change the size of the > > structures pointed to by media_v2_topology bothers me. We could add a version > > field to media_v2_topology that would be set by applications to tell the > > kernel which version of the API they expect. On the other hand, maybe we'll > > just do a media_v3_topology when the need arises... > > What you could to is to allocate another field for the new struct; we're > entirely free to put whatever we want there, and the kernel would simply > need to convert between the two. Not ideal though. Another option would be to > explicitly convey the struct size as for the IOCTL argument itself. Both > should probably be used sparingly. The idea we had at the MC workshop is that anything else would be mapped via the properties API. So, the per-type structs will be kept on a minimal format. Thanks, Mauro