Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
call to ‘__open_missing_mode’
declared with attribute error: open with O_CREAT in second argument needs 3
arguments
fd = open("/dev/fb", 'r') Second parm is incorrect,
changed to O_RDONLY as other distros did.
Tested for correct compilation on AMD64
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers
need to include dpmsconst.h if xextproto 7.1 is available.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Previously maxxfbmem had to be configured by the user via xorg.conf in
order for DRI to work. maxxfbmem is now set to the required size for
the virtual display. This allows DRI to work without additional user
intervention.
In addition, code was added to detect the case there no additional
framebuffer memory is available. In this case, DRI is disabled. This
prevents mysterious lock-ups when trying to use DRI without video
memory for back buffers, etc.
Move code that selects the maximum wait iterations out of Volari_Wait
into Volari_SetDefaultIdleWait. This function is called from
XGIModeInit. The win here is that we can eliminate the Current*
global variables.
Previously DRI was only enabled when XGIfb was available. This was
done because XGIfb was the only place that initialized the framebuffer
memory manager. However, there is an ioctl for this purpose. Code
was added to xgi_dri.c to call this ioctl.
This matches the way the SiS driver works.
Replace all the tests of DualHeadMode and SecondHead with macros that
evaluate to FALSE when XGIDUALHEAD is not set. This allows the
elimination of many of the occurances of '#ifdef XGIDUALHEAD' in the
code.
There are some differences between these functions. Some were moved
over to XGI_SetATTRegs. For the others, I'm *assuming* the more
recent code drop from XGI (i.e., XGI_SetATTRegs) is correct for the
Volari parts.