intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Gustavo Sousa <gustavo.sousa@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/rps: fix stale reference to i915->irq_lock
Date: Wed, 07 May 2025 15:55:21 +0300	[thread overview]
Message-ID: <87frhgvava.fsf@intel.com> (raw)
In-Reply-To: <174661672327.2473.16493793651989710991@intel.com>

On Wed, 07 May 2025, Gustavo Sousa <gustavo.sousa@intel.com> wrote:
> Quoting Jani Nikula (2025-05-07 05:31:36-03:00)
>>The RPS code has been switched from using i915->irq_lock to gt->irq_lock
>>years ago in commit d762043f7ab1 ("drm/i915: Extract GT powermanagement
>>interrupt handling"). Fix the stale comment referencing i915->irq_lock,
>>which has also ceased to exist.
>>
>>Reported-by: Gustavo Sousa <gustavo.sousa@intel.com>
>>Closes: https://lore.kernel.org/r/174656703321.1401.8627403371256302933@intel.com
>>Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>

Thanks, pushed.

BR,
Jani.

>
>>---
>> drivers/gpu/drm/i915/gt/intel_rps_types.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/drivers/gpu/drm/i915/gt/intel_rps_types.h b/drivers/gpu/drm/i915/gt/intel_rps_types.h
>>index 5135b90a2a40..ece445109305 100644
>>--- a/drivers/gpu/drm/i915/gt/intel_rps_types.h
>>+++ b/drivers/gpu/drm/i915/gt/intel_rps_types.h
>>@@ -57,7 +57,7 @@ struct intel_rps {
>> 
>>         /*
>>          * work, interrupts_enabled and pm_iir are protected by
>>-         * i915->irq_lock
>>+         * gt->irq_lock
>>          */
>>         struct timer_list timer;
>>         struct work_struct work;
>>-- 
>>2.39.5
>>

-- 
Jani Nikula, Intel

  reply	other threads:[~2025-05-07 12:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-07  8:31 [PATCH] drm/i915/rps: fix stale reference to i915->irq_lock Jani Nikula
2025-05-07 10:10 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
2025-05-07 10:32 ` ✓ i915.CI.BAT: success " Patchwork
2025-05-07 11:18 ` [PATCH] " Gustavo Sousa
2025-05-07 12:55   ` Jani Nikula [this message]
2025-05-07 12:34 ` ✗ i915.CI.Full: failure for " 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=87frhgvava.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.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;
as well as URLs for NNTP newsgroup(s).