Quoting Matthew Auld (2017-11-24 21:29:29) > Signed-off-by: Matthew Auld <[email protected]> > Cc: Joonas Lahtinen <[email protected]> > Cc: Chris Wilson <[email protected]> > Cc: Paulo Zanoni <[email protected]> > --- > diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h > b/drivers/gpu/drm/i915/i915_gem_gtt.h > index 6eb34fd2c4ba..a91281a55b91 100644 > --- a/drivers/gpu/drm/i915/i915_gem_gtt.h > +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h > @@ -368,9 +368,9 @@ i915_vm_has_scratch_64K(struct i915_address_space *vm) > */ > struct i915_ggtt { > struct i915_address_space base; > - struct io_mapping mappable; /* Mapping to our CPU mappable region > */ > > - phys_addr_t mappable_base; /* PA of our GMADR */ > + struct io_mapping mappable_io; /* Mapping to our CPU mappable region > */ > + struct resource mappable; /* GMADR resource */
How about struct io_mapping iomap; struct resource gmadr; ? ggtt->iomap I think is going to be less confusing than ggtt->mappable going forwards. -Chris _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
