summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-11-26Update configure.ac bug URL for gitlab migrationHEADmasterAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Fix gitlab URL in README.mdAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith3-25/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-09Post-release version bumpThierry Reding1-1/+1
Uneven micro version numbers indicate unreleased versions of the driver. Upon release the micro version will be bumped to an even number or reset to 0 for major/minor increments. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09xf86-video-opentegra 0.7.0v0.7.0Thierry Reding1-1/+1
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Install OutputClass xorg.conf.d snippetThierry Reding3-0/+56
Newer versions of the X server allow matching DDX modules to kernel drivers using an OutputClass configuration snippet. Install such a snippet that help autoload this driver when the DRM device's driver is the Tegra DRM driver. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Make sure compat-api.h header is includedErik Faye-Lund1-0/+1
This header file provides compatibility macros to simplify building against older versions of the X.Org server. Make sure it is always included to prevent build breakage. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Make compat-api.h standalone includibleThierry Reding1-0/+3
The header file requires some symbols defined in X.Org server headers to determine what compatibility macros to define. Make sure that those headers are always included to prevent build breakage. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Build with older Xorg video-driver ABIsErik Faye-Lund1-0/+8
By conditionally using platform-bus, we don't require such a recent Xorg video-driver ABI. So let's only do platform-bus if the ABI is recent enough, and fall back to normal probing if not. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Formatting cleanupsThierry Reding4-4/+12
Add vim modelines to automatically adjust to the coding style used in this driver. Fix some indentation and whitespace inconsistencies. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Detect absence of hardware cursor support earlyThierry Reding3-10/+22
If detection of hardware cursor support (or lack thereof) is delayed until the first time the cursor is actually set, X will not display the cursor until it is moved or the user performs a click. By detecting the absence of hardware cursor support this glitch can be prevented. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Always open device by pathThierry Reding1-7/+4
Using drmOpen() isn't a particularily good idea, since it will try to open potentially many devices and doesn't necessarily find the device that we want. Instead, rely on X to provide a path to the device. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Refactor some codeThierry Reding1-10/+12
The code to open the DRM device only differs in the way that the path to the device is obtained. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Remove unused and redundant variablesThierry Reding2-8/+1
Some of the variables in struct _TegraRec are redundant or completely unused. Get rid of them. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Do not use maintainer modeThierry Reding2-2/+1
Maintainer mode stops makefiles from being rebuilt when configure.ac or Makefile.am change. That's completely useless. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-07-09Minor cleanup of Makefile.amThierry Reding1-4/+4
Move the MAINTAINERCLEANFILES variable and the .PHONY target to the bottom of the file. Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-19Handle new DamageUnregister API which has only one argumentKeith Packard1-0/+6
API change in 1.15 Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-19Properly identify DSI outputsThierry Reding1-1/+2
Newer Linux kernels support DSI outputs. To be able to identify them properly, add DSI to the list of output names. Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-19Staticise and constify output namesThierry Reding1-1/+1
This array isn't used anywhere outside this file, so it can be made static. While at it, make the array const as well. Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-19Do not distribute gzipped tarballsThierry Reding1-1/+1
All the cool kids distribute only XZ compressed tarballs nowadays. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2013-01-09make TegraPlatformProbe actually workLucas Stach1-8/+8
This is mostly the same thing as omapdrm does. Makes tegra work on xservers with "Revert "xf86: Fix non-PCI configuration-less setups"" applied. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2013-01-09Rebrand and cleanupThierry Reding9-1837/+1687
Rebrand xf86-video-modesetting to xf86-video-opentegra. Furthermore drop some code that will never be used on Tegra (PCI, ...). Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2013-01-09modesetting: bump to 0.6.0Dave Airlie1-1/+1
2013-01-09modesetting: fix crashes caused by udev race conditionsDave Airlie1-0/+5
So the kernel removes the device, and the driver processes the first udev event, and gets no output back from the kernel, so it check and don't fall over. This fixes a couple of crashes seen when hotplugging USB devices. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-11-29Remove call to miInitializeBackingStore()Thierry Reding1-1/+0
Recent versions of the X server no longer provide this function, which has been obsolete for over 2 years now. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-11-29build: Put m4 macros in m4 subdirectoryThierry Reding3-0/+4
This silences a warning from libtoolize when running the autogen.sh script. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-09-17modesetting: remove alloca usage againDave Airlie1-1/+5
this slipped back in. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-09-14modesetting: add virtual connector supportAlon Levy2-2/+8
[airlied: also make sure we don't crash in future.] Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-09-13bump version to 0.5.0Maarten Lankhorst1-1/+1
2012-08-16Implement ->driverFuncAdam Jackson1-1/+18
Copied from fbdev, makes it so we can run without iopl. Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-25modesetting: add output slave support.Dave Airlie4-24/+264
This allows the driver to operate as an output slave. It adds scan out pixmap, and the capability checks to make sure they available. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-25modesetting: add platform bus supportDave Airlie1-15/+69
2012-07-25modesetting: fix warning about close being undefined.Dave Airlie1-0/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-25modesetting: drop useless xf86PciInfo includeDave Airlie1-1/+0
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-22modesetting 0.4.0: bump configure.acDave 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>