-
- Downloads
drm/i915/gt: Convert stats.active to plain unsigned int
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@chris-wilson.co.uk> Reviewed-by:
Andi Shyti <andi.shyti@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210115142331.24458-3-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gt/intel_engine_cs.c 4 additions, 4 deletionsdrivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_engine_stats.h 28 additions, 17 deletionsdrivers/gpu/drm/i915/gt/intel_engine_stats.h
- drivers/gpu/drm/i915/gt/intel_engine_types.h 2 additions, 2 deletionsdrivers/gpu/drm/i915/gt/intel_engine_types.h
Please register or sign in to comment