Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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>
|
|
Signed-off-by: Thierry Reding <treding@nvidia.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Some of the variables in struct _TegraRec are redundant or completely
unused. Get rid of them.
Signed-off-by: Thierry Reding <treding@nvidia.com>
|
|
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>
|
|
Move the MAINTAINERCLEANFILES variable and the .PHONY target to the
bottom of the file.
Signed-off-by: Thierry Reding <treding@nvidia.com>
|
|
API change in 1.15
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
|
|
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>
|
|
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>
|
|
All the cool kids distribute only XZ compressed tarballs nowadays.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
this slipped back in.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
[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>
|
|
|
|
Copied from fbdev, makes it so we can run without iopl.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
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>
|
|
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
Set the drm interface version to 1.4 so we get the bus id correctly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
It reports these but then you can't create a 0 sized bo.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
add missing compat header file.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Generated with util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
Driver doesn't support either of these.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
Suggested by keithp.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
|