diff options
author | Danilo Krummrich <dakr@redhat.com> | 2022-07-01 22:02:27 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-07-28 17:36:49 +0300 |
commit | 8e61cbd483aee6ac6be9f5821e1bf22bed0710ff (patch) | |
tree | ea5cb54f521b9f399c84f36d3492ba0679342920 /Documentation/gpu | |
parent | b765bc9968de022cc7dfc745d23de595fcc2b6cd (diff) | |
download | linux-8e61cbd483aee6ac6be9f5821e1bf22bed0710ff.tar.xz |
drm/todo: remove task for idr_init_base()
All IDRs in the DRM core and drivers which are applicable for using
idr_init_base() over idr_init() should be set up to use a proper base in
order to avoid unnecessary tree walks.
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220701190227.284783-3-dakr@redhat.com
Diffstat (limited to 'Documentation/gpu')
-rw-r--r-- | Documentation/gpu/todo.rst | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 10bfb50908d1..de226ccc2c54 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -322,18 +322,6 @@ Contact: Daniel Vetter, Noralf Tronnes Level: Advanced -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 - -Level: Starter - struct drm_gem_object_funcs --------------------------- |