Searched refs:hvs_state (Results 1 – 2 of 2) sorted by relevance
504 struct vc4_hvs_state *hvs_state; in vc4_atomic_commit_setup() local508 hvs_state = vc4_hvs_get_new_global_state(state); in vc4_atomic_commit_setup()509 if (WARN_ON(IS_ERR(hvs_state))) in vc4_atomic_commit_setup()510 return PTR_ERR(hvs_state); in vc4_atomic_commit_setup()521 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()524 hvs_state->fifo_state[channel].pending_commit = in vc4_atomic_commit_setup()772 struct vc4_hvs_state *hvs_state = to_vc4_hvs_state(state); in vc4_hvs_channels_destroy_state() local776 if (!hvs_state->fifo_state[i].pending_commit) in vc4_hvs_channels_destroy_state()779 drm_crtc_commit_put(hvs_state->fifo_state[i].pending_commit); in vc4_hvs_channels_destroy_state()782 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()