Skip to content

Commit ecd9352

Browse files
committed
drm/i915/rps: fix stale reference to i915->irq_lock
The RPS code has been switched from using i915->irq_lock to gt->irq_lock years ago in commit d762043 ("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 <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Reviewed-by: Gustavo Sousa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jani Nikula <[email protected]>
1 parent 0f2ab6a commit ecd9352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_rps_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct intel_rps {
5757

5858
/*
5959
* work, interrupts_enabled and pm_iir are protected by
60-
* i915->irq_lock
60+
* gt->irq_lock
6161
*/
6262
struct timer_list timer;
6363
struct work_struct work;

0 commit comments

Comments
 (0)