aboutsummaryrefslogtreecommitdiff
path: root/hw/display/xlnx_dp.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-08-10 15:28:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-08-30 13:24:13 +0200
commit91155f8bf723434cd22c46b12a040ebe90b0d651 (patch)
tree7fc2f94dbd49985cc48aea20068df2ad2838cc09 /hw/display/xlnx_dp.c
parent161f4c471732d8af9fd43f5818ee41fe1ba5be6e (diff)
downloadqemu-91155f8bf723434cd22c46b12a040ebe90b0d651.zip
qemu-91155f8bf723434cd22c46b12a040ebe90b0d651.tar.gz
qemu-91155f8bf723434cd22c46b12a040ebe90b0d651.tar.bz2
use dpy_gfx_update_full
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180810132856.22833-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/xlnx_dp.c')
-rw-r--r--hw/display/xlnx_dp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c
index 6439bd0..cc0f9bc 100644
--- a/hw/display/xlnx_dp.c
+++ b/hw/display/xlnx_dp.c
@@ -1186,8 +1186,7 @@ static void xlnx_dp_update_display(void *opaque)
/*
* XXX: We might want to update only what changed.
*/
- dpy_gfx_update(s->console, 0, 0, surface_width(s->g_plane.surface),
- surface_height(s->g_plane.surface));
+ dpy_gfx_update_full(s->console);
}
static const GraphicHwOps xlnx_dp_gfx_ops = {