]> git.proxmox.com Git - mirror_qemu.git/commit
sm501: Fix hardware cursor
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 21 Apr 2017 15:18:09 +0000 (17:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Apr 2017 11:32:12 +0000 (12:32 +0100)
commit6a2a5aae02b9a0b53807b9ad91f15cd4988781f9
treecbd408e8bf03553a6dd13c223fe02f6d00285ddc
parentafef2e1d537dce002f15ab12d85e99baaa7b6651
sm501: Fix hardware cursor

Rework HWC handling to simplify it and fix cursor not updating on
screen as needed. Previously cursor was not updated because checking
for changes in a line overrode the update flag set for the cursor but
fixing this is not enough because the cursor should also be updated if
its shape or location changes. Introduce hwc_invalidate() function to
handle that similar to other display controller models.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 6970a5e9868b7246656c1d02038dc5d5fa369507.1492787889.git.balaton@eik.bme.hu
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/display/sm501.c
hw/display/sm501_template.h