public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Jindal, Sonika" <sonika.jindal@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: "Kamble, Sagar A" <sagar.a.kamble@intel.com>, Roper@freedesktop.org
Subject: Getting primary plane_id in i-g-t
Date: Thu, 12 Jun 2014 16:20:58 +0530	[thread overview]
Message-ID: <53998612.4070504@intel.com> (raw)

Hi,

I am writing i-g-t for primary plane 180 degree rotation.
How can we get plane_id for primary plane?
Following call returns an igt_plane_t for primary plane:
igt_output_get_plane(test_data->output, IGT_PLANE_PRIMARY)

But this has drm_plane as null, so couldn't get plane_id.

Then I tried getting planes from drmModeGetPlaneResources and 
drmModeGetPlane. But I am getting only sprite planes from that call.

I also tried, drmSetClientCap but can't figure out which plane is primary.

Is there a way to get primary plane and the plane_id for that?

Thanks,
Sonika

             reply	other threads:[~2014-06-12 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 10:50 Jindal, Sonika [this message]
2014-06-12 11:01 ` Getting primary plane_id in i-g-t Sagar Arun Kamble
2014-06-12 12:52   ` Daniel Vetter
2014-06-12 14:38   ` Matt Roper
2014-06-13  0:41     ` Jindal, Sonika

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=53998612.4070504@intel.com \
    --to=sonika.jindal@intel.com \
    --cc=Roper@freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=sagar.a.kamble@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox