From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C19B6E2E8 for ; Thu, 16 Apr 2020 15:16:10 +0000 (UTC) Date: Thu, 16 Apr 2020 20:36:18 +0530 From: Anshuman Gupta Message-ID: <20200416150617.GL5533@intel.com> MIME-Version: 1.0 Content-Disposition: inline Subject: [igt-dev] [QUERY] equivalent of kmstest_unset_all_crtcs() without drm_res. igt_output List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: 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 igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev