From: Danilo Krummrich <dakr@redhat.com>
To: airlied@linux.ie, daniel@ffwll.ch, mripard@kernel.org,
christian.koenig@amd.com, emma@anholt.net
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Danilo Krummrich <dakr@redhat.com>
Subject: [PATCH RESEND 10/10] drm/todo: remove task for idr_init_base()
Date: Wed, 20 Jul 2022 15:28:30 +0200 [thread overview]
Message-ID: <20220720132830.193747-11-dakr@redhat.com> (raw)
In-Reply-To: <20220720132830.193747-1-dakr@redhat.com>
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>
Acked-by: Christian König <christian.koenig@amd.com>
---
Documentation/gpu/todo.rst | 12 ------------
1 file changed, 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
---------------------------
--
2.36.1
prev parent reply other threads:[~2022-07-20 13:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 13:28 [PATCH RESEND 00/10] drm: use idr_init_base() over idr_init() if applicable Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 01/10] drm/amdgpu: use idr_init_base() to initialize mgr->ctx_handles Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 02/10] drm/amdgpu: use idr_init_base() to initialize fpriv->bo_list_handles Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 03/10] drm: use idr_init_base() to initialize master->magic_map Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 04/10] drm: use idr_init_base() to initialize master->lessee_idr Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 05/10] drm: use idr_init_base() to initialize mode_config.object_idr Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 06/10] drm: use idr_init_base() to initialize mode_config.tile_idr Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 07/10] drm/sis: use idr_init_base() to initialize dev_priv->object_idr Danilo Krummrich
2022-07-20 13:28 ` [PATCH RESEND 08/10] drm/v3d: use idr_init_base() to initialize v3d_priv->perfmon.idr Danilo Krummrich
2022-07-23 22:45 ` Melissa Wen
2022-07-20 13:28 ` [PATCH RESEND 09/10] drm/via: use idr_init_base() to initialize dev_priv->object_idr Danilo Krummrich
2022-07-20 13:28 ` Danilo Krummrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220720132830.193747-11-dakr@redhat.com \
--to=dakr@redhat.com \
--cc=airlied@linux.ie \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mripard@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®