[igt-dev] [QUERY] equivalent of kmstest_unset_all_crtcs() without drm_res. igt_output

Anshuman Gupta anshuman.gupta at intel.com
Thu Apr 16 15:06:18 UTC 2020


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.


More information about the igt-dev mailing list