From: Maxime Ripard <maxime@cerno.tech>
To: emma@anholt.net, daniel@ffwll.ch, dakr@redhat.com,
airlied@linux.ie, christian.koenig@amd.com
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 00/10] drm: use idr_init_base() over idr_init() if applicable
Date: Thu, 28 Jul 2022 16:44:13 +0200 [thread overview]
Message-ID: <20220728144413.nebc2js26vlwovr3@penduick> (raw)
In-Reply-To: <165901911294.5946.5075667196143577988.b4-ty@cerno.tech>
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
On Thu, Jul 28, 2022 at 04:41:41PM +0200, Maxime Ripard wrote:
> On Fri, 1 Jul 2022 20:52:53 +0200, dakr@redhat.com wrote:
> > From: Danilo Krummrich <dakr@redhat.com>
> >
> > This patch series initializes IDRs with idr_init_base(&idr, 1) rather than
> > idr_init(&idr) in case for the particular IDR no IDs < 1 are ever requested -
> > this avoids unnecessary tree walks.
> >
> > Danilo Krummrich (10):
> > drm/amdgpu: use idr_init_base() to initialize mgr->ctx_handles
> > drm/amdgpu: use idr_init_base() to initialize fpriv->bo_list_handles
> > drm: use idr_init_base() to initialize master->magic_map
> > drm: use idr_init_base() to initialize master->lessee_idr
> > drm: use idr_init_base() to initialize mode_config.object_idr
> > drm: use idr_init_base() to initialize mode_config.tile_idr
> > drm/sis: use idr_init_base() to initialize dev_priv->object_idr
> > drm/v3d: use idr_init_base() to initialize v3d_priv->perfmon.idr
> > drm/via: use idr_init_base() to initialize dev_priv->object_idr
> > drm/todo: remove task for idr_init_base()
> >
> > [...]
>
> Applied to drm/drm-misc (drm-misc-next).
The via driver had changed a bit and the patch 9 didn't apply at all.
I've moved the change to where it looked like it belonged, but you might
want to double check.
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2022-07-28 14:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 18:52 dakr
2022-07-01 18:52 ` [PATCH 01/10] drm/amdgpu: use idr_init_base() to initialize mgr->ctx_handles dakr
2022-07-01 18:52 ` [PATCH 02/10] drm/amdgpu: use idr_init_base() to initialize fpriv->bo_list_handles dakr
2022-07-01 18:52 ` [PATCH 03/10] drm: use idr_init_base() to initialize master->magic_map dakr
2022-07-01 18:52 ` [PATCH 04/10] drm: use idr_init_base() to initialize master->lessee_idr dakr
2022-07-01 18:52 ` [PATCH 05/10] drm: use idr_init_base() to initialize mode_config.object_idr dakr
2022-07-01 18:52 ` [PATCH 06/10] drm: use idr_init_base() to initialize mode_config.tile_idr dakr
2022-07-01 18:53 ` [PATCH 07/10] drm/sis: use idr_init_base() to initialize dev_priv->object_idr dakr
2022-07-01 19:02 ` [PATCH 08/10] drm/v3d: use idr_init_base() to initialize v3d_priv->perfmon.idr dakr
2022-07-01 19:02 ` [PATCH 09/10] drm/via: use idr_init_base() to initialize dev_priv->object_idr dakr
2022-07-01 19:02 ` [PATCH 10/10] drm/todo: remove task for idr_init_base() dakr
2022-07-04 13:09 ` [PATCH 00/10] drm: use idr_init_base() over idr_init() if applicable Christian König
2022-07-12 14:24 ` Danilo Krummrich
2022-07-28 3:56 ` Dave Airlie
2022-07-28 14:41 ` Maxime Ripard
2022-07-28 14:44 ` Maxime Ripard [this message]
2022-07-28 14:56 ` Danilo Krummrich
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=20220728144413.nebc2js26vlwovr3@penduick \
--to=maxime@cerno.tech \
--cc=airlied@linux.ie \
--cc=christian.koenig@amd.com \
--cc=dakr@redhat.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=linux-kernel@vger.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®