Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1aecabb5 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/todo: Add idr_init_base todo

parent e86584c5
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,16 @@ probably use drm_fb_helper_fbdev_teardown().


Contact: Maintainer of the driver you plan to convert
Contact: Maintainer of the driver you plan to convert


idr_init_base()
---------------

DRM core&drivers uses a lot of idr (integer lookup directories) for mapping
userspace IDs to internal objects, and in most places ID=0 means NULL and hence
is never used. Switching to idr_init_base() for these would make the idr more
efficient.

Contact: Daniel Vetter

Core refactorings
Core refactorings
=================
=================