summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-22modesetting 0.4.0: bump configure.acHEADmasterDave Airlie1-1/+1
2012-06-22modesetting: pci probing requires interface version 1.4Dave Airlie1-0/+11
Set the drm interface version to 1.4 so we get the bus id correctly. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05modesetting: workaround kernel bug reporting 0x0 as valid minsDave Airlie1-0/+4
It reports these but then you can't create a 0 sized bo. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-01modesetting: bump to latest X server compat api.Dave Airlie2-31/+83
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23modesetting: fix make distcheckDave Airlie1-0/+1
add missing compat header file. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23modesetting: convert to new scrn conversion APIs.Dave Airlie2-7/+7
Generated with util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23modesetting: add compat header fileDave Airlie3-0/+43
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-09bump version to 0.3.0Dave Airlie1-1/+1
2012-05-09configure.ac: remove DRI and RENDERMatt Turner1-6/+0
Driver doesn't support either of these. Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-09modesetting: make sure the pci device corresponds to the drm deviceDave Airlie1-1/+34
If we get asked to pci open a device with a kms path override, make sure they match, otherwise this driver can steal the primary device binding for a usb adaptor. The driver should fallback to the old probe entry point in this case. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-01modesetting: attempt to work out if we want 24 or 32bppDave Airlie3-7/+68
the cirrus driver presents certain challenges, and this is a workaround, until we can possibly agree some sane interface for exposing this information. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-01modesetting: move opening kernel device to before setting depthDave Airlie1-22/+22
due to interaction between option handling and set depth, we need to what fbdev does to get the device path early. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-04-17modesetting: add set/drop master around VT switchDave Airlie1-3/+8
2012-04-17cursor: hide cursors on LeaveVTDave Airlie1-0/+2
2012-04-14dirty: check malloc returnDave Airlie1-1/+4
Suggested by keithp. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-04-14drop use of alloca, just use malloc/freeDave Airlie1-1/+2
Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
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