display/edid: add qemu_edid_size()
commite7992fc5a002003ae865685ad4635b952c1ca9bf
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Sep 2018 07:56:43 +0000 (25 09:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 27 Sep 2018 06:07:51 +0000 (27 08:07 +0200)
tree4c814ddd0f854ea605de4b3911575f9a068d1383
parent72d277a70e8b2d4eb1b3667ab934fb1fecf41410
display/edid: add qemu_edid_size()

Helper function to figure the size of a edid blob, by checking how many
extensions are present.  Both the base edid blob and the extensions are
128 bytes in size.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180925075646.25114-3-kraxel@redhat.com
hw/display/edid-generate.c
include/hw/display/edid.h