diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-04-01 11:15:21 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-07 11:27:28 +0300 |
commit | aa7471d228eb6dfddd0d201ea9746d6a2020972a (patch) | |
tree | 924dcf89cbf5fe982c3e6c8051c7e7b7c093ef59 /drivers/gpu/drm/i915/intel_overlay.c | |
parent | 51ce4db1749028b89a1f4a70bfa78b77df8795e7 (diff) | |
download | linux-aa7471d228eb6dfddd0d201ea9746d6a2020972a.tar.xz |
drm/i915: add i915 specific connector debugfs file for DPCD
Occasionally it would be interesting to read some of the DPCD registers
for debug purposes, without having to resort to logging. Add an i915
specific i915_dpcd debugfs file for DP and eDP connectors to dump parts
of the DPCD. Currently the DPCD addresses to be dumped are statically
configured, and more can be added trivially.
The implementation also makes it relatively easy to add other i915 and
connector specific debugfs files in the future, as necessary.
This is currently i915 specific just because there's no generic way to
do AUX transactions given just a drm_connector. However it's all pretty
straightforward to port to other drivers.
v2: Add more DPCD registers to dump.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_overlay.c')
0 files changed, 0 insertions, 0 deletions