Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-08 | drm/nouveau: consider CLASS_DISPLAY_3D devices while detecting dsm/optimus | Emil Velikov | 1 | -0/+10 | |
The present code assumes that optimus is present whenever two VGA (PCI_CLASS_DISPLAY_VGA) devices are present. This does not seem to be the case of newer laptops with optimus, in which case the nvidia gpu is a PCI_CLASS_DISPLAY_3D device. Rework the logic so that we count both VGA and 3D devices, when contemplating if optimus is present on the platform. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70208 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> | |||||
2013-11-08 | drm/mgag200: drop pointless info print. | Dave Airlie | 1 | -2/+0 | |
This isn't useful anymore. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||||
2013-11-08 | drm/nouveau/fb: implement various bits of work towards memory reclocking | Ben Skeggs | 21 | -60/+3093 | |
Not even remotely ready for the vast majority of the world. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau: implement a simple sysfs interface to new pm code | Ben Skeggs | 5 | -5/+191 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/device: initial control object class, with pstate control methods | Ben Skeggs | 5 | -2/+196 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/clk: implement power state and engine clock control in core | Ben Skeggs | 19 | -65/+2590 | |
User control of this has been hard-coded as disabled for now. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/volt: implement voltage control in core | Ben Skeggs | 9 | -0/+460 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/bios: parsing for various tables required for power management | Ben Skeggs | 16 | -8/+969 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/perfmon: initial infrastructure to expose performance counters | Ben Skeggs | 22 | -2/+1616 | |
Internal use only at this point. Userspace later. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/bus: add interfaces/helpers for sequencer | Ben Skeggs | 9 | -15/+371 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/bus: make external class definitions pointers | Ben Skeggs | 14 | -176/+133 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/pwr: initial implementation | Ben Skeggs | 30 | -0/+7091 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/therm: update target fanspeed outside of therm lock | Ben Skeggs | 1 | -6/+8 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/therm: automatic mode by default | Ben Skeggs | 1 | -1/+1 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/therm: no toggle fan control either if we can't guarantee no pwm ↵ | Ben Skeggs | 1 | -0/+7 | |
connected Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvc0/therm: allow fan control if we've killed the vbios ppwr ucode | Ben Skeggs | 1 | -3/+4 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/therm: if no bios trip/linear info, default to perf-suggested speed | Ben Skeggs | 2 | -3/+15 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/therm: add hook for clk to suggest fanspeed to therm | Ben Skeggs | 4 | -1/+17 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/pwr: assign a subdev id for upcoming implementation | Ben Skeggs | 1 | -0/+1 | |
THERM will use this before it exists. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/gpio: return different error code for not found vs invalid | Ben Skeggs | 1 | -1/+1 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/drm/pm: remove everything except the hwmon interfaces to THERM | Ben Skeggs | 15 | -4837/+69 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/core: make all info-level messages silent for runtime pm | Ben Skeggs | 8 | -76/+54 | |
Removes the need for special handling of messages in init paths. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/fifo: make external class definitions into pointers | Ben Skeggs | 17 | -86/+86 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/device: recognise GK208 | Ben Skeggs | 2 | -13/+48 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvc0-/gr: fix a number of missing explicit array terminators... | Ben Skeggs | 3 | -0/+6 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: fix (incorrect) reporting of unknown pending intr bits | Ben Skeggs | 1 | -6/+11 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/disp: semi-complete link training sequence even if display ↵ | Ben Skeggs | 1 | -16/+32 | |
disappears Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/bios: some older boards have shorter displayport tables | Ben Skeggs | 1 | -3/+7 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/fbcon: bracket entrypoints with a per-device enabled check | Ben Skeggs | 1 | -16/+27 | |
We don't necessarily have fbcon on all devices these days. Fixes suspend on (at least) Quadro NVS 450. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvd0-/disp: reorder writes to lane current control regs | Ben Skeggs | 1 | -4/+8 | |
Matches the nv94-nvc0 commit with the same title. Doesn't fix a reported issue, but NVIDIA use this ordering here too, so let's do it just in case. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nv94-nvc0/disp: reorder writes to lane current control regs | Ben Skeggs | 1 | -4/+8 | |
Fixes link training issues on some boards. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/disp: log if DP link training fails | Ben Skeggs | 1 | -1/+3 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/i2c: use a custom bitbanging delay for the adt7473 | Martin Peres | 5 | -49/+77 | |
This patch adds a way to define a custom delay when scanning for i2c devices because the adt7473 sometimes doesn't like the default bitbanging udelay. Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/agp: add a quirk list to limit agp modes | Ilia Mirkin | 1 | -5/+39 | |
Certain combinations of hardware can't actually support the maximum detected speed. Add a quirk list that lists pairs of hostbridge/chip pci ids and the mode that they should work with. See https://bugs.freedesktop.org/show_bug.cgi?id=20341 Reported-by: Jason Detring <detringj@gmail.com> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvd9-/disp: disable display underflow reporting at init | Ben Skeggs | 1 | -0/+9 | |
Reported-by: Andy Ritger <aritger@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nva0/clk: fix accidental limiting of pll coefficients | Ben Skeggs | 1 | -13/+16 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nv50-nvaf/fb: split fbram oclass in preparation for reclocking | Ben Skeggs | 9 | -52/+184 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/fb: merge more bits and pieces into oclass definitions | Ben Skeggs | 27 | -519/+272 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/fb: remove ram oclass argument from base fb constructor | Ben Skeggs | 24 | -107/+135 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nv50-nvaf/fb: split the class definitions up a bit | Ben Skeggs | 9 | -44/+203 | |
These will diverge further in the future. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/fb: make external class definitions pointers | Ben Skeggs | 26 | -113/+113 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvaa/mc: blacklist msi to off by default | Ben Skeggs | 1 | -11/+19 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nv50-nv86,nv92/mc: rearm msi via pci config space, rather than mmio mirror | Ben Skeggs | 6 | -4/+52 | |
This is what NVIDIA do on these chipsets, let's hope it works around the reported MSI failures for us on NV86. v2: updated to include G92, as per information provided by NVIDIA. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nvc0,nvc4/mc: handle 0xc0's "special" msi rearm | Ben Skeggs | 13 | -32/+134 | |
v2. updated to cover GF104, as per information provided by NVIDIA. Reported-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: store static data in nouveau_mc class definition | Ben Skeggs | 16 | -215/+151 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: fetch NV_PMC_INTR again after re-arming MSI | Ben Skeggs | 1 | -4/+6 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: bracket interrupt handler with NV_PMC_INTR_EN disable/re-enable | Ben Skeggs | 1 | -0/+4 | |
This looks to be what NVIDIA do pretty much everywhere, since forever. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: have single entry and exit points to the interrupt handler | Ben Skeggs | 1 | -18/+19 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/mc: msi rearm write via subdev, not device | Ben Skeggs | 1 | -2/+2 | |
This way we can catch it with debugging on for PMC subdev. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> | |||||
2013-11-08 | drm/nouveau/device: use an additional bit from NV_PMC_BOOT_0 to identify chipset | Ben Skeggs | 1 | -3/+3 | |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> |