aboutsummaryrefslogtreecommitdiff
path: root/include/hw/display/edid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/display/edid.h')
-rw-r--r--include/hw/display/edid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hw/display/edid.h b/include/hw/display/edid.h
index bacf170889..7948bd2c40 100644
--- a/include/hw/display/edid.h
+++ b/include/hw/display/edid.h
@@ -22,6 +22,8 @@ void qemu_edid_region_io(MemoryRegion *region, Object *owner,
#define DEFINE_EDID_PROPERTIES(_state, _edid_info) \
DEFINE_PROP_UINT32("xres", _state, _edid_info.prefx, 0), \
- DEFINE_PROP_UINT32("yres", _state, _edid_info.prefy, 0)
+ DEFINE_PROP_UINT32("yres", _state, _edid_info.prefy, 0), \
+ DEFINE_PROP_UINT32("xmax", _state, _edid_info.maxx, 0), \
+ DEFINE_PROP_UINT32("ymax", _state, _edid_info.maxy, 0)
#endif /* EDID_H */