[Intel-gfx] [PATCH 08/10] drm/i915/gt: Convert stats.active to plain unsigned int

Andi Shyti andi at etezian.org
Thu Jan 14 03:02:35 UTC 2021


Hi Chris,

On Wed, Jan 13, 2021 at 12:45:58PM +0000, Chris Wilson wrote:
> As context-in/out is now always serialised, we do not have to worry
> about concurrent enabling/disable of the busy-stats and can reduce the
> atomic_t active to a plain unsigned int, and the seqlock to a seqcount.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

looks correct...

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list