summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drm_client.c
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2023-03-22 01:16:11 +0100
committerAndi Shyti <andi.shyti@linux.intel.com>2023-03-23 01:53:44 +0100
commitbadb30270960df505cf245bad8844c227731fb0b (patch)
treea747a0b3a2f063aef85b052edfb7765d45f9fa1a /drivers/gpu/drm/i915/i915_drm_client.c
parent80ac788a8d2fc8904cce97b7873b6d8fd513a46d (diff)
downloadlwn-badb30270960df505cf245bad8844c227731fb0b.tar.gz
lwn-badb30270960df505cf245bad8844c227731fb0b.zip
drm/i915: Use i915 instead of dev_priv insied the file_priv structure
In the process of renaming all instances of 'dev_priv' to 'i915', start using 'i915' within the 'drm_i915_file_private' structure. Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230322001611.632321-1-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drm_client.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drm_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drm_client.c b/drivers/gpu/drm/i915/i915_drm_client.c
index b09d1d386574..e8fa172ebe5e 100644
--- a/drivers/gpu/drm/i915/i915_drm_client.c
+++ b/drivers/gpu/drm/i915/i915_drm_client.c
@@ -130,7 +130,7 @@ void i915_drm_client_fdinfo(struct seq_file *m, struct file *f)
{
struct drm_file *file = f->private_data;
struct drm_i915_file_private *file_priv = file->driver_priv;
- struct drm_i915_private *i915 = file_priv->dev_priv;
+ struct drm_i915_private *i915 = file_priv->i915;
struct i915_drm_client *client = file_priv->client;
struct pci_dev *pdev = to_pci_dev(i915->drm.dev);
unsigned int i;