Path to this page:
Subject: CVS commit: wip/xf86-video-qxl
From: othyro
Date: 2014-08-07 05:00:12
Message id: E1XFDwN-0003OL-4v@sfs-ml-4.v29.ch3.sourceforge.com
Log Message:
Release 0.1.2
qxl_driver.c: fix compiler warning 'defined but not used' qxl_kernel_mode_enabled
qxl_image.c: fix compilation break
Since 3d511c30206bd8c9a207c436186a03af0bb02962 Xspice building is broken
due to undefined MAX_RELOCS when not building with XF86DRM_MODE.
drm: restore cursor after resolution change
The Spice server & qemu reset the cursor state when
changing resolution. Although X does restore the
cursor on framebuffer changes, it doesn't for crtc
config. Restoring the cursor here is the simplest
way to solve the "invisible cursor" after resolution
change bug with DRM driver.
https://bugzilla.redhat.com/show_bug.cgi?id=1030531
Dynamically adjust chunk size to avoid command buffer overflow.
The maximum number of "commands" that can be queued at once is
fixed at compile time at MAX_RELOCS. However, during the creation
of an image object in qxl_image_create(), the image is split into
commands of maximum size 512*512. For a large dual-head system,
it is easy to create an image for which the number of chunks will
result in an overflow of MAX_RELOCS number of "commands".
Identify this scenario and dynamically increase the chunk size to
avoid the overflow, and the resulting assert() which crashes Xorg.
Add support for server managed fds
Fix qxl_driver_func to adhere to the API
The driverFunc callback MUST check the passed in operand and only return
TRUE it if understands it and has handled it. It must NOT blindly assume the
op is GET_REQUIRED_HW_INTERFACES.
While at also always define driverFunc, and welcome qxl to the 21st century.
Add support for XSERVER_PLATFORM_BUS
This is a preparation patch for adding support for server managed fds.
fix memory leak when alloc uxa
Make use of the new playback rate interface, if available.
qxl: fix set cursor2 support for older kernel
On older kernels we were getting -EINVAL not -ENOSYS,
so we'd never render the cursor, gnome continuous uses a 3.10
kernel.
Xspice: add better doc strings for audio & vdagent
spiceqxl_util.[hc]: add copyright & license headers
Xspice: cleanup vdagent files
Xspice: fix cleanup when some processes are already dead
Xspice: cleanup non regular files too
xspice: chown both files used by vdagent for suid Xorg case
When running a suid Xorg mkfifo and bind produce files owned by root.
Change the ownership so that the user launched vdagent & vdagentd can
write to them. This also makes it easier to cleanup the files from the
Xspice process that is not running as root (and is launching both
vdagent & vdagentd, hence they are not running as root either).
The patch adds two new parameters, uid and gid of the agent used files,
namely the virtio unix domain socket and the uinput fifo.
spiceqxl_spice_server: no need to call spice_server_set_noauth twice
tests/xspice_util.py: fix hardcoded port
fix make dist
Files: