aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorFrederic Konrad <fkonrad@amd.com>2022-06-08 19:38:48 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-08 19:38:48 +0100
commitb3f5cc3fda5775b34aa52e111d50c9d10911b352 (patch)
treeaed7f26d78f99275d586163ec7e1d7bf97d957e6 /hw
parent39f40d02f6af8e4718100b6a3854e963c962cfd7 (diff)
downloadqemu-b3f5cc3fda5775b34aa52e111d50c9d10911b352.zip
qemu-b3f5cc3fda5775b34aa52e111d50c9d10911b352.tar.gz
qemu-b3f5cc3fda5775b34aa52e111d50c9d10911b352.tar.bz2
xlnx-zynqmp: fix the irq mapping for the display port and its dma
When the display port has been initially implemented the device driver wasn't using interrupts. Now that the display port driver waits for vblank interrupt it has been noticed that the irq mapping is wrong. So use the value from the linux device tree and the ultrascale+ reference manual. Signed-off-by: Frederic Konrad <fkonrad@amd.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20220601172353.3220232-5-fkonrad@xilinx.com [PMM: refold lines in commit message] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/arm/xlnx-zynqmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c
index 375309e..383e177 100644
--- a/hw/arm/xlnx-zynqmp.c
+++ b/hw/arm/xlnx-zynqmp.c
@@ -60,10 +60,10 @@
#define SERDES_SIZE 0x20000
#define DP_ADDR 0xfd4a0000
-#define DP_IRQ 113
+#define DP_IRQ 0x77
#define DPDMA_ADDR 0xfd4c0000
-#define DPDMA_IRQ 116
+#define DPDMA_IRQ 0x7a
#define APU_ADDR 0xfd5c0000
#define APU_IRQ 153