From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH libdrm 4/5] modetest: Print possible_crtcs for planes Date: Thu, 18 Apr 2013 15:46:50 +0200 Message-ID: <5884654.ROt0nKiPjj@avalon> References: <1366226285-13282-1-git-send-email-ville.syrjala@linux.intel.com> <1366226285-13282-4-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [95.142.166.194]) by gabe.freedesktop.org (Postfix) with ESMTP id 7AB7FE640C for ; Thu, 18 Apr 2013 06:46:46 -0700 (PDT) In-Reply-To: <1366226285-13282-4-git-send-email-ville.syrjala@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wednesday 17 April 2013 22:18:04 ville.syrjala@linux.intel.com wrote: > From: Ville Syrj=E4l=E4 > = > Signed-off-by: Ville Syrj=E4l=E4 Acked-by: Laurent Pinchart > --- > tests/modetest/modetest.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > = > diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c > index c91bb9d..27cd2ce 100644 > --- a/tests/modetest/modetest.c > +++ b/tests/modetest/modetest.c > @@ -429,7 +429,7 @@ static void dump_planes(void) > } > = > printf("Planes:\n"); > - printf("id\tcrtc\tfb\tCRTC x,y\tx,y\tgamma size\n"); > + printf("id\tcrtc\tfb\tCRTC x,y\tx,y\tgamma size\tpossible crtcs\n"); > for (i =3D 0; i < plane_resources->count_planes; i++) { > ovr =3D drmModeGetPlane(fd, plane_resources->planes[i]); > if (!ovr) { > @@ -438,10 +438,10 @@ static void dump_planes(void) > continue; > } > = > - printf("%d\t%d\t%d\t%d,%d\t\t%d,%d\t%d\n", > + printf("%d\t%d\t%d\t%d,%d\t\t%d,%d\t%-8d\t0x%08x\n", > ovr->plane_id, ovr->crtc_id, ovr->fb_id, > ovr->crtc_x, ovr->crtc_y, ovr->x, ovr->y, > - ovr->gamma_size); > + ovr->gamma_size, ovr->possible_crtcs); > = > if (!ovr->count_formats) > continue; -- = Regards, Laurent Pinchart