Karol Herbst
5112abc6a4
drm/nouveau/pci/g92: Fix rearm
...
704a6c008b7942bb7f30bb43d2a6bcad7f543662 broke pci msi rearm for g92 GPUs.
g92 needs the nv46_pci_msi_rearm, where g94+ gpus used nv40_pci_msi_rearm.
Reported-by: Andrew Randrianasulu <randrianasulu@gmail.com >
Signed-off-by: Karol Herbst <karolherbst@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
Cc: stable@vger.kernel.org
2017-02-17 17:38:18 +10:00
Karol Herbst
443828fd9e
drm/nouveau/pci/g92: Enable changing pcie link speeds
...
Tested on a G92, seems to work. Confirmed by 8 mmiotraces.
Signed-off-by: Karol Herbst <karolherbst@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 17:38:06 +10:00
Karol Herbst
725af74826
drm/nouveau/pci: Rename g94 to g92
...
Signed-off-by: Karol Herbst <karolherbst@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 17:38:06 +10:00
Alexandre Courbot
b1c39d801a
drm/nouveau/gm20b: add dummy PMU device
...
Add a dummy PMU device so the PMU falcon is instanciated and can be used
by secure boot.
We could reuse gk20a's implementation here, but it would fight with
secboot over PMU falcon's ownership and secboot will reset the PMU,
preventing it from operating afterwards. Proper handout between secboot
and pmu is coming along with the actual gm20b PMU implementation, so
use this as a temporary solution.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-02-17 15:14:31 +10:00
Ben Skeggs
1fe487d7d2
drm/nouveau/core: recognise GP106 chipset
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-12-13 11:40:08 +10:00
Ben Skeggs
ed828666a7
drm/nouveau/disp/gp102: rename from gp104
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:39 +10:00
Ben Skeggs
a4fa851c64
drm/nouveau/ce/gp102: rename from gp104
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:39 +10:00
Ben Skeggs
eeea423c48
drm/nouveau/fb/gp102: rename from gp104
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:39 +10:00
Ben Skeggs
d91ccec631
drm/nouveau/pmu/gp102: initial implementation
...
GP102/GP104 require a harder reset of PMU prior to DEVINIT, or the IFR
image will hang.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:37 +10:00
Ben Skeggs
41c7be6913
drm/nouveau/pmu/gp100: initial implementation
...
Just enough to hookup preinit reset(), which DEVINIT will depend on later.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:36 +10:00
Ben Skeggs
17ff521d69
drm/nouveau/core: initial support for GP102
...
From visual inspection of traces, what we currently implement appears to
be identical to GP104. Seems to work well enough too.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:35 +10:00
Alexandre Courbot
770b06e8cb
drm/nouveau/fb: add gm20b device
...
gm20b's FB has the same capabilities as gm200, minus the ability to
allocate RAM. Create a device that reflects this instead of re-using the
gk20a device which may be incorrect.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com >
Reviewed-By: Karol Herbst <karolherbst@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-07 14:04:39 +10:00
Ben Skeggs
5b3800a6b7
drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
...
DPAUX registers moved on Kepler, these chipsets were still using the
Fermi implementation for some reason.
This fixes detection of hotplug/sink IRQs on DP connectors.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
Cc: stable@vger.kernel.org
2016-11-07 14:04:31 +10:00
Karol Herbst
a3c950f2ac
drm/nouveau/volt: Add implementation for gf100
...
Since gf100 we need a speedo value for calculating the voltage. The readout
will be added in a later patch.
Signed-off-by: Karol Herbst <karolherbst@gmail.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-10-12 17:29:26 +10:00
Ben Skeggs
146cfe2476
drm/nouveau/ce/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
ba3b712e8d
drm/nouveau/fifo/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
fd47877f77
drm/nouveau/disp/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
15cec92f4e
drm/nouveau/dma/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
a8c15dda41
drm/nouveau/ltc/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
8c80bc6c3c
drm/nouveau/ibus/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
13a66d2f9d
drm/nouveau/i2c/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
14ae020d37
drm/nouveau/gpio/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
7d007dd745
drm/nouveau/fuse/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
42d7a65e69
drm/nouveau/bus/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
10d4c1c27f
drm/nouveau/bar/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
6b7c941b8c
drm/nouveau/mmu/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
6258cd43cf
drm/nouveau/fb/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
4fdbdfa8ae
drm/nouveau/imem/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
047506cab8
drm/nouveau/devinit/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
38849205ac
drm/nouveau/bios/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
5f62ee6dad
drm/nouveau/tmr/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
b3446c5ab5
drm/nouveau/pci/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
9179b8ec77
drm/nouveau/mc/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
445b9c2130
drm/nouveau/top/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
cfb083f692
drm/nouveau/core: recognise GP104 chipset
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
ac24b4df43
drm/nouveau/sw/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
52fa0866ca
drm/nouveau/gr/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
8e7e1586c5
drm/nouveau/ce/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
e8ff979492
drm/nouveau/fifo/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
f9d5cbb388
drm/nouveau/disp/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
cd0f407c58
drm/nouveau/dma/gp100: initial implementation
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
a4a4cf1bff
drm/nouveau/secboot/gm200: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
a96def399b
drm/nouveau/ltc/gp100: initial support
...
Due to the GPU preventing us from touching NV_PLTCG_LTCS_LTSS_CBC_BASE,
we cannot provide CBC/ZBC support without signed PMU firmware to handle
the task for us...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
2a295e95fa
drm/nouveau/ibus/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
51554014be
drm/nouveau/i2c/gm204: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
a4a58832c2
drm/nouveau/gpio/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
24b8ca86b7
drm/nouveau/fuse/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
0e98bd3457
drm/nouveau/bus/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
77d813d149
drm/nouveau/bar/gp100: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
4cb53a5ed1
drm/nouveau/mmu/gp100: initial support
...
GP100 still supports the previous generations' page table layout, which
we will temporarily make use of here.
Proper support for the new MMU layout requires some rework to the common
MMU code, which is in progress.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00