summaryrefslogtreecommitdiff
path: root/hw
AgeCommit message (Collapse)AuthorFilesLines
2009-09-06XQuartz: launchd: Fallback on :0 if prefix:0 gives an error for the socket nameJeremy Huddleston1-2/+5
(cherry picked from commit 647c871dc9f2d0adc172b401cde89ffbdfcc4d7a)
2009-09-06XQuartz: Fix "warning: function declaration isn’t a prototype" noiseJeremy Huddleston1-1/+1
(cherry picked from commit 9a77905a975e562daa4230739937bbb0b4caf087)
2009-09-06XQuartz: pbproxy: 64bit fixes: Properly process an array of AtomsJeremy Huddleston2-7/+8
(cherry picked from commit 1b659cda1af02762a31cc7875e457b08c8dc68b5)
2009-09-05XQuartz: Fix a strcpy/strcmp typoJeremy Huddleston1-5/+6
(cherry picked from commit 701c24da3ef76a05ccb2d7e84ccfa1b7c5d38e15)
2009-09-04XQuartz: Check the DISPLAY environment variable to see if the socket at ↵Jeremy Huddleston2-10/+42
startup is ours. If not, ignore it and fork/exec startx. (cherry picked from commit 3d5e10cce360a04bf917227615fb9b825675124f)
2009-09-04XQuartz: Use --with-launchd-id-prefix for consistency with xinitJeremy Huddleston5-13/+15
Also actually honor LAUNCHD_ID_PREFIX and APPLE_APPLICATION_NAME (cherry picked from commit 990038ab006b2f5e03dcef385514ba4e4584bd25)
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-31XQuartz: GLX: Drawable does not contain resize anymore.Jeremy Huddleston1-8/+0
(cherry picked from commit 1e642f22fbf029bb3917091cb5fa2f78b4a92f62)
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-31XQuartz: GL: Unset GL_EXT_gpu_program_parameters for Tiger/ppcJeremy Huddleston1-0/+8
See http://trac.macports.org/ticket/20638 (cherry picked from commit 0f3a89d306838b3c75a73cd1e9e2928737222b70)
2009-08-31XQuartz: GL: Explicitly set GL_EXT symbols to 0 if they are not in ↵Jeremy Huddleston1-0/+73
OpenGL.framework to prevent X11's glext.h from setting them to 1. (cherry picked from commit 7fe37137d826d1b698e87a5b35050dd02f0a4d4b)
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-25XQuartz: Check NSINTEGER_DEFINED to make sure the NSInteger and NSUInteger ↵Jeremy Huddleston2-8/+10
types are defined. (cherry picked from commit 36e02a8649c0a545084cce5fb2c5717277b9273c)
2009-08-25XQuartz: Use applewmproto 1.4 updated headers.Jeremy Huddleston7-12/+7
(cherry picked from commit 203df06c0eb2dcd5adfa788a1ba9569650c15f9c)
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>