Re: [Intel-gfx] [PATCH v2] drm/i915: Add extra plane information in debugfs.

2015-10-28 Thread Robert Fekete
On tis, 2015-10-27 at 17:31 +, Chris Wilson wrote: > On Tue, Oct 27, 2015 at 04:49:49PM +0100, Robert Fekete wrote: > > +static const char *plane_rotation(unsigned int rotation) > > +{ > > + static char buf[48]; > > + /* > > +* According to doc only one DRM_ROTATE_ is allowed but this >

Re: [Intel-gfx] [PATCH v2] drm/i915: Add extra plane information in debugfs.

2015-10-27 Thread Chris Wilson
On Tue, Oct 27, 2015 at 04:49:49PM +0100, Robert Fekete wrote: > +static const char *plane_rotation(unsigned int rotation) > +{ > + static char buf[48]; > + /* > + * According to doc only one DRM_ROTATE_ is allowed but this > + * will print them all to visualize if the values are

Re: [Intel-gfx] [PATCH v2] drm/i915: Add extra plane information in debugfs.

2015-10-27 Thread Robert Fekete
Do not review this one! I just found that I forgot to and(&) state->src_x with 0x. V3 coming in a sec or two. BR /Robert F On tis, 2015-10-27 at 16:49 +0100, Robert Fekete wrote: > Extends i915_display_info so that for each active crtc also print > all planes associated with the pipe. This

[Intel-gfx] [PATCH v2] drm/i915: Add extra plane information in debugfs.

2015-10-27 Thread Robert Fekete
Extends i915_display_info so that for each active crtc also print all planes associated with the pipe. This patch shows information about each plane wrt format, size, position, rotation, and scaling. This is very useful when debugging user space compositors that try to utilize several planes for a