public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Getting primary plane_id in i-g-t
@ 2014-06-12 10:50 Jindal, Sonika
  2014-06-12 11:01 ` Sagar Arun Kamble
  0 siblings, 1 reply; 5+ messages in thread
From: Jindal, Sonika @ 2014-06-12 10:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: Kamble, Sagar A, Roper

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13  0:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 10:50 Getting primary plane_id in i-g-t Jindal, Sonika
2014-06-12 11:01 ` Sagar Arun Kamble
2014-06-12 12:52   ` Daniel Vetter
2014-06-12 14:38   ` Matt Roper
2014-06-13  0:41     ` Jindal, Sonika

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox