Lines Matching refs:ip_gma
495 unsigned long ip_gma; member
748 "GTT" : "PPGTT", s->ip_gma); in parser_exec_state_dump()
786 if (s->ip_gma >= s->ring_head && s->ip_gma < ring_top) in update_ip_va()
787 len = (s->ip_gma - s->ring_head); in update_ip_va()
788 else if (s->ip_gma >= s->ring_start && in update_ip_va()
789 s->ip_gma <= s->ring_tail) in update_ip_va()
791 (s->ip_gma - s->ring_start); in update_ip_va()
793 len = (s->ip_gma - s->ring_head); in update_ip_va()
802 unsigned long ip_gma) in ip_gma_set() argument
804 WARN_ON(!IS_ALIGNED(ip_gma, 4)); in ip_gma_set()
806 s->ip_gma = ip_gma; in ip_gma_set()
814 s->ip_gma += (dw_len << 2); in ip_gma_advance()
817 if (s->ip_gma >= s->ring_start + s->ring_size) in ip_gma_advance()
818 s->ip_gma -= s->ring_size; in ip_gma_advance()
1983 s->ip_gma = gma; in perform_bb_shadow()
2014 s->ret_ip_gma_ring = s->ip_gma + cmd_length(s) * sizeof(u32); in cmd_handler_mi_batch_buffer_start()
2018 s->ret_ip_gma_bb = s->ip_gma + cmd_length(s) * sizeof(u32); in cmd_handler_mi_batch_buffer_start()
2749 trace_gvt_command(vgpu->id, s->engine->id, s->ip_gma, s->ip_va, in cmd_parser_exec()
2804 while (s->ip_gma != gma_tail) { in command_scan()
2807 if (!(s->ip_gma >= rb_start) || in command_scan()
2808 !(s->ip_gma < gma_bottom)) { in command_scan()
2811 s->ip_gma, rb_start, in command_scan()
2816 if (gma_out_of_range(s->ip_gma, gma_head, gma_tail)) { in command_scan()
2819 s->ip_gma, rb_start, in command_scan()