diff options
author | Tarun Vyas <tarun.vyas@intel.com> | 2018-10-04 14:50:23 -0700 |
---|---|---|
committer | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2018-10-04 20:21:57 -0700 |
commit | 7e066794d2ea860f4199fd67549080de17b6b852 (patch) | |
tree | b7de7ff522087788909533adff35f96bb9b9f39c /benchmarks/ilog2.h | |
parent | 5f40e617cd9c1e089f4a2d79c53a417d891e3e3c (diff) |
tools: Add a simple tool to read/write/decode dpcd registers
This tool serves as a wrapper around the constructs provided by the
drm_dpcd_aux_dev kernel module by working on the /dev/drm_dp_aux[n]
devices created by the kernel module.
It supports reading and writing dpcd registers on the connected aux
channels.
In the follow-up patch, support for decoding these registers will be
added to facilate debugging panel related issues.
v2: (Fixes by Rodrigo but no functional changes yet):
- Indentations, Typo, Missed spaces
- Removing mentioning to decode and spec that is not implemented yet.
- Add Makefile.sources back
- Missed s/printf/igt_warn
v3:
- Address DK's review comments from v2 above.
- Squash Rodrigo's file handling unification patch.
- Make count, offset and device id optional.
v4:
- Better error handling and refactoring.
Suggested-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Tarun Vyas <tarun.vyas@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'benchmarks/ilog2.h')
0 files changed, 0 insertions, 0 deletions