Searched refs:hvs_state (Results 1 – 2 of 2) sorted by relevance
505 struct vc4_hvs_state *hvs_state; in vc4_atomic_commit_setup() local509 hvs_state = vc4_hvs_get_new_global_state(state); in vc4_atomic_commit_setup()510 if (WARN_ON(IS_ERR(hvs_state))) in vc4_atomic_commit_setup()511 return PTR_ERR(hvs_state); in vc4_atomic_commit_setup()522 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()525 hvs_state->fifo_state[channel].pending_commit = in vc4_atomic_commit_setup()774 struct vc4_hvs_state *hvs_state = to_vc4_hvs_state(state); in vc4_hvs_channels_destroy_state() local778 if (!hvs_state->fifo_state[i].pending_commit) in vc4_hvs_channels_destroy_state()781 drm_crtc_commit_put(hvs_state->fifo_state[i].pending_commit); in vc4_hvs_channels_destroy_state()784 kfree(hvs_state); in vc4_hvs_channels_destroy_state()[all …]
28 struct vc4_hvs_state *hvs_state; in check_fifo_conflict() local32 hvs_state = vc4_hvs_get_new_global_state(state); in check_fifo_conflict()33 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, hvs_state); in check_fifo_conflict()36 if (!hvs_state->fifo_state[i].in_use) in check_fifo_conflict()