Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_kms.c451 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()
[all …]