Home
last modified time | relevance | path

Searched refs:hvs_state (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_kms.c430 struct vc4_hvs_state *hvs_state; in vc4_atomic_commit_setup() local
434 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() local
702 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 …]
/openbmc/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c29 struct vc4_hvs_state *hvs_state; in check_fifo_conflict() local
33 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()