OA_BUFFER_SIZE    225 drivers/gpu/drm/i915/i915_perf.c #define OA_TAKEN(tail, head)	((tail - head) & (OA_BUFFER_SIZE - 1))
OA_BUFFER_SIZE    534 drivers/gpu/drm/i915/i915_perf.c 		    hw_tail < (gtt_offset + OA_BUFFER_SIZE)) {
OA_BUFFER_SIZE    662 drivers/gpu/drm/i915/i915_perf.c 	u32 mask = (OA_BUFFER_SIZE - 1);
OA_BUFFER_SIZE    702 drivers/gpu/drm/i915/i915_perf.c 	if (WARN_ONCE(head > OA_BUFFER_SIZE || head % report_size ||
OA_BUFFER_SIZE    703 drivers/gpu/drm/i915/i915_perf.c 		      tail > OA_BUFFER_SIZE || tail % report_size,
OA_BUFFER_SIZE    726 drivers/gpu/drm/i915/i915_perf.c 		if (WARN_ON((OA_BUFFER_SIZE - head) < report_size)) {
OA_BUFFER_SIZE    950 drivers/gpu/drm/i915/i915_perf.c 	u32 mask = (OA_BUFFER_SIZE - 1);
OA_BUFFER_SIZE    987 drivers/gpu/drm/i915/i915_perf.c 	if (WARN_ONCE(head > OA_BUFFER_SIZE || head % report_size ||
OA_BUFFER_SIZE    988 drivers/gpu/drm/i915/i915_perf.c 		      tail > OA_BUFFER_SIZE || tail % report_size,
OA_BUFFER_SIZE   1008 drivers/gpu/drm/i915/i915_perf.c 		if (WARN_ON((OA_BUFFER_SIZE - head) < report_size)) {
OA_BUFFER_SIZE   1435 drivers/gpu/drm/i915/i915_perf.c 	memset(stream->oa_buffer.vaddr, 0, OA_BUFFER_SIZE);
OA_BUFFER_SIZE   1494 drivers/gpu/drm/i915/i915_perf.c 	memset(stream->oa_buffer.vaddr, 0, OA_BUFFER_SIZE);
OA_BUFFER_SIZE   1517 drivers/gpu/drm/i915/i915_perf.c 	BUILD_BUG_ON_NOT_POWER_OF_2(OA_BUFFER_SIZE);
OA_BUFFER_SIZE   1518 drivers/gpu/drm/i915/i915_perf.c 	BUILD_BUG_ON(OA_BUFFER_SIZE < SZ_128K || OA_BUFFER_SIZE > SZ_16M);
OA_BUFFER_SIZE   1520 drivers/gpu/drm/i915/i915_perf.c 	bo = i915_gem_object_create_shmem(dev_priv, OA_BUFFER_SIZE);