Searched refs:hvs_state (Results 1 – 2 of 2) sorted by relevance
430 struct vc4_hvs_state *hvs_state; in vc4_atomic_commit_setup() local434 hvs_state = vc4_hvs_get_new_global_state(state); in vc4_atomic_commit_setup()435 if (WARN_ON(IS_ERR(hvs_state))) in vc4_atomic_commit_setup()436 return PTR_ERR(hvs_state); in vc4_atomic_commit_setup()447 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()450 hvs_state->fifo_state[channel].pending_commit = in vc4_atomic_commit_setup()698 struct vc4_hvs_state *hvs_state = to_vc4_hvs_state(state); in vc4_hvs_channels_destroy_state() local702 if (!hvs_state->fifo_state[i].pending_commit) in vc4_hvs_channels_destroy_state()705 drm_crtc_commit_put(hvs_state->fifo_state[i].pending_commit); in vc4_hvs_channels_destroy_state()708 kfree(hvs_state); in vc4_hvs_channels_destroy_state()[all …]
29 struct vc4_hvs_state *hvs_state; in check_fifo_conflict() local33 hvs_state = vc4_hvs_get_new_global_state(state); in check_fifo_conflict()34 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hvs_state); in check_fifo_conflict()37 if (!hvs_state->fifo_state[i].in_use) in check_fifo_conflict()