diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-02-19 15:57:08 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-02-19 17:32:12 +0100 |
commit | 1aecabb5b2d1dc1a821cdecda607eb70a8dd5124 (patch) | |
tree | 7f92d33ab7bbe000419eef07202361c15d8c8b16 /Documentation/gpu | |
parent | e86584c5377f4219781492ca164664bce40c0090 (diff) | |
download | lwn-1aecabb5b2d1dc1a821cdecda607eb70a8dd5124.tar.gz lwn-1aecabb5b2d1dc1a821cdecda607eb70a8dd5124.zip |
drm/todo: Add idr_init_base todo
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180219145708.23523-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'Documentation/gpu')
-rw-r--r-- | Documentation/gpu/todo.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 1e593370f64f..1a0a413eeced 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -212,6 +212,16 @@ probably use drm_fb_helper_fbdev_teardown(). 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 ================= |