drm/i915: Add extra plane information in debugfs.
authorRobert Fekete <robert.fekete@linux.intel.com>
Tue, 27 Oct 2015 15:58:32 +0000 (16:58 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 2 Nov 2015 11:05:20 +0000 (12:05 +0100)
commit3abc4e09c620e3b53887d7add88158549eee021f
tree3cd0ad8449e23158415bc876238185252c6375b5
parentfa9d60785783ebe11d3fafbedf5ec82bd3b02aec
drm/i915: Add extra plane information in debugfs.

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 commit.

V2: Fixed comments from Maarten, Ville, and Chris. Fixed printing of
16.16 fixpoint, better rotation bitmask management and some minor fixes

V3: Corrected state->src_x & 0x00ff to state->src_x & 0xffff...

Signed-off-by: Robert Fekete <robert.fekete@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1445961512-25317-1-git-send-email-robert.fekete@linux.intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c