aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_tiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_tiling.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_tiling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c
index eb993584aa6b..cb150e8b4336 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -87,7 +87,7 @@
87void 87void
88i915_gem_detect_bit_6_swizzle(struct drm_device *dev) 88i915_gem_detect_bit_6_swizzle(struct drm_device *dev)
89{ 89{
90 drm_i915_private_t *dev_priv = dev->dev_private; 90 struct drm_i915_private *dev_priv = dev->dev_private;
91 uint32_t swizzle_x = I915_BIT_6_SWIZZLE_UNKNOWN; 91 uint32_t swizzle_x = I915_BIT_6_SWIZZLE_UNKNOWN;
92 uint32_t swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN; 92 uint32_t swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN;
93 93
@@ -294,7 +294,7 @@ i915_gem_set_tiling(struct drm_device *dev, void *data,
294 struct drm_file *file) 294 struct drm_file *file)
295{ 295{
296 struct drm_i915_gem_set_tiling *args = data; 296 struct drm_i915_gem_set_tiling *args = data;
297 drm_i915_private_t *dev_priv = dev->dev_private; 297 struct drm_i915_private *dev_priv = dev->dev_private;
298 struct drm_i915_gem_object *obj; 298 struct drm_i915_gem_object *obj;
299 int ret = 0; 299 int ret = 0;
300 300
@@ -415,7 +415,7 @@ i915_gem_get_tiling(struct drm_device *dev, void *data,
415 struct drm_file *file) 415 struct drm_file *file)
416{ 416{
417 struct drm_i915_gem_get_tiling *args = data; 417 struct drm_i915_gem_get_tiling *args = data;
418 drm_i915_private_t *dev_priv = dev->dev_private; 418 struct drm_i915_private *dev_priv = dev->dev_private;
419 struct drm_i915_gem_object *obj; 419 struct drm_i915_gem_object *obj;
420 420
421 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle)); 421 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));