Searched refs:possible_crtc (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_config.c | 160 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 D | vkms_output.c | 52 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 D | vkms_config.h | 162 #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 D | vkms_config_test.c | 179 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 …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_load_detect.c | 55 struct intel_crtc *possible_crtc; in intel_load_detect_get_pipe() local 92 for_each_intel_crtc(display->drm, possible_crtc) { in intel_load_detect_get_pipe() 94 drm_crtc_mask(&possible_crtc->base))) in intel_load_detect_get_pipe() 97 ret = drm_modeset_lock(&possible_crtc->base.mutex, ctx); in intel_load_detect_get_pipe() 101 if (possible_crtc->base.state->enable) { in intel_load_detect_get_pipe() 102 drm_modeset_unlock(&possible_crtc->base.mutex); in intel_load_detect_get_pipe() 106 crtc = possible_crtc; in intel_load_detect_get_pipe()
|