On Tue, Jun 30, 2015 at 03:13:13PM +0100, Thomas Daniel wrote:
>       /**
> -      * Returned value of the updated offset of the object, for future
> -      * presumed_offset writes.
> +      * When the EXEC_OBJECT_PINNED flag is specified this is populated by
> +      * the user with the GTT offset at which this object will be pinned.
> +      * Otherwise the kernel populates it with the value of the updated
> +      * offset of the object, for future presumed_offset writes.
>        */

This isn't strictly true, even without PINNED but NO_RELOC this field must
be accurately populated with the presumed_offset. No matter what, the
kernel returns the value of the current address after execbuffer.
-Chris

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

Reply via email to