[Intel-gfx] [PATCH 2/2] drm/i915: Add debugfs interface for planes

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 22 04:32:00 CEST 2013


On Wed, Aug 21, 2013 at 07:27:11PM -0700, Ben Widawsky wrote:
> On Thu, Aug 22, 2013 at 03:21:09AM +0100, Chris Wilson wrote:
> > On Wed, Aug 21, 2013 at 07:16:53PM -0700, Ben Widawsky wrote:
> > > Sent the unfinished commit by accident
> > > On Wed, Aug 21, 2013 at 08:15:53PM -0700, Ben Widawsky wrote:
> > > > This interface can enhanced over time to get more per plane information.
> > > > I've just flip counts for now. What I'd like to do with flip counts is
> > > > integrate them with existing flip tests. It serves a similar, but more
> > > > course purpose to some of the CRC work being done.
> > >   ^^
> > >  coarse.
> > > 
> > > "It can be used to determine if something is being flipped when we
> > > expect it to be flipped. The immediate issue I want to look into is I've
> > > seen some funny behavior where we're getting two flips per flip queued."
> > 
> > Cursed email - I only have your reply. On the machines you are interested
> > in, the CRTCs are assigned to fixed planes.
> > -Chris
> > 
> 
> It's not just you, mailman is acting weird for me also.
> 
> In any case, can you give me another hint on how to go from crtc_id to
> plane?

crtc-id to plane is easy, use the get_pipe_ioctl and the plane is
identical to the pipe (for these machines). If you want plane to crtc,
then you need to build a little mapping table.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list