linux/drivers/gpu/drm/nouveau/nvkm/subdev
Alexandre Courbot a6a0f67ca7 drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit
It is not advisable to perform devinit if it has already been done.
VBIOS will very likely have invoked devinit if the GPU is the primary
graphics device, but there is no accurate way to detect this fact yet.

This patch adds such a method for gf100 and later chips, by means of the
NV_PTOP_SCRATCH1_DEVINIT_COMPLETED bit. This bit is set to 1 by devinit,
and reset to 0 when the GPU is powered.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2016-03-14 10:13:16 +10:00
..
bar drm/nouveau/device: cleaner abstraction for device resource functions 2015-08-28 12:40:48 +10:00
bios drm/nouveau/bios/perf: parse the pci speed from the bios for tesla and newer cards 2016-01-11 11:30:22 +10:00
bus drm/nouveau/bus/hwsq: Implement VBLANK waiting heuristic 2015-11-03 15:02:18 +10:00
clk asm-generic changes for 4.5 2016-01-20 17:30:20 -08:00
devinit drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit 2016-03-14 10:13:16 +10:00
fb drm/nouveau/fb/nv50: remove references to "daemon" 2016-01-11 11:28:23 +10:00
fuse drm/nouveau/fuse: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gpio drm/nouveau/fb/ramgt215: Transform GPIO ramfuc method from FBVREF-specific to generic 2015-11-03 15:02:18 +10:00
i2c drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
ibus drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
instmem drm/nouveau/instmem/gk20a: use DMA API CPU mapping 2016-01-11 11:17:40 +10:00
ltc drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
mc drm/nouveau/mc: move device irq handling to platform-specific code 2015-08-28 12:40:48 +10:00
mmu drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
mxm drm/nouveau/device: remove pci/platform_device from common struct 2015-08-28 12:40:49 +10:00
pci drm/nouveau/pci: fix check in nvkm_pcie_set_link 2016-01-14 07:56:37 +10:00
pmu drm/nouveau/pmu: prevent falcon from acking interrupts routed to the host 2016-01-11 11:30:23 +10:00
therm drm/nouveau/nvkm: add/remove 0's to make 7 (or 9)-nibble constants use 8 nibbles 2016-01-11 11:17:40 +10:00
timer drm/nouveau/tmr: convert to new-style nvkm_subdev 2015-08-28 12:40:45 +10:00
volt drm/nouveau/volt/pwm/gk104: fix an off-by-one resulting in the voltage not being set 2015-11-25 15:37:45 +10:00
Kbuild drm/nouveau/pci: new subdev 2015-08-28 12:40:48 +10:00