]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite77f26e5283fa8bd7a585b1209bdec6dbbaeeac2
tree3cd0ad8449e23158415bc876238185252c6375b5
parent3c4ce21932941d881fbbb88a80402b50a27cbb9b
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