search for: devinit

Displaying 20 results from an estimated 174 matches for "devinit".

2016 Feb 11
1
[PATCH] 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...
2016 Apr 01
0
[PATCH] 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. Us...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...his patch, and build against a late 3.13-rcX release, I guess. (Still haven't figured out which tree I need to have for this stuff to build.) ./autogen.sh; cd drm; make should generate a nouveau.ko against your currently-running kernel. nvkm/engine/disp/vga.c | 9 +++++++-- nvkm/subdev/devinit/base.c | 14 ++++++++++++++ nvkm/subdev/devinit/nv04.c | 13 ++++++++----- nvkm/subdev/devinit/priv.h | 8 +++++--- 4 files changed, 34 insertions(+), 10 deletions(-) diff --git a/nvkm/engine/disp/vga.c b/nvkm/engine/disp/vga.c index 5a1c684..8836c3c 100644 --- a/nvkm/engine/disp/vga.c +++ b/nvkm...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...orking. You can get a pristine copy of the patch at > http://lists.freedesktop.org/archives/nouveau/2014-January/015770.html > -- but do note the instructions above, as it applies to a different > repo. > >> >> nvkm/engine/disp/vga.c | 9 +++++++-- >> nvkm/subdev/devinit/base.c | 14 ++++++++++++++ >> nvkm/subdev/devinit/nv04.c | 13 ++++++++----- >> nvkm/subdev/devinit/priv.h | 8 +++++--- >> 4 files changed, 34 insertions(+), 10 deletions(-) >> >> diff --git a/nvkm/engine/disp/vga.c b/nvkm/engine/disp/vga.c >> index 5a1c684..8...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...ces itself as HDMI output not working. You can get a pristine copy of the patch at http://lists.freedesktop.org/archives/nouveau/2014-January/015770.html -- but do note the instructions above, as it applies to a different repo. > > nvkm/engine/disp/vga.c | 9 +++++++-- > nvkm/subdev/devinit/base.c | 14 ++++++++++++++ > nvkm/subdev/devinit/nv04.c | 13 ++++++++----- > nvkm/subdev/devinit/priv.h | 8 +++++--- > 4 files changed, 34 insertions(+), 10 deletions(-) > > diff --git a/nvkm/engine/disp/vga.c b/nvkm/engine/disp/vga.c > index 5a1c684..8836c3c 100644 > --- a...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...ne copy of the patch at >> http://lists.freedesktop.org/archives/nouveau/2014-January/015770.html >> -- but do note the instructions above, as it applies to a different >> repo. >> >>> >>> nvkm/engine/disp/vga.c | 9 +++++++-- >>> nvkm/subdev/devinit/base.c | 14 ++++++++++++++ >>> nvkm/subdev/devinit/nv04.c | 13 ++++++++----- >>> nvkm/subdev/devinit/priv.h | 8 +++++--- >>> 4 files changed, 34 insertions(+), 10 deletions(-) >>> >>> diff --git a/nvkm/engine/disp/vga.c b/nvkm/engine/disp/vga.c >&...
2017 Jan 10
0
[bug report] drm/nouveau/devinit: move simple pll setting routines to devinit
Hello Ben Skeggs, The patch 88524bc06926: "drm/nouveau/devinit: move simple pll setting routines to devinit" from Mar 5, 2013, leads to the following static checker warning: drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c:53 nv50_devinit_pll_set() info: return a literal instead of 'ret' drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c...
2017 Jan 28
0
[PATCH] drm/nouveau/devinit/gf100-: try to avoid double-running vbios scripts
Turns out some VBIOSes don't actually set the bit in question in 2240c. Use the nv50-style detection to try avoiding running the vbios twice. Fixes: a6a0f67ca7aa ("drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97620 Cc: stable at vger.kernel.org # v4.6+ Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Not sure if this is safe to do esp on GM20x+ boards? drivers/gpu/drm/nouveau/nvkm/subdev...
2017 Jan 28
0
[PATCH v2] drm/nouveau/devinit/gf100-: try to avoid double-running vbios scripts
Turns out some VBIOSes don't actually set the bit in question in 2240c. Use the nv50-style detection to try avoiding running the vbios twice. Fixes: a6a0f67ca7aa ("drm/nouveau/devinit/gf100-: detect if BIOS invoked devinit") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97620 Cc: <stable at vger.kernel.org> # v4.6+ Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- v1 -> v2: add vga.h include (had it sitting in my local tree but forgot to amen...
2019 Jun 02
3
[PATCH 0/2] drm/nouveau/bios/init: Improve pre-PMU devinit opcode coverage
NVIDIA GPUs include a common scripting language (devinit) that can be interpreted by a number of "engines", e.g. within a kernel-mode software driver, the VGA BIOS or an on-board small microcontroller which provides certain security assertions (the 'PMU'). This system allows a GPU programming sequence to be shared by multiple entities...
2016 Feb 11
0
[PATCH] devinit/nv50: remove unneeded variable
We never use any nv50-specific member in this nv50_devinit_preinit(). Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/nvkm/subdev/devinit/nv50.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/devinit/nv50.c b/drm/nouveau/nvkm/subdev/devinit/nv50.c index 337c2c6..c7...
2020 Jul 27
0
[PATCH] drm/nouveau: add config NvForceGpioReset
...eau doesn't because it assumes GPIO is set up correctly. This patch adds a new config option, NvForceGpio, which allow users with broken VBIOS to force a GPIO reset at boot time. This issue seems to be rare enough to not warrant a DMI override. --- drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h | 1 + drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 5 +++++ drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h index...
2024 Mar 14
1
[PATCH] nouveau/gsp: don't check devinit disable on GSP.
From: Dave Airlie <airlied at redhat.com> GSP should be handling this and I can see no evidence in opengpu driver that this register should be touched. Fixed acceleration on 2080 Ti GPUs. Fixes: 15740541e8f0 ("drm/nouveau/devinit/tu102-: prepare for GSP-RM") Signed-off-by: Dave Airlie <airlied at redhat.com> --- drivers/gpu/drm/nouveau/nvkm/subdev/devinit/r535.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/r535.c b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/r53...
2014 Jan 10
2
[PATCH 1/3] drm/nouveau: provide a way for devinit to mark engines as disabled
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- I decided to let the user still specify config=BLA=1 to override the hw disable in case we get something wrong or for double-checking stuff, but I suspect it won't really be used much. I'm not terribly fond of the message text, if you come up with something better, feel free to drop it in.
2017 Nov 02
0
[PATCH] drm/nouveau/devinit/nv04: mark expected switch fall-throughs
...hrough. Addresses-Coverity-ID: 143119 Addresses-Coverity-ID: 143120 Addresses-Coverity-ID: 143121 Addresses-Coverity-ID: 143122 Addresses-Coverity-ID: 143123 Addresses-Coverity-ID: 143124 Signed-off-by: Gustavo A. R. Silva <garsilva at embeddedor.com> --- drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c index 158977f..c3dae05 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c +++ b/drivers/gpu/dr...
2014 Aug 18
1
[PATCH] drm: Fix duplicate definition of NV04_PFB_BOOT_0_*
Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> --- drm/core/include/subdev/fb/regsnv04.h | 1 + nvkm/include/subdev/fb/regsnv04.h | 21 +++++++++++++++++++++ nvkm/subdev/devinit/fbmem.h | 18 ++---------------- nvkm/subdev/fb/ramnv04.c | 17 +---------------- 4 files changed, 25 insertions(+), 32 deletions(-) create mode 120000 drm/core/include/subdev/fb/regsnv04.h create mode 100644 nvkm/include/subdev/fb/regsnv04.h diff --git a/drm/core/include/...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
...> drivers/gpu/drm/nouveau/core/os.h | 1 + > drivers/gpu/drm/nouveau/core/subdev/bar/base.c | 4 +- > drivers/gpu/drm/nouveau/core/subdev/bar/nv50.c | 4 +- > drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c | 15 ++-- > .../gpu/drm/nouveau/core/subdev/devinit/fbmem.h | 8 ++- > drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c | 2 +- > drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c | 2 +- > drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c | 2 +- > drivers/gpu/drm/nouveau/core/subdev/devinit/nv20.c | 2 +- > drivers/gpu/d...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...lude/subdev/mc.h | 1 + drivers/gpu/drm/nouveau/core/os.h | 1 + drivers/gpu/drm/nouveau/core/subdev/bar/base.c | 4 +- drivers/gpu/drm/nouveau/core/subdev/bar/nv50.c | 4 +- drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c | 15 ++-- .../gpu/drm/nouveau/core/subdev/devinit/fbmem.h | 8 ++- drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c | 2 +- drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c | 2 +- drivers/gpu/drm/nouveau/core/subdev/devinit/nv10.c | 2 +- drivers/gpu/drm/nouveau/core/subdev/devinit/nv20.c | 2 +- drivers/gpu/drm/nouveau/core/subdev/fb...
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
On Mon, Feb 10, 2014 at 8:50 PM, Thierry Reding <thierry.reding at gmail.com> wrote: > On Mon, Feb 10, 2014 at 02:53:00PM +0900, Alexandre Courbot wrote: > [...] >> diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c > [...] >> +resource_size_t >> +nv_device_resource_start(struct nouveau_device *device,
2016 Feb 19
0
[PATCH v2 1/4] subdev/iccsense: add new subdev for power sensors
...char *name; - int (*bar )(struct nvkm_device *, int idx, struct nvkm_bar **); - int (*bios )(struct nvkm_device *, int idx, struct nvkm_bios **); - int (*bus )(struct nvkm_device *, int idx, struct nvkm_bus **); - int (*clk )(struct nvkm_device *, int idx, struct nvkm_clk **); - int (*devinit)(struct nvkm_device *, int idx, struct nvkm_devinit **); - int (*fb )(struct nvkm_device *, int idx, struct nvkm_fb **); - int (*fuse )(struct nvkm_device *, int idx, struct nvkm_fuse **); - int (*gpio )(struct nvkm_device *, int idx, struct nvkm_gpio **); - int (*i2c )(struct nvkm_devic...