[Intel-gfx] [PATCH 10/18] drm/i915: Introduce a global_seqno for each request

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Sep 19 10:36:11 UTC 2016


On ke, 2016-09-14 at 07:52 +0100, Chris Wilson wrote:
> @@ -465,8 +466,15 @@ i915_gem_request_await_request(struct
> drm_i915_gem_request *to,
>  		return ret < 0 ? ret : 0;
>  	}
>  
> +	if (from->global_seqno == 0) {

Just use (!from->global_seqno) here too, for consistency.

Might be worth adding to the commit message that currently global_seqno
is still immediately assigned at creation.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list