[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 1/6] sm501: Update screen on frame buffer address chang
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 1/6] sm501: Update screen on frame buffer address change |
Date: |
Mon, 16 Jul 2018 18:38:04 +1000 |
From: BALATON Zoltan <address@hidden>
When the guest changes the address of the frame buffer we need to
refresh the screen to correctly display the new content. This fixes
display update problems when changing between screens on AmigaOS.
Signed-off-by: BALATON Zoltan <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/display/sm501.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index 3661a89f60..9ab29d35dd 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -1235,6 +1235,7 @@ static void sm501_disp_ctrl_write(void *opaque, hwaddr
addr,
if (value & 0x8000000) {
qemu_log_mask(LOG_UNIMP, "Panel external memory not supported\n");
}
+ s->do_full_update = true;
break;
case SM501_DC_PANEL_FB_OFFSET:
s->dc_panel_fb_offset = value & 0x3FF03FF0;
@@ -1298,6 +1299,7 @@ static void sm501_disp_ctrl_write(void *opaque, hwaddr
addr,
if (value & 0x8000000) {
qemu_log_mask(LOG_UNIMP, "CRT external memory not supported\n");
}
+ s->do_full_update = true;
break;
case SM501_DC_CRT_FB_OFFSET:
s->dc_crt_fb_offset = value & 0x3FF03FF0;
--
2.17.1
- [Qemu-ppc] [PULL 0/6] ppc-for-3.0 queue 20180716, David Gibson, 2018/07/16
- [Qemu-ppc] [PULL 2/6] spapr: Correct inverted test in spapr_pc_dimm_node(), David Gibson, 2018/07/16
- [Qemu-ppc] [PULL 5/6] sam460ex: Correct use after free error, David Gibson, 2018/07/16
- [Qemu-ppc] [PULL 6/6] sm501: Fix warning about unreachable code, David Gibson, 2018/07/16
- [Qemu-ppc] [PULL 1/6] sm501: Update screen on frame buffer address change,
David Gibson <=
- [Qemu-ppc] [PULL 3/6] ppc/xics: fix ICP reset path, David Gibson, 2018/07/16
- [Qemu-ppc] [PULL 4/6] etsec: fix IRQ (un)masking, David Gibson, 2018/07/16
- Re: [Qemu-ppc] [PULL 0/6] ppc-for-3.0 queue 20180716, Peter Maydell, 2018/07/16