- 21 May, 2012 10 commits
-
-
Dave Airlie authored
Just simple conversion to use the lookup function. Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This uses a standard conversion function to do the conversion. Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
Just use new macros to access scrn->screen. Reviewed-by:
Adam Jackson <ajax@redhat.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
use the glyph picture accessors in the X server, render and EXA code. Reviewed-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This is a new API to stop the drivers directly looking up the glyph pictures in a global array. It provides a define GLYPH_HAS_GLYPH_PICTURE_ACCESSOR for drivers to work in a compat way. Reviewed-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
migrate to new helper API. This just wraps all the obvious uses of xf86Screens[pScreen->myNum], and should be fairly simple to review. v2: remove commented out lines. Reviewed-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
These are just simple functions that we should start migrating drivers to using. The end goal is to remove xf86Screens and screenInfo from the ABI. This includes a define XF86_HAS_SCRN_CONV that drivers can ifdef to provide their own copies. I'll probably post a generic compat.h file for drivers later. v2: add asserts. Reviewed-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
Currently if we claim a slot for a PCI driver, we never let it go properly, this prevents the fallback probe from reusing the slot, even though it isn't claimed for that pci slot. So if you set the modesetting driver to point at a specific kms device, that isn't a PCI device (i.e. USB dongle), then the modesetting driver loads, the pci probe tries to bind the config slot to the primary PCI device, however we then check the kms device bus id to discover it isn't valid. However we don't remove the claim on the slot. Next the old probe function is called and there is no slots to claim. This patch fixes that and converts the pciSlotClaimed boolean into a counter, and changes the unclaim api to take a device pointer to remove from the entity. Reviewed-by:
Adam Jackson <ajax@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
In order to use udev for gpu enumeration, we need to init udev earlier than input initialisations. This splits the config init stuff so that udev pre init sets up before output initialisation. this is just a prepatory patch, doesn't change anything major. Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
Add the modesetting driver to the fallback list on Linux, after vesa before fbdev. Acked-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 17 May, 2012 6 commits
-
-
Keith Packard authored
-
Jeremy Huddleston Sequoia authored
http://xquartz.macosforge.org/trac/ticket/579Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
Jeremy Huddleston Sequoia authored
Regression-from: 6699f54fSigned-off-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
Jeremy Huddleston Sequoia authored
Regression-from: 30623d6fSigned-off-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
Jeremy Huddleston Sequoia authored
http://trac.macports.org/ticket/34364 Regression-from: 662d41acReported-by:
Peter Dyballa <Peter_Dyballa@Freenet.DE> Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
Jeremy Huddleston Sequoia authored
Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
- 16 May, 2012 10 commits
-
-
Peter Hutterer authored
extinit.c: In function 'XInputExtensionInit': extinit.c:1301:29: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] extinit.c:1303:36: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] property.c: In function 'XIChangeDeviceProperty': xiproperty.c:757:39: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
exevents.c: In function 'DeepCopyFeedbackClasses': exevents.c:272:20: warning: declaration of 'classes' shadows a previous local [-Wshadow] exevents.c:245:16: warning: shadowed declaration is here [-Wshadow] (and a few more like this) exevents.c: In function 'DeliverTouchEmulatedEvent': exevents.c:1442:27: warning: declaration of 'win' shadows a parameter [-Wshadow] exevents.c:1404:55: warning: shadowed declaration is here [-Wshadow] exevents.c:1475:28: warning: declaration of 'listener' shadows a parameter [-Wshadow] exevents.c:1403:62: warning: shadowed declaration is here [-Wshadow] xiselectev.c: In function 'ProcXISelectEvents': xiselectev.c:178:34: warning: declaration of 'dummy' shadows a previous local [-Wshadow] xiselectev.c:91:18: warning: shadowed declaration is here [-Wshadow] Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
This is only called from the enterleave implementation, so move it and its helper functions to there. No functional changes. Fixes build error introduced in 31174565 if building with '-Werror=implicit-function-declaration' Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com>
-
Peter Hutterer authored
last.valuators contains the transformed valuators of the device. If the device submits events with x/y missing, we need to get that from last.valuators and undo the transformation to that axis. X.Org Bug 49347 <http://bugs.freedesktop.org/show_bug.cgi?id=49347> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
../../include/xkbsrv.h:308:51: warning: redundant redeclaration of ‘DeviceKeyPress’ [-Wredundant-decls] Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
protocol-xiquerydevice.c:226:25: warning: declaration of ‘len’ shadows a parameter [-Wshadow] Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
In file included from protocol-common.c:36:0: protocol-common.h:36:12: warning: redundant redeclaration of ‘BadDevice’ [-Wredundant-decls] In file included from protocol-common.c:30:0: ../../Xi/exglobals.h:41:12: note: previous declaration of ‘BadDevice’ was here Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
protocol-xiquerypointer.c:124:72: warning: declaration of ‘userdata’ shadows a global declaration [-Wshadow] and similar Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
Peter Hutterer authored
In file included from protocol-xiwarppointer.c:41:0: protocol-common.h:91:23: warning: redundant redeclaration of ‘devices’ [-Wredundant-decls] protocol-common.h:86:3: note: previous declaration of ‘devices’ was here Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
-
simonthum authored
Signed-off-by:
Simon Thum <simon.thum@gmx.de> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 14 May, 2012 14 commits
-
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
The functions are already declared in xf86xv.h Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Michal Suchánek authored
Signed-off-by:
Michal Suchanek <hramrach@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-