Re: [PATCH 1/2] drm/i915: Only mark as map-and-fenceable when bound into the GGTT

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

 



On Mon, Nov 03, 2014 at 04:17:57PM +0100, Daniel Vetter wrote:
> Then we could just look at the vma's drm_mm node instead of jumping
> through the helpers here. Which gets us one inch closer to tracking
> mappable in the ggtt vma, without increasing the diff ;-)

> 
> > +		bool mappable, fenceable;
> > +		u32 fence_size, fence_alignment;
> > +
> > +		fence_size = i915_gem_get_gtt_size(obj->base.dev,
> > +						   obj->base.size,
> > +						   obj->tiling_mode);
> > +		fence_alignment = i915_gem_get_gtt_alignment(obj->base.dev,
> > +							     obj->base.size,
> > +							     obj->tiling_mode,
> > +							     true);

I thought you were referring to these? But you are not, so what do you
mean?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux