Skip to contentSkip to conversation

equivalent of kmstest_unset_all_crtcs() without drm_res. igt_output

igt-dev Anshuman Gupta 1 participant 1 message Apr 16, 2020

lore
Share & tools
lore
#0 lore raw

Need some input on igt development,
kmstest_unset_all_crtcs() requires drm_res but if we already have igt_display_t display resource, then we shouldn't be requiring drm_res.

drmModeSetCrtc(drm_fd, resources->crtcs[i], 0, 0, 0, NULL,0, NULL);

Is it correct to replicate disbaling crtc instead above drmModeSetCrtc call with below two statements.

igt_output_set_pipe(data->output, PIPE_NONE);
igt_display_commit(&data->display);

Thanks,
Anshuman Gupta.
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev