From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Luiz Otavio Mello <luiz.mello@estudante.ufscar.br>
Cc: <jani.nikula@linux.intel.com>, <joonas.lahtinen@linux.intel.com>,
<simona@ffwll.ch>, <airlied@gmail.com>, <tursulin@ursulin.net>,
<intel-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>, <mairacanal@riseup.net>
Subject: Re: [PATCH 8/9 v3] drm/i915: Drop unused struct_mutex from drm_i915_private
Date: Thu, 21 Aug 2025 11:55:13 -0400 [thread overview]
Message-ID: <aKdBYXuZ8N6shL4w@intel.com> (raw)
In-Reply-To: <20250813135035.144762-9-luiz.mello@estudante.ufscar.br>
On Wed, Aug 13, 2025 at 10:50:32AM -0300, Luiz Otavio Mello wrote:
> The struct_mutex field in drm_i915_private is no longer used anywhere in
> the driver. This patch removes it completely to clean up unused code and
> avoid confusion.
>
> Signed-off-by: Luiz Otavio Mello <luiz.mello@estudante.ufscar.br>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/i915/i915_driver.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915_driver.c
> index d1559fd8ad3d..c6263c6d3384 100644
> --- a/drivers/gpu/drm/i915/i915_driver.c
> +++ b/drivers/gpu/drm/i915/i915_driver.c
> @@ -233,7 +233,6 @@ static int i915_driver_early_probe(struct drm_i915_private *dev_priv)
>
> intel_sbi_init(display);
> vlv_iosf_sb_init(dev_priv);
> - mutex_init(&dev_priv->struct_mutex);
> mutex_init(&dev_priv->sb_lock);
>
> i915_memcpy_init_early(dev_priv);
> @@ -292,7 +291,6 @@ static void i915_driver_late_release(struct drm_i915_private *dev_priv)
> i915_workqueues_cleanup(dev_priv);
>
> mutex_destroy(&dev_priv->sb_lock);
> - mutex_destroy(&dev_priv->struct_mutex);
> vlv_iosf_sb_fini(dev_priv);
> intel_sbi_fini(display);
Hi Luiz,
I was going to merge this series right now, but for my surprise this patch
is missing a chunk present in the previous versions, which remove for good
the struct_mutex and that comment block.
You probably forgot a git add while fixing the rebase conflict.
Could you please get it back and resend the series?
Thanks,
Rodrigo.
>
> --
> 2.50.1
>
next prev parent reply other threads:[~2025-08-21 15:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 13:50 [PATCH 0/9 v3] drm/i915: Remove legacy struct_mutex usage Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 1/9 v3] drm/i915: Move struct_mutex to drm_i915_private Luiz Otavio Mello
2025-08-15 13:04 ` Rodrigo Vivi
2025-08-15 22:15 ` Rodrigo Vivi
2025-08-21 15:21 ` Thomas Zimmermann
2025-08-13 13:50 ` [PATCH 2/9 v3] drm/i915: Remove struct_mutex in i915_irq.c Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 3/9 v3] drm/i915: Change mutex initialization in intel_guc_log Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 4/9 v3] drm/i915: Replace struct_mutex " Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 5/9 v3] drm/i915/gem: Clean-up outdated struct_mutex comments Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 6/9 v3] drm/i915/display: Remove " Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 7/9 v3] drm/i915: Clean-up " Luiz Otavio Mello
2025-08-13 13:50 ` [PATCH 8/9 v3] drm/i915: Drop unused struct_mutex from drm_i915_private Luiz Otavio Mello
2025-08-21 15:55 ` Rodrigo Vivi [this message]
2025-08-13 13:50 ` [PATCH 9/9 v3] drm/i915: Remove todo and comments about struct_mutex Luiz Otavio Mello
2025-08-15 13:03 ` Rodrigo Vivi
2025-08-15 13:22 ` Thomas Zimmermann
2025-08-13 14:18 ` ✗ LGCI.VerificationFailed: failure for drm/i915: Remove legacy struct_mutex usage (rev3) Patchwork
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=aKdBYXuZ8N6shL4w@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=luiz.mello@estudante.ufscar.br \
--cc=mairacanal@riseup.net \
--cc=simona@ffwll.ch \
--cc=tursulin@ursulin.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.