Lines Matching refs:hc_state
625 drm_via_state_t *hc_state) in via_check_header2() argument
643 if (via_check_prim_list(&buf, buf_end, hc_state)) in via_check_header2()
651 hc_state->texture = 0; in via_check_header2()
655 hc_state->texture = 1; in via_check_header2()
697 if ((hz_mode = investigate_hazard(cmd, hz, hc_state))) { in via_check_header2()
704 } else if (hc_state->unfinished && in via_check_header2()
705 finish_current_sequence(hc_state)) { in via_check_header2()
709 if (hc_state->unfinished && finish_current_sequence(hc_state)) in via_check_header2()
967 drm_via_state_t *hc_state = &dev_priv->hc_state; in via_verify_command_stream() local
968 drm_via_state_t saved_state = *hc_state; in via_verify_command_stream()
980 hc_state->dev = dev; in via_verify_command_stream()
981 hc_state->unfinished = no_sequence; in via_verify_command_stream()
982 hc_state->map_cache = NULL; in via_verify_command_stream()
983 hc_state->agp = agp; in via_verify_command_stream()
984 hc_state->buf_start = buf; in via_verify_command_stream()
991 state = via_check_header2(&buf, buf_end, hc_state); in via_verify_command_stream()
1026 *hc_state = saved_state; in via_verify_command_stream()
1031 *hc_state = saved_state; in via_verify_command_stream()