linux/drivers/gpu/drm/nouveau/include/nvkm/subdev
Alexandre Courbot c6007dc4e5 drm/nouveau/devinit/gf100: make devinit on resume safer
In case of successful suspend, devinit will have to be run and this is
the behavior currently hardcoded. However, as FD bug 94725 suggests,
there might be cases where runtime suspend leaves the GPU powered, and
in such cases devinit should not be run on resume.

On GF100+ we have a reliable way to know whether we need to run devinit.
Use it instead of blindly trusting the flag set by nvkm_devinit_fini().

The code around the NvForcePost also needs to be slightly reworked in
order to keep working.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Suggested-by: Dave Airlie <airlied@redhat.com>
Suggested-by: Karol Herbst <nouveau@karolherbst.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2016-05-20 14:43:04 +10:00
..
bios drm/nouveau/iccsense: implement for ina209, ina219 and ina3221 2016-03-14 10:13:25 +10:00
bar.h drm/nouveau/bar: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
bios.h drm/nouveau/bios: convert to new-style nvkm_subdev 2015-08-28 12:40:42 +10:00
bus.h drm/nouveau/bus/hwsq: Implement VBLANK waiting heuristic 2015-11-03 15:02:18 +10:00
clk.h drm/nouveau/clk/gm20b: add basic driver 2016-03-14 10:13:56 +10:00
devinit.h drm/nouveau/devinit/gf100: make devinit on resume safer 2016-05-20 14:43:04 +10:00
fb.h drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
fuse.h drm/nouveau/fuse: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gpio.h drm/nouveau/gpio: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
i2c.h drm/nouveau/iccsense: implement for ina209, ina219 and ina3221 2016-03-14 10:13:25 +10:00
ibus.h drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
iccsense.h drm/nouveau/iccsense: implement for ina209, ina219 and ina3221 2016-03-14 10:13:25 +10:00
instmem.h drm/nouveau/instmem: protect instobj list with a spinlock 2015-11-25 15:31:21 +10:00
ltc.h drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
mc.h drm/nouveau/mc: move device irq handling to platform-specific code 2015-08-28 12:40:48 +10:00
mmu.h drm/nouveau/core: remove the remainder of the previous style 2015-08-28 12:40:47 +10:00
mxm.h drm/nouveau/mxm: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
pci.h drm/nouveau/pci: implement generic code for pcie speed change 2016-01-11 11:30:20 +10:00
pmu.h drm/nouveau/pmu: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
secboot.h drm/nouveau/secboot/gm20b: add secure boot support 2016-03-14 10:13:24 +10:00
therm.h drm/nouveau/therm: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
timer.h drm/nouveau/timer: re-introduce nvkm_wait_xsec macros 2015-11-03 15:02:18 +10:00
vga.h drm/nouveau/vga: require nvkm_device pointer in accessor functions 2015-08-28 12:40:29 +10:00
volt.h drm/nouveau/volt: add GM20B driver 2016-03-14 10:13:50 +10:00