[PATCH 7/7] drm/i915: s/dev_priv/i915/ in the initial fb .setup()

Ville Syrjala <[email protected]>
Newsgroups org.freedesktop.lists.intel-gfx,org.freedesktop.lists.intel-xe
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland
Message-ID <[email protected]>
From: Ville Syrjälä <[email protected]>

Use the modern 'i915' variable name instead of the old 'dev_priv'
in the initial fb .setup().

Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/i915_initial_plane.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_initial_plane.c b/drivers/gpu/drm/i915/i915_initial_plane.c
index 559e1b98ca2f..b4e7d6e804dc 100644
--- a/drivers/gpu/drm/i915/i915_initial_plane.c
+++ b/drivers/gpu/drm/i915/i915_initial_plane.c
@@ -221,10 +221,10 @@ i915_free_initial_plane_obj(struct drm_gem_object *obj)
 
 static void i915_initial_plane_setup(struct drm_device *drm, u64 modifier)
 {
-	struct drm_i915_private *dev_priv = to_i915(drm);
+	struct drm_i915_private *i915 = to_i915(drm);
 
 	if (modifier != DRM_FORMAT_MOD_LINEAR)
-		dev_priv->preserve_bios_swizzle = true;
+		i915->preserve_bios_swizzle = true;
 }
 
 const struct intel_display_initial_plane_interface i915_display_initial_plane_interface = {
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.