On 2 February 2017 at 15:02, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_gem_gtt.c | 34 ++++++++++++---------------------- > 1 file changed, 12 insertions(+), 22 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c > index 991a15efe478..66c3540eb387 100644 > --- a/drivers/gpu/drm/i915/i915_gem_gtt.c > +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c > @@ -1699,36 +1699,29 @@ static void gen6_dump_ppgtt(struct i915_hw_ppgtt *ppgtt, struct seq_file *m) > } > > /* Write pde (index) from the page directory @pd to the page table @pt */ > -static void gen6_write_pde(struct i915_page_directory *pd, > - const int pde, struct i915_page_table *pt) > +static void gen6_write_pde(struct i915_hw_ppgtt *ppgtt, > + const int pde, struct i915_page_table *pt) Why doesn't this just take an unsigned int... Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx