Lines Matching refs:hvs_state
451 struct vc4_hvs_state *hvs_state; in vc4_atomic_commit_setup() local
455 hvs_state = vc4_hvs_get_new_global_state(state); in vc4_atomic_commit_setup()
456 if (WARN_ON(IS_ERR(hvs_state))) in vc4_atomic_commit_setup()
457 return PTR_ERR(hvs_state); in vc4_atomic_commit_setup()
468 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()
471 hvs_state->fifo_state[channel].pending_commit = in vc4_atomic_commit_setup()
719 struct vc4_hvs_state *hvs_state = to_vc4_hvs_state(state); in vc4_hvs_channels_destroy_state() local
723 if (!hvs_state->fifo_state[i].pending_commit) in vc4_hvs_channels_destroy_state()
726 drm_crtc_commit_put(hvs_state->fifo_state[i].pending_commit); in vc4_hvs_channels_destroy_state()
729 kfree(hvs_state); in vc4_hvs_channels_destroy_state()
735 struct vc4_hvs_state *hvs_state = to_vc4_hvs_state(state); in vc4_hvs_channels_print_state() local
739 drm_printf(p, "\tCore Clock Rate: %lu\n", hvs_state->core_clock_rate); in vc4_hvs_channels_print_state()
743 drm_printf(p, "\t\tin use=%d\n", hvs_state->fifo_state[i].in_use); in vc4_hvs_channels_print_state()
744 drm_printf(p, "\t\tload=%lu\n", hvs_state->fifo_state[i].fifo_load); in vc4_hvs_channels_print_state()