linux_dsm_epyc7002/drivers/gpu/drm/nouveau/nvkm/subdev/devinit
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
..
base.c drm/nouveau/devinit: run devinit scripts right after preinit 2015-08-28 12:40:44 +10:00
fbmem.h drm/nouveau/device: cleaner abstraction for device resource functions 2015-08-28 12:40:48 +10:00
g84.c drm/nouveau/core: remove the remainder of the previous style 2015-08-28 12:40:47 +10:00
g98.c drm/nouveau/core: remove the remainder of the previous style 2015-08-28 12:40:47 +10:00
gf100.c drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit 2016-03-14 10:13:16 +10:00
gm107.c drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit 2016-03-14 10:13:16 +10:00
gm200.c drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit 2016-03-14 10:13:16 +10:00
gt215.c drm/nouveau/core: remove the remainder of the previous style 2015-08-28 12:40:47 +10:00
Kbuild drm/nouveau: s/gm204/gm200/ in a number of places 2016-03-14 10:13:12 +10:00
mcp89.c drm/nouveau/core: remove the remainder of the previous style 2015-08-28 12:40:47 +10:00
nv1a.c drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv04.c drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv04.h drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv05.c drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv10.c drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv20.c drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv50.c drm/nouveau/devinit/nv50: remove unneeded variable 2016-03-14 10:13:15 +10:00
nv50.h drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit 2016-03-14 10:13:16 +10:00
priv.h drm/nouveau/devinit: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00