summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_rps_types.h
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2023-02-10 18:03:44 +0300
committerAndi Shyti <andi.shyti@linux.intel.com>2023-02-28 01:22:54 +0300
commit7416cbbc9fb9b09ba7664dc0f3176c567685a83c (patch)
tree8e361fa858c93dcb1a4e9cdbdb5d422600e798e7 /drivers/gpu/drm/i915/gt/intel_rps_types.h
parent1c388da529c8206818de6dd89b99ba21acc74f6b (diff)
downloadlinux-7416cbbc9fb9b09ba7664dc0f3176c567685a83c.tar.xz
drm/i915/gt: Rename dev_priv to i915 for private data naming consistency
It has become common practice to refer to the drm_i915_private structures as "i915". However, there are still instances where they are referred to as "dev_priv". This inconsistency can make grepping for information more difficult and does not maintain a cohesive style throughout the code. Rename all the "dev_priv" structures in the gt/* directory to "i915". Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230210150344.1066991-1-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_rps_types.h')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_rps_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_rps_types.h b/drivers/gpu/drm/i915/gt/intel_rps_types.h
index 9173ec75f2b8..6507fa3f6d1e 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
- * dev_priv->irq_lock
+ * i915->irq_lock
*/
struct timer_list timer;
struct work_struct work;