On to, 2017-03-16 at 13:19 +0000, Chris Wilson wrote:
> We can simplify our tracking of pending writes in an execbuf to the
> single bit in the vma->exec_entry->flags, but that requires the
> relocation function knowing the object's vma. Pass it along.
> 

Drop a comment here that the flushing granularity is "any bit set"
level, so extra tracking granularity isn't helping.

> Signed-off-by: Chris Wilson <[email protected]>

<SNIP>

After this, pending_read_domains / pending_write_domain are unused in
DRM scope, so could be removed.

> @@ -1669,7 +1652,7 @@ i915_gem_do_execbuffer(struct drm_device *dev,
>       }
>  
>       /* Set the pending read domains for the batch buffer to COMMAND */

Nuke this comment too.

Reviewed-by: Joonas Lahtinen <[email protected]>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to