26 lines
1023 B
Diff
26 lines
1023 B
Diff
|
diff -Naur --no-dereference a/hw/display/edid-generate.c b/hw/display/edid-generate.c
|
||
|
--- a/hw/display/edid-generate.c 2023-07-04 11:03:21.575219263 +0000
|
||
|
+++ b/hw/display/edid-generate.c 2023-07-04 11:39:20.297679935 +0000
|
||
|
@@ -394,10 +394,10 @@
|
||
|
/* =============== set defaults =============== */
|
||
|
|
||
|
if (!info->vendor || strlen(info->vendor) != 3) {
|
||
|
- info->vendor = "RHT";
|
||
|
+ info->vendor = "DEL";
|
||
|
}
|
||
|
if (!info->name) {
|
||
|
- info->name = "QEMU Monitor";
|
||
|
+ info->name = "DEL Monitor";
|
||
|
}
|
||
|
if (!info->prefx) {
|
||
|
info->prefx = 1280;
|
||
|
@@ -449,7 +449,7 @@
|
||
|
uint16_t vendor_id = ((((info->vendor[0] - '@') & 0x1f) << 10) |
|
||
|
(((info->vendor[1] - '@') & 0x1f) << 5) |
|
||
|
(((info->vendor[2] - '@') & 0x1f) << 0));
|
||
|
- uint16_t model_nr = 0x1234;
|
||
|
+ uint16_t model_nr = 0xA05F;
|
||
|
uint32_t serial_nr = info->serial ? atoi(info->serial) : 0;
|
||
|
stw_be_p(edid + 8, vendor_id);
|
||
|
stw_le_p(edid + 10, model_nr);
|