Files
linux/include/drm
David Herrmann 1616c525b9 drm: add minor-lookup/release helpers
Instead of accessing drm_minors_idr directly, this adds a small helper to
hide the internals. This will help us later to remove the drm_global_mutex
requirement for minor-lookup.

Furthermore, this also makes sure that minor->dev is always valid and
takes a reference-count to the device as long as the minor is used in an
open-file. This way, "struct file*"->private_data->dev is guaranteed to be
valid (which it has to, as we cannot reset it).

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-16 12:25:17 +01:00
..
2010-08-10 08:20:20 +10:00
2013-08-19 10:32:26 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-12-17 18:09:43 +01:00
2013-08-07 10:16:50 +10:00
2013-12-18 11:35:45 +10:00
2013-12-17 18:09:46 +01:00
2013-05-23 12:51:32 +02:00
2011-02-07 13:09:42 +10:00
2014-03-16 12:25:17 +01:00
2012-03-10 13:06:04 +00:00
2013-11-08 18:09:36 +01:00