tcx: use tcx_set_dirty() for accelerated ops
commit973945804d95878375b487c0c5c9b2556c5e4543
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 5 Apr 2017 08:02:47 +0000 (5 09:02 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 21 Apr 2017 08:02:04 +0000 (21 09:02 +0100)
treebed569ba2a36322b0b925911c96a1ac0b0a7c3c1
parentee72bed08cc05f086ad1424e47f1b06461650381
tcx: use tcx_set_dirty() for accelerated ops

Rather than calling memory_region_set_dirty() directly, make sure that we call
tcx_set_dirty() instead. This ensures that the 24-bit plane and cplane are
also invalidated correctly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/tcx.c