summaryrefslogtreecommitdiff
path: root/hw/xfree86
AgeCommit message (Collapse)AuthorFilesLines
2009-09-04xfree86: fix make distcheck after removal of Domain.note and RAC.Notes.Peter Hutterer1-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04require xf86vidmodeproto 2.2.99.1 or newer.Peter Hutterer2-4/+2
2009-09-04xfree86: silence some xf86dgaproto compiler warningsPeter Hutterer3-5/+3
We already require xf86dgaproto > 2.0.99 since 6fffcd582 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04xfree86: silence 'unused variable' compiler warningPeter Hutterer1-1/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04Formatted recent Geode PCI ID changes to fit a 80-column coding style.Martin-Éric Racine1-2/+3
2009-09-04Further explained what the Geode PCI ID is all about as comments.Martin-Éric Racine1-2/+2
2009-09-04Removed unnecessary curly braces for Geode LX PCI ID.Martin-Éric Racine1-2/+1
2009-09-04Updated the PCI Vendor and Device IDs for all Geode variants.Martin-Éric Racine1-5/+17
In practice, some of the native drivers for older Geode products have become deprecated due to lack of e.g. libpciaccess upgrade, but that's OK, since most distributions don't ship them anymore. In that case, we'll let X server fall back to good old VESA.
2009-09-02randr: Fix crtcs using set_mode_major()Adam Jackson1-4/+5
We'd never mark the crtc as active, meaning (among other things) gamma upload wouldn't work.
2009-09-02vgaarb: protect fini as well just in caseDave Airlie1-0/+2
2009-09-02vgaarb: if arb init fails, make sure locking doesn't occur.Dave Airlie1-0/+4
pointed out by Martin Jansa on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-01XFree86: Linux: Fix 100% CPU usage with ShareVTs and kbdMichael Witrant1-4/+4
Leave consoleFd open over the course of the server, even though any use of it in this context is likely to be disastrous. Signed-off-by: Michael Witrant <mike@lepton.fr> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2009-08-31alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBusMatt Turner4-77/+9
xf86SlowBCopyToBus and xf86SlowBCopyFromBus cause segfaults on my system. Also remove associated slowbcopy_tobus/slowbcopy_frombus macros. Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Make sys.c use compiler.h unaligned access functionsMatt Turner1-182/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Remove unused Delay.cMatt Turner3-41/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Remove unused BUSmemcpy.cMatt Turner3-190/+1
BUSmemcpy.c provides xf86BusToMem and xf86MemToBus, which are are memcpy wrappers written to avoid glibc's memcpy on Alpha. glibc'c memcpy on Alpha has improved much since this was written, so it's no longer needed. Neither function is used inside the xserver, and no module on my machine uses either as well. Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Remove unused ia64_flush_cache functionMatt Turner1-21/+0
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Simplify unaligned access codeMatt Turner1-257/+32
All architectures should be able to use the same unaligned access code, regardless of whether they need special unaligned access instructions. Let's let gcc do the heavy lifting. In the case that we're not using a gcc-compatible compiler, use memmove. The xserver already requires pixman, so include pixman.h for its uint*_t types. Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Clean up unaligned access functions on alphaMatt Turner1-113/+2
Checks for __GNUC__ are superfluous since the only other compiler for the platform is Compaq C, and it doesn't support GCC style inline assembly. Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Move unaligned access functions to common sectionMatt Turner1-287/+299
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Remove unused arm_flush_cache functionMatt Turner1-10/+0
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Remove unused ppc_flush_icache functionMatt Turner1-11/+0
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Replace 8 nops with proper sync instruction on mipsMatt Turner1-10/+11
Cc: Ralf Baechle <ralf@linux-mips.org> Acked-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Use sfence and mfence instructions on amd64Matt Turner1-4/+2
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Add x86 barrier macrosMatt Turner1-1/+15
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31define barrier macros as nops if not otherwise definedMatt Turner1-28/+10
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31Move memory barrier macros into common sectionMatt Turner1-58/+89
alphabetize by architecture also. Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31xfree86: remove _more_ RAC junkTiago Vignatti2-2/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-31xfree86: shut up vgaarb warnings when server doesn't support itTiago Vignatti1-2/+2
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-31xfree86: removal of some dead code due VGA arbiter's inclusionTiago Vignatti5-27/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-28xace: fix up access modes in dixLookupDrawable calls from dri2.Eamon Walsh1-9/+16
Referencing a screen through a drawable only requires GetAttr access. Treat dri2 drawables as child windows (Add/Remove access). Treat getting buffers as intent to read/write the drawable. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
2009-08-28EDID: Vendor detailed blocks aren't worth X_WARNING aboutAdam Jackson1-1/+1
2009-08-28EDID: Print 1152x864 in established timings, not x870Adam Jackson1-1/+1
The spec says x870, but we actually use x864 because that's a real DMT mode and x870 isn't. This might or might not be wrong, but we should at least tell the truth.
2009-08-28xf86 ddx: add vga arbiter support.Dave Airlie12-10/+1513
This adds support for using the libpciaccess interface for vga arbitration support on top of a kernel which supports it. Currently patches are queued for kernel 2.6.32 in jbarnes pci tree, and shipping in Fedora kernel. Co-authors: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-27xfree86: require xf86dgaproto 2.0.99.1.Peter Hutterer2-5/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-27xfree86: Remove xf86GetMotionEvents from public API.Peter Hutterer2-10/+0
This function was used as the default motion event queue API until including XINPUT_ABI 2 (server 1.5). This API was broken with 1883485 in May 2008 (wrong casting of parameters) and isn't in use by input drivers past ABI 3. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-25Ensure that rotation updates happen frequentlyKeith Packard1-0/+2
The smart scheduler is designed to minimize scheduler overhead by increasing the interval between WaitForSomething calls when a single client is running. However, the software rotation code depends on its BlockHandler being invoked for screen updates; the long delays caused by the smart scheduler optimizations means that screen updates can be delayed a long time as well. The change is simple -- prevent the smart scheduler from increasing the scheduling interval while any screen is using software rotation. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25Perform rotation redisplay before calling driver block handler (which may ↵Keith Packard1-2/+3
flush rendering) The rotation block handler uses regular driver rendering functions to repaint the screen, if those functions queue commands in the driver, it's important that the driver block handler be invoked after the rotated image is drawn. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25xf86_reload_cursors: fix cursor position to eliminate jumping after mode setKeith Packard1-2/+4
xf86_reload_cursors restores the cursor to the correct position, but that must adjust for cursor hot spot and frame before calling down to the hardware function, otherwise the cursor jumps to the wrong position until it is repositioned by the user. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-20xfree86: dump /proc/cmdline in the log on LinuxAdam Jackson1-0/+15
2009-08-20xfree86: remove bus state change notification callbackTiago Vignatti4-69/+0
No one is using bus notifications now. We hope that the kernel take care of this properly. For other not-so-urgent-notifications (ACPI wakeups, etc) we can just register a handler on server's scheduler (using xf86AddGeneralHandler). And for external applications, the "trend" is to use HAL to kick notifications. So we're already provided of enough notification schemes. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2009-08-18Sun bug 6872917: Xorg not querying /dev/fb when no xorg.conf existsAlan Coopersmith2-12/+33
commit 48ee5558333bd324463b6994735cabb23de262ec (OpenSolaris VT support) broke the autoconfiguration code in xf86AutoConfig.c that uses the Solaris-specific VIS_GETIDENTIFIER ioctl on a frame buffer device like /dev/fb by changing xf86Info.consoleFd from /dev/fb to a /dev/vt/* device. This fixes it by reworking the code to split the console device (/dev/vt/*, the vtXX CLI option) from the frame buffer device (/dev/fb, -dev option) to allow both VT and autoconfig to work. It also fixes the console device to use /dev/fb when VT's are not supported instead of throwing a Fatal Error because it can't open /dev/vt/0. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-08-18xfree86/linux: don't change VT perms unless we're running as rootJesse Barnes1-17/+21
In non-setuid root installations, we shouldn't try to adjust VT/tty ownership. It will fail, and shouldn't be necessary anyway (since startup scripts or PAM should be handling perms for us in that case). Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-08-18xfree86: remove unused code (xf86Configure.c)Tiago Vignatti1-2/+0
The xorg.conf generator was not assigning correctly the primary device ("bootable") as screen zero. So just skip this kind of routines for now. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: remove unaffected code (xf86Configure.c)Tiago Vignatti1-8/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: remove stupid macro (xf86Configure.c)Tiago Vignatti1-24/+24
It was confusing more instead helping. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: remove wrong commentaryTiago Vignatti1-1/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: header clean up (xf86Configure.c)Tiago Vignatti1-16/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: reorganize xf86Configure.cTiago Vignatti1-58/+97
No semantical changes. Only code moved around. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2009-08-18xfree86: remove unused PCI headerTiago Vignatti1-1/+0
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>