All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/9] Unrestricted media entity ID range support
@ 2015-09-11 10:09 Sakari Ailus
  2015-09-11 10:09 ` [RFC 1/9] media: Rename MEDIA_ENTITY_ENUM_MAX_ID as MEDIA_ENTITY_MAX_LOW_ID Sakari Ailus
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Sakari Ailus @ 2015-09-11 10:09 UTC (permalink / raw)
  To: linux-media; +Cc: laurent.pinchart, javier, mchehab, hverkuil

Hi all,

This patchset adds an API for managing entity enumerations, i.e. storing a
bit of information per entity. The entity ID is no longer limited to small
integers (e.g. 31 or 63), but MEDIA_ENTITY_MAX_LOW_ID. The drivers are
also converted to use that instead of a fixed number.

If the number of entities in a real use case grows beyond the capabilities
of the approach, the algorithm may be changed. But most importantly, the
API is used to perform the same operation everywhere it's done.

I'm sending this for review only, the code itself is untested.

I haven't entirely made up my mind on the fourth patch. It could be
dropped, as it uses the API for a somewhat different purpose.

-- 
Kind regards,
Sakari


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-09-22 23:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 10:09 [RFC 0/9] Unrestricted media entity ID range support Sakari Ailus
2015-09-11 10:09 ` [RFC 1/9] media: Rename MEDIA_ENTITY_ENUM_MAX_ID as MEDIA_ENTITY_MAX_LOW_ID Sakari Ailus
2015-09-11 10:09 ` [RFC 2/9] media: Introduce low_id for media entities Sakari Ailus
2015-09-11 10:09 ` [RFC 3/9] media: Add an API to manage entity enumerations Sakari Ailus
2015-09-11 10:09 ` [RFC 4/9] media: Use media entity enum API for managing low IDs Sakari Ailus
2015-09-11 10:09 ` [RFC 5/9] media: Use entity enums in graph walk Sakari Ailus
2015-09-11 10:09 ` [RFC 6/9] media: entity: Remove useless WARN_ON()'s Sakari Ailus
2015-09-11 10:09 ` [RFC 7/9] omap3isp: Use media entity enumeration API Sakari Ailus
2015-09-11 10:09 ` [RFC 8/9] vsp1: " Sakari Ailus
2015-09-11 10:09 ` [RFC 9/9] staging: omap4iss: Use media entity enum API Sakari Ailus
2015-09-19  1:22 ` [RFC 0/9] Unrestricted media entity ID range support Mauro Carvalho Chehab
2015-09-20  7:26   ` Sakari Ailus
2015-09-22 12:11     ` Mauro Carvalho Chehab
2015-09-22 21:56       ` Sakari Ailus
2015-09-22 23:21         ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.