Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_kms.c803 struct drm_crtc **sorted_crtcs; in vc4_pv_muxing_atomic_check() local
838 sorted_crtcs = kmalloc_array(dev->num_crtcs, sizeof(*sorted_crtcs), GFP_KERNEL); in vc4_pv_muxing_atomic_check()
839 if (!sorted_crtcs) in vc4_pv_muxing_atomic_check()
844 sorted_crtcs[i++] = crtc; in vc4_pv_muxing_atomic_check()
846 sort(sorted_crtcs, i, sizeof(*sorted_crtcs), cmp_vc4_crtc_hvs_output, NULL); in vc4_pv_muxing_atomic_check()
855 crtc = sorted_crtcs[i]; in vc4_pv_muxing_atomic_check()
912 kfree(sorted_crtcs); in vc4_pv_muxing_atomic_check()
916 kfree(sorted_crtcs); in vc4_pv_muxing_atomic_check()