From a2fd0489c87a4d647c339f98057e6a1550e0e2f5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 16 Apr 2019 14:27:46 +0300 Subject: lib/igt_edid: new library for generating EDIDs For the purposes of testing different EDID features, we need to generate more and more complex EDID blobs (e.g. with audio support). However currently IGT uses a macro-based system to generate EDIDs. This doesn't scale well and is pretty inflexible. This commit introduces a new little library to generate EDIDs. For now it can't do more than the old macro. Future commits will extend the API. The structures are mostly based on the Linux kernel code (drm_edid.h). Setters have been added for convenience. Signed-off-by: Simon Ser Reviewed-by: Arkadiusz Hiler --- lib/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/meson.build') diff --git a/lib/meson.build b/lib/meson.build index a8462933..20c0e3e6 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -54,7 +54,8 @@ lib_sources = [ 'igt_v3d.c', 'igt_vc4.c', 'igt_psr.c', - 'igt_amd.c' + 'igt_amd.c', + 'igt_edid.c', ] lib_deps = [ -- cgit v1.2.3