All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anshuman Gupta <anshuman.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [QUERY] equivalent of kmstest_unset_all_crtcs() without drm_res. igt_output
Date: Thu, 16 Apr 2020 20:36:18 +0530	[thread overview]
Message-ID: <20200416150617.GL5533@intel.com> (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
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

                 reply	other threads:[~2020-04-16 15:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200416150617.GL5533@intel.com \
    --to=anshuman.gupta@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.