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

2015-10-27 Thread Fekete, Robert
On Friday, October 23, 2015 4:27 PM, Chris Wilson wrote: > On Fri, Oct 23, 2015 at 04:24:25PM +0200, Robert Fekete wrote: > > +static const char *plane_rotation(unsigned int rotation) { > > + switch (rotation) { > > + case DRM_ROTATE_0: > > + return "0"; > > + case DRM_ROTATE_90: >

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

2015-10-27 Thread Robert Fekete
On mån, 2015-10-26 at 17:40 +0200, Ville Syrjälä wrote: > On Mon, Oct 26, 2015 at 03:56:33PM +0100, Robert Fekete wrote: > > Hi, thanks for reviewing Maarten. > > See comments inline... > > > > On mån, 2015-10-26 at 09:23 +0100, Maarten Lankhorst wrote: > > > Op 23-10-15 om 16:24 schreef Robert Fe

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

2015-10-26 Thread Ville Syrjälä
On Mon, Oct 26, 2015 at 03:56:33PM +0100, Robert Fekete wrote: > Hi, thanks for reviewing Maarten. > See comments inline... > > On mån, 2015-10-26 at 09:23 +0100, Maarten Lankhorst wrote: > > Op 23-10-15 om 16:24 schreef Robert Fekete: > > > Extends i915_display_info so that for each active crtc a

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

2015-10-26 Thread Robert Fekete
Hi, thanks for reviewing Maarten. See comments inline... On mån, 2015-10-26 at 09:23 +0100, Maarten Lankhorst wrote: > Op 23-10-15 om 16:24 schreef Robert Fekete: > > Extends i915_display_info so that for each active crtc also print > > all planes associated with the pipe. This patch shows informa

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

2015-10-26 Thread Maarten Lankhorst
Op 23-10-15 om 16:24 schreef 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 c

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

2015-10-23 Thread Ville Syrjälä
On Fri, Oct 23, 2015 at 04:24:25PM +0200, Robert Fekete wrote: > 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 deb

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

2015-10-23 Thread Chris Wilson
On Fri, Oct 23, 2015 at 04:24:25PM +0200, Robert Fekete wrote: > +static const char *plane_rotation(unsigned int rotation) > +{ > + switch (rotation) { > + case DRM_ROTATE_0: > + return "0"; > + case DRM_ROTATE_90: > + return "90"; > + case DRM_ROTATE_180: >

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

2015-10-23 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