]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add basic pipe config dump support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 May 2013 10:05:54 +0000 (12:05 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:54:05 +0000 (20:54 +0200)
commitd6c5381c273422bbaf92f9f1c55e0442ec6929c1
tree2eaa6dd2ad394e22f4f671c2db4371e3b0390ed4
parent95db531250d8cd4f90ce143e72126b96e811e7d5
drm/i915: add basic pipe config dump support

All this pipe config abstraction adds another layer of complexity, so
it's good to have better visibility into what's going on exactly.
Doesn't dump out everything yet, and some bits are a bit duplicated
but this should be a good start.

Note that at boot-up a lot of the fields are 0 even for enabled pipes,
this is simply because our hw state readout code doesn't support
everything.

v2: Remove a few more now redudant debug output lines.

v3: Review from Paulo
- use transcoder_name
- fix up format specifiers
- add missing ':' in debug output

Cc: Paulo Zanoni <przanoni@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c