Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vkms/
H A Dvkms_output.c52 struct vkms_config_crtc *possible_crtc; in vkms_output_init() local
55 vkms_config_plane_for_each_possible_crtc(plane_cfg, idx, possible_crtc) { in vkms_output_init()
57 drm_crtc_mask(&possible_crtc->crtc->crtc); in vkms_output_init()
62 struct vkms_config_crtc *possible_crtc; in vkms_output_init() local
80 vkms_config_encoder_for_each_possible_crtc(encoder_cfg, idx, possible_crtc) { in vkms_output_init()
82 drm_crtc_mask(&possible_crtc->crtc->crtc); in vkms_output_init()
84 if (vkms_config_crtc_get_writeback(possible_crtc)) { in vkms_output_init()
86 &possible_crtc->crtc->wb_encoder; in vkms_output_init()
H A Dvkms_config.c160 struct vkms_config_crtc *possible_crtc; in valid_planes_for_crtc() local
166 vkms_config_plane_for_each_possible_crtc(plane_cfg, idx, possible_crtc) { in valid_planes_for_crtc()
167 if (possible_crtc != crtc_cfg) in valid_planes_for_crtc()
256 struct vkms_config_crtc *possible_crtc; in valid_encoder_possible_crtcs() local
260 idx, possible_crtc) { in valid_encoder_possible_crtcs()
261 if (possible_crtc == crtc_cfg) in valid_encoder_possible_crtcs()
417 struct vkms_config_crtc *possible_crtc; in vkms_config_plane_attach_crtc() local
424 vkms_config_plane_for_each_possible_crtc(plane_cfg, idx, possible_crtc) { in vkms_config_plane_attach_crtc()
425 if (possible_crtc == crtc_cfg) in vkms_config_plane_attach_crtc()
437 struct vkms_config_crtc *possible_crtc; in vkms_config_plane_detach_crtc() local
[all …]
H A Dvkms_config.h162 #define vkms_config_plane_for_each_possible_crtc(plane_cfg, idx, possible_crtc) \ argument
163 xa_for_each(&(plane_cfg)->possible_crtcs, idx, (possible_crtc))
172 #define vkms_config_encoder_for_each_possible_crtc(encoder_cfg, idx, possible_crtc) \ argument
173 xa_for_each(&(encoder_cfg)->possible_crtcs, idx, (possible_crtc))
/linux/drivers/gpu/drm/vkms/tests/
H A Dvkms_config_test.c179 struct vkms_config_crtc *possible_crtc; in vkms_config_test_default_config() local
183 vkms_config_plane_for_each_possible_crtc(plane_cfg, idx, possible_crtc) { in vkms_config_test_default_config()
184 KUNIT_EXPECT_PTR_EQ(test, crtc_cfg, possible_crtc); in vkms_config_test_default_config()
764 struct vkms_config_crtc *possible_crtc; in vkms_config_test_plane_get_possible_crtcs() local
783 vkms_config_plane_for_each_possible_crtc(plane_cfg1, idx, possible_crtc) in vkms_config_test_plane_get_possible_crtcs()
786 vkms_config_plane_for_each_possible_crtc(plane_cfg2, idx, possible_crtc) in vkms_config_test_plane_get_possible_crtcs()
795 vkms_config_plane_for_each_possible_crtc(plane_cfg1, idx, possible_crtc) { in vkms_config_test_plane_get_possible_crtcs()
797 if (possible_crtc != crtc_cfg1 && possible_crtc != crtc_cfg2) in vkms_config_test_plane_get_possible_crtcs()
803 vkms_config_plane_for_each_possible_crtc(plane_cfg2, idx, possible_crtc) in vkms_config_test_plane_get_possible_crtcs()
808 vkms_config_plane_for_each_possible_crtc(plane_cfg1, idx, possible_crtc) { in vkms_config_test_plane_get_possible_crtcs()
[all …]