[igt-dev] [PATCH i-g-t v4] lib/igt_edid: new library for generating EDIDs

Arkadiusz Hiler arkadiusz.hiler at intel.com
Wed Apr 17 05:25:51 UTC 2019


On Tue, Apr 16, 2019 at 02:27:46PM +0300, Simon Ser wrote:
> 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 <simon.ser at intel.com>

Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

Merged with this squashed in (with Simon's ack over IRC):

diff --git a/lib/Makefile.sources b/lib/Makefile.sources
index a1d25351..62219349 100644
--- a/lib/Makefile.sources
+++ b/lib/Makefile.sources
@@ -25,7 +25,8 @@ lib_source_list =    \
   igt_aux.h      \
   igt_color_encoding.c \
   igt_color_encoding.h \
-  igt_edid_template.h  \
+  igt_edid.c     \
+  igt_edid.h     \
   igt_gpu_power.c      \
   igt_gpu_power.h      \
   igt_gt.c    \


More information about the igt-dev mailing list