diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 15:20:07 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-28 16:24:53 +0300 |
commit | 1f85535cd04cb0b135971df9dcfd51749c9783f3 (patch) | |
tree | 588cf92617ba9577f2fbb3c1e35a6e6ecc688182 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f3bc22f04d44bdb94c3cfb4ad8970139d9df8252 (diff) | |
download | linux-1f85535cd04cb0b135971df9dcfd51749c9783f3.tar.xz |
drm/qxl: move qxl_primary_apply_cursor to correct place
The qxl device ties the cursor to the primary surface. Therefore
calling qxl_io_destroy_primary() and qxl_io_create_primary() to switch
the framebuffer causes the cursor information being lost and the driver
must re-apply it.
The correct call order to do that is qxl_io_destroy_primary() +
qxl_io_create_primary() + qxl_primary_apply_cursor().
The old code did qxl_io_destroy_primary() + qxl_primary_apply_cursor() +
qxl_io_create_primary(). Due to qxl_primary_apply_cursor request being
queued in a ringbuffer and qxl_io_create_primary() trapping to the
hypervisor instantly there is a high chance that qxl_io_create_primary()
is processed first even with the wrong call order. But it's racy and
thus not reliable.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-11-kraxel@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions