Searched refs:hw_tail (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_oa.c | 247 u32 tail, hw_tail, partial_report_size, available; in xe_oa_buffer_check_unlocked() local 253 hw_tail = xe_oa_hw_tail_read(stream); in xe_oa_buffer_check_unlocked() 254 hw_tail -= gtt_offset; in xe_oa_buffer_check_unlocked() 261 partial_report_size = xe_oa_circ_diff(stream, hw_tail, stream->oa_buffer.tail); in xe_oa_buffer_check_unlocked() 265 hw_tail = xe_oa_circ_diff(stream, hw_tail, partial_report_size); in xe_oa_buffer_check_unlocked() 267 tail = hw_tail; in xe_oa_buffer_check_unlocked() 286 if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size) in xe_oa_buffer_check_unlocked() 289 stream->oa_buffer.head, tail, hw_tail); in xe_oa_buffer_check_unlocked()
|