edid: use dta extension block descriptors
commit4f9e268637f334d639a3d3ab5f1f06dfe6e93bc0
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Apr 2021 15:08:20 +0000 (27 17:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 09:41:02 +0000 (10 11:41 +0200)
tree8da6dd80410c88b9179282dd6746af1ac0a7a1c7
parentec70aec8dca96fba10eba432b2adc22f49b87750
edid: use dta extension block descriptors

When the 4 descriptors in the base edid block are filled, jump to the
dta extension block.  This allows for more than four descriptors.
Happens for example when generating an edid blob with a serial number
(qemu-edid -s $serial).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-5-kraxel@redhat.com>
hw/display/edid-generate.c