[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v4 10/11] sm501: Set updated region dirty after 2D ope
From: |
BALATON Zoltan |
Subject: |
[Qemu-ppc] [PATCH v4 10/11] sm501: Set updated region dirty after 2D operation |
Date: |
Tue, 19 Jun 2018 10:52:15 +0200 |
Set the changed memory region dirty after performed a 2D operation to
ensure that the screen is updated properly.
Signed-off-by: BALATON Zoltan <address@hidden>
---
hw/display/sm501.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index e126c15..ad518ce 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -774,6 +774,11 @@ static void sm501_2d_operation(SM501State *s)
abort();
break;
}
+
+ memory_region_set_dirty(&s->local_mem_region,
+ s->twoD_destination_base & 0x03FFFFFF,
+ (dst_y + operation_height) * dst_width +
+ dst_x + operation_width);
}
static uint64_t sm501_system_config_read(void *opaque, hwaddr addr,
--
2.7.6
- [Qemu-ppc] [PATCH v4 00/11] Misc sam460ex improvements, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 07/11] sm501: Implement i2c part for reading monitor EDID, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 06/11] target/ppc: Add missing opcode for icbt on PPC440, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 03/11] ppc4xx_i2c: Rewrite to model hardware more closely, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 04/11] hw/timer: Add basic M41T80 emulation, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 10/11] sm501: Set updated region dirty after 2D operation,
BALATON Zoltan <=
- [Qemu-ppc] [PATCH v4 11/11] sm501: Fix support for non-zero frame buffer start address, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 05/11] sam460ex: Add RTC device, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 01/11] ppc4xx_i2c: Remove unimplemented sdata and intr registers, BALATON Zoltan, 2018/06/19
- [Qemu-ppc] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register, BALATON Zoltan, 2018/06/19