Searched refs:hw_tail (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_oa.c | 263 u32 tail, hw_tail, partial_report_size, available; in xe_oa_buffer_check_unlocked() local 269 hw_tail = xe_oa_hw_tail_read(stream); in xe_oa_buffer_check_unlocked() 270 hw_tail -= gtt_offset; in xe_oa_buffer_check_unlocked() 277 partial_report_size = xe_oa_circ_diff(stream, hw_tail, stream->oa_buffer.tail); in xe_oa_buffer_check_unlocked() 281 hw_tail = xe_oa_circ_diff(stream, hw_tail, partial_report_size); in xe_oa_buffer_check_unlocked() 283 tail = hw_tail; in xe_oa_buffer_check_unlocked() 300 if (xe_oa_circ_diff(stream, hw_tail, tail) > report_size) in xe_oa_buffer_check_unlocked() 303 stream->oa_buffer.head, tail, hw_tail); in xe_oa_buffer_check_unlocked()
|