[igt-dev] [PATCH 0/2] Move dpcd_(read/write) to igt_dpcd

Kunal Joshi kunal1.joshi at intel.com
Tue Oct 17 05:52:50 UTC 2023


tests can use dpcd_read and dpcd_write for many use cases
one such use case is reading crc present at below address

DP_TEST_CRC_R_CR	0x240
DP_TEST_CRC_G_Y		0x242
DP_TEST_CRC_B_CB	0x244

Kunal Joshi (2):
  lib/igt_dpcd: move dpcd_read and dpcd_write to lib
  lib/meson.build: Add igt_dpcd for compilation

 lib/igt_dpcd.c   | 104 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_dpcd.h   |  24 +++++++++++
 lib/meson.build  |   5 +++
 tools/dpcd_reg.c |  60 +--------------------------
 4 files changed, 134 insertions(+), 59 deletions(-)
 create mode 100644 lib/igt_dpcd.c
 create mode 100644 lib/igt_dpcd.h

-- 
2.25.1



More information about the igt-dev mailing list