summaryrefslogtreecommitdiffstats
path: root/hw/display/dpcd.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-26 08:22:45 +0200
committerGerd Hoffmann2020-05-28 11:38:57 +0200
commit91e7fd3ae5a6fcd270f8d38fd5771033a806abce (patch)
treee9649b16fe9fa25d30a2e1931908d1038c813813 /hw/display/dpcd.c
parenthw/display/cirrus_vga: Convert debug printf() to trace event (diff)
downloadqemu-91e7fd3ae5a6fcd270f8d38fd5771033a806abce.tar.gz
qemu-91e7fd3ae5a6fcd270f8d38fd5771033a806abce.tar.xz
qemu-91e7fd3ae5a6fcd270f8d38fd5771033a806abce.zip
hw/display/dpcd: Fix memory region size
The memory region size is 512K. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200526062252.19852-8-f4bug@amsat.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/dpcd.c')
-rw-r--r--hw/display/dpcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/dpcd.c b/hw/display/dpcd.c
index 170545c605..0c1b7b35fb 100644
--- a/hw/display/dpcd.c
+++ b/hw/display/dpcd.c
@@ -1,5 +1,5 @@
/*
- * dpcd.c
+ * Xilinx Display Port Control Data
*
* Copyright (C) 2015 : GreenSocs Ltd
* http://www.greensocs.com/ , email: info@greensocs.com
@@ -137,7 +137,7 @@ static void dpcd_init(Object *obj)
{
DPCDState *s = DPCD(obj);
- memory_region_init_io(&s->iomem, obj, &aux_ops, s, TYPE_DPCD, 0x7FFFF);
+ memory_region_init_io(&s->iomem, obj, &aux_ops, s, TYPE_DPCD, 0x80000);
aux_init_mmio(AUX_SLAVE(obj), &s->iomem);
}