Skip to contentSkip to conversation

drm/i915: Whitespace fix in gen6_ppgtt_init

PATCH In review Ben Widawsky 2 participants 2 messages May 4, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Whitespace fix in gen6_ppgtt_init

When the recent pde calculation was fixed in:
commit 43b27290dd42b40f3f23f49677a7faa5a4eb1eff

Author: Zhang, Xiong Y <[email protected]>
Date:   Sat Apr 27 09:53:33 2013 +0000

drm/i915: correct the calculation of first_pd_entry_in_global_pt

It had whitespace errors which I thought Daniel caught and fixed on merge, but I still see it here on -nightly.

---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_gem_gtt.c +1 -1
index 1718936..09b7310 100644
@@ -263,7 +263,7 @@ static int gen6_ppgtt_init(struct i915_hw_ppgtt *ppgtt)
 	/* ppgtt PDEs reside in the global gtt pagetable, which has 512*1024
 	 * entries. For aliasing ppgtt support we just steal them at the end for
 	 * now. */
-       first_pd_entry_in_global_pt = gtt_total_entries(dev_priv->gtt);
+	first_pd_entry_in_global_pt = gtt_total_entries(dev_priv->gtt);
 
 	if (IS_HASWELL(dev)) {
 		ppgtt->pte_encode = hsw_pte_encode;
Signature · 1 line
1.8.2.2
#1 lore raw
Quoted 11 lines · Ben Widawsky

When the recent pde calculation was fixed in:
commit 43b27290dd42b40f3f23f49677a7faa5a4eb1eff

Author: Zhang, Xiong Y <[email protected]>
Date:   Sat Apr 27 09:53:33 2013 +0000

drm/i915: correct the calculation of first_pd_entry_in_global_pt

It had whitespace errors which I thought Daniel caught and fixed on merge, but I still see it here on -nightly.

git seems to be doing something funny when merging dinq and -fixes. It's not really a rerere mismatch, since I've killed that and re-resolved the conflicts. Anyway, I've used your patch to fix up the -nightly merge for now and will use it once I'll do an official backmerge.

Thanks, Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch