This started as part of the work on Gerd's thread-safe display patches but ended up turning into something a lot more comprehensive. It contains lots of cleanupm and fixes for display invalidation (particularly on 24-bit TCX) exposed by testing the thread-safe patchset.
Signed-off-by: Mark Cave-Ayland <[email protected]> Mark Cave-Ayland (14): cg3: remove TARGET_PAGE_SIZE rounding on dirty page detection cg3: fix up size parameter for memory_region_get_dirty() cg3: remove unused width and height variables cg3: switch to load_image_mr() and remove prom-addr hack tcx: alter tcx_set_dirty() to accept address and length parameters tcx: ensure tcx_set_dirty() also invalidates the 24-bit plane and cplane tcx: alter tcx24_check_dirty() to accept address and length parameters tcx: alter tcx24_reset_dirty() to accept address and length parameters tcx: remove page24 and cpage from tcx24_update_display() tcx: remove TARGET_PAGE_SIZE from tcx_update_display() tcx: remove TARGET_PAGE_SIZE from tcx24_update_display() tcx: remove primitives for non-32-bit surfaces tcx: use tcx_set_dirty() for accelerated ops tcx: switch to load_image_mr() and remove prom_addr hack hw/display/cg3.c | 23 ++--- hw/display/tcx.c | 298 +++++++++++------------------------------------------- hw/sparc/sun4m.c | 2 - 3 files changed, 69 insertions(+), 254 deletions(-) -- 1.7.10.4
