Re: [PATCH 6/7] drm/i915: Rename i915_hw_ppgtt to i915_ppgtt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Matthew Auld (2019-06-07 12:02:45)
> On Mon, 3 Jun 2019 at 18:49, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Keeping the _hw_ in there does not help to distinguish it from its
> > brethren i915_ggtt, so drop it.
> >
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > ---
> >  drivers/gpu/drm/i915/gem/i915_gem_context.c   |  8 +-
> >  .../gpu/drm/i915/gem/selftests/huge_pages.c   | 12 +--
> >  .../gpu/drm/i915/gem/selftests/mock_context.c |  2 +-
> >  drivers/gpu/drm/i915/gt/intel_lrc.c           |  4 +-
> >  drivers/gpu/drm/i915/gt/intel_ringbuffer.c    |  5 +-
> >  drivers/gpu/drm/i915/gvt/scheduler.c          |  6 +-
> >  drivers/gpu/drm/i915/i915_drv.h               |  2 +-
> >  drivers/gpu/drm/i915/i915_gem_gtt.c           | 78 +++++++++----------
> >  drivers/gpu/drm/i915/i915_gem_gtt.h           | 28 +++----
> >  drivers/gpu/drm/i915/selftests/i915_gem_gtt.c |  6 +-
> >  drivers/gpu/drm/i915/selftests/mock_gtt.c     |  7 +-
> >  drivers/gpu/drm/i915/selftests/mock_gtt.h     |  4 +-
> >  12 files changed, 78 insertions(+), 84 deletions(-)
> >
> 
> [snip]
> 
> >
> > -struct i915_hw_ppgtt *
> > -mock_ppgtt(struct drm_i915_private *i915,
> > -          const char *name)
> > +struct i915_ppgtt *mock_ppgtt(struct drm_i915_private *i915, const char *name)
> >  {
> > -       struct i915_hw_ppgtt *ppgtt;
> > +       struct i915_ppgtt *ppgtt;
> >
> >         ppgtt = kzalloc(sizeof(*ppgtt), GFP_KERNEL);
> >         if (!ppgtt)
> >                 return NULL;
> >
> > -       ppgtt->vm.i915 = i915;
> 
> Hmm?

Ah hah! Thanks,
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux