drm/todo: Add idr_init_base todo
Subsystems (3)
PATCH 1/1 drm/todo: Add idr_init_base todo
Suggested-by Chris Wilson <[email protected]>
Cc Chris Wilson <[email protected]>
Acked-by Chris Wilson <[email protected]>
Signed-off-by Daniel Vetter <[email protected]>
--- Documentation/gpu/todo.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)
Documentation/gpu/todo.rst +10 -0
@@ -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 =================
Signature · 6 lines
2.15.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Daniel Vetter
Suggested-by Chris Wilson <[email protected]>Cc Chris Wilson <[email protected]>Acked-by Chris Wilson <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 28 lines
--- Documentation/gpu/todo.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/gpu/todo.rst +10
-1@@ -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 ================= --2.15.1
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Daniel Vetter
Suggested-by Chris Wilson <[email protected]>Cc Chris Wilson <[email protected]>Acked-by Chris Wilson <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
And applied.
-Daniel
Quoted 28 lines
--- Documentation/gpu/todo.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)Documentation/gpu/todo.rst +10
-0@@ -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 =================Signature · 1 line
2.15.1
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel