summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-23modesetting: fix build against older XextDave Airlie1-0/+6
2012-03-05make busID non mandatorySascha Hauer1-24/+22
Currently the driver only probes a device when it has a busID. The busID is optional so don't depend on it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-05do not bail out on non pci devicesSascha Hauer1-3/+0
To make the driver work on nin PCI devices we shouldn't bail out in this case. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-05Fix non PCI device probingSascha Hauer1-5/+4
When no devicename is found in the option then the driver probes by PciInfo no matter if it's valid or not. Instead of doing this use PciInfo only when it's valid and fall back to the devicename otherwise. With devicename probing use open_hw() to fall back on the KMSDEVICE environment variable or to the default device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-05introduce open_hw() functionSascha Hauer1-6/+13
probe_hw opens the hardware in the order we want it: first try devname, if this is NULL then try the KMSDEVICE environment variable and as a last fallback use "/dev/dri/card0". Instead of implementing the same code again when really opening the device move the code to a open_hw() function and let probe_hw use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-05fix if() brackets in Probe functionSascha Hauer1-1/+2
in Probe() the indention shows what's meant but there are no brackets. Add them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22xf86-video-modesetting 0.2.0Dave Airlie1-1/+1
2012-02-22modesetting: fix warnings, remove dead code.Dave Airlie1-16/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22config: layout and comment the top portion of configure.acGaetan Nadon1-10/+10
Reorder statements to be consistent with other modules so things are easier to find. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22make: add all warnings according to the platformGaetan Nadon2-5/+1
The current code only adds -Wall and only for gcc. Automake reserves the use of CPPFLAGS for the user to override on the command line. This also breaks the option --enable-strict-compilation The variable CWARNFLAGS contains the complete set of warnings and is platform sensitive. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22make: remove empty variable assignmentGaetan Nadon1-3/+0
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22Remove unneeded AM_PROG_CC_C_COGaetan Nadon1-1/+0
There are no objects in subdirs or compiled multiple times with different flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22Remove redundant AC_PROG_CCGaetan Nadon1-1/+0
Already covered by XORG_DEFAULT_OPTIONS Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22Replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22Add missing targets for ChangeLog and INSTALLGaetan Nadon1-0/+12
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-22Remove redundant EXTRA_DIST for the README file.Gaetan Nadon1-2/+0
Autotools know about it, it is always distributed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-21make: remove redundant AUTOMAKE_OPTIONSGaetan Nadon1-1/+0
Already covered by AM_INIT_AUTOMAKE([foreign dist-bzip2]) Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-21Fix typo in .gitignoreGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-21man: missing AM_V_GEN and hard-coded sed command nameGaetan Nadon1-4/+4
Let's use the common xorg makefile for all drivers. This ensures no new problems are introduced. Improvements are welcome and to be applied to all drivers. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-21Add contact information to the README fileGaetan Nadon1-0/+23
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-21Fill the COPYING file with license textGaetan Nadon1-8/+40
This reflects the copyright license text in the source code Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20modesetting: disable dirty updates for ENOSYSDave Airlie1-1/+1
the kernel can also return ENOSYS for this to say its not used. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20modesetting: fix shadow resizing.Dave Airlie1-2/+15
if we hotplugged and output, the shadow got disabled by accident. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20modesetting: move shadow stuff to other structureDave Airlie3-16/+19
we need this for resize to work properly. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20modesetting: fix stride if kernel modifies it.Dave Airlie1-4/+5
If the kernel aligns things use its values instead. fixes output on nouveau here. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-20shadowfb: dump shadowfb state at startupDave Airlie1-0/+1
2012-02-17use a cap to decide if shadow is preferred or not.Dave Airlie1-1/+13
2012-02-17cleanup dumb cap fetchDave Airlie1-7/+5
2012-02-17modesetting: add cursor fallback if kernel rejects cursor.Dave Airlie3-3/+15
If the kernel rejects a cursor, cause a fallback, this isn't 100% as we can lose the initial cursor, but it works fine once wm starts. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-16fix some whitespaceDave Airlie1-3/+0
2012-02-16fixup device openDave Airlie1-22/+30
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-03don't map cursors in sw cursor modeJames Simmons1-1/+2
2011-11-03configure: don't require xvmc.Dave Airlie1-1/+1
Not needed in here
2011-10-03fix fb_id for dirty reportingDave Airlie2-2/+1
2011-10-03fix make distcheckDave Airlie1-1/+2
2011-09-29check drm support dumb buffer capabilityDave Airlie1-0/+11
2011-09-29add initial man pageDave Airlie1-0/+54
2011-09-29add shadowfb support, default to on.Dave Airlie2-0/+64
we should probably expose a bit from kernel to say if shadow is preferred or wasteful.
2011-09-29remove unused debugDave Airlie1-1/+0
2011-09-29add -Wall, cleanup warningsDave Airlie3-32/+14
2011-09-29fix server recyclingDave Airlie2-25/+19
2011-09-29port damage tracking code from st/xorgDave Airlie2-2/+79
2011-09-29drop loading dri2Dave Airlie1-4/+0
2011-09-29update authors/copyrightDave Airlie1-1/+3
2011-09-29gut some more unneeded codeDave Airlie1-18/+0
2011-09-29modesetting: rewrite probing based on fbdev.Dave Airlie1-135/+92
This isn't perfect, it should really do more with bus id matching and finding the write drm device using sysfs if it can. but it removes lots of hardcoding of pci ids.
2011-09-29cleanup some the drmmode_display header fileDave Airlie1-39/+15
2011-09-29modesetting: restart driver effort from other codebasesDave Airlie11-1087/+1607
This starts a randr 1.2 compatible driver with cursors. TODO: libkms dirty handling server recycling.
2011-03-10drop exaDave Airlie4-880/+1
don't provide accel in this framework