On Fri, Feb 17, 2017 at 04:38:33PM +0000, Chris Wilson wrote:
> The hardware requires that the tail pointer only advance in qword units,
> so assert that the value we write is aligned to qwords, and similarly
> enforce this restriction onto the request->tail.
> 
> Signed-off-by: Chris Wilson <[email protected]>
> Cc: Tvrtko Ursulin <[email protected]>
> Cc: Mika Kuoppala <[email protected]>

LGTM.
Quick grep confirms that those are indeed all the relevant spots where we're
updating req->tail.

Reviewed-by: Michał Winiarski <[email protected]>

> ---
>  drivers/gpu/drm/i915/intel_lrc.c        | 4 ++++
>  drivers/gpu/drm/i915/intel_ringbuffer.c | 3 +++
>  2 files changed, 7 insertions(+)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to