Message ID | 1366226285-13282-4-git-send-email-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wednesday 17 April 2013 22:18:04 ville.syrjala@linux.intel.com wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > 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 = 0; i < plane_resources->count_planes; i++) { > ovr = 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;
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 = 0; i < plane_resources->count_planes; i++) { ovr = 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;