|
@@ -233,8 +233,7 @@ static int gen6_ppgtt_init(struct i915_hw_ppgtt *ppgtt)
|
|
/* ppgtt PDEs reside in the global gtt pagetable, which has 512*1024
|
|
/* 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
|
|
* entries. For aliasing ppgtt support we just steal them at the end for
|
|
* now. */
|
|
* now. */
|
|
- first_pd_entry_in_global_pt =
|
|
|
|
- gtt_total_entries(dev_priv->gtt) - I915_PPGTT_PD_ENTRIES;
|
|
|
|
|
|
+ first_pd_entry_in_global_pt = gtt_total_entries(dev_priv->gtt);
|
|
|
|
|
|
ppgtt->num_pd_entries = I915_PPGTT_PD_ENTRIES;
|
|
ppgtt->num_pd_entries = I915_PPGTT_PD_ENTRIES;
|
|
ppgtt->enable = gen6_ppgtt_enable;
|
|
ppgtt->enable = gen6_ppgtt_enable;
|