search for: nouveau_accel_init

Displaying 20 results from an estimated 46 matches for "nouveau_accel_init".

2014 Feb 01
0
[RFC 15/16] drm/nouveau: support GK20A in nouveau_accel_init()
GK20A does not embed a dedicated COPY engine and thus cannot allocate the copy channel that nouveau_accel_init() attempts to create. It also lacks any display hardware, so the creation of a software channel does not apply neither. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drivers/gpu/drm/nouveau/nouveau_drm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers...
2014 Mar 24
0
[PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()
GK20A does not embed a dedicated COPY engine and thus cannot allocate the copy channel that nouveau_accel_init() attempts to create. It also lacks any display hardware, so the creation of a software channel does not apply neither. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drivers/gpu/drm/nouveau/nouveau_drm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers...
2014 Apr 21
2
[PATCH v2 09/10] drm/nouveau: support GK20A in nouveau_accel_init()
...file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c > index ddd83756b9a2..5b46148ffd32 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_drm.c > +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c > @@ -208,6 +208,10 @@ nouveau_accel_init(struct nouveau_drm *drm) > return; > } > > + /* Need to figure out how to handle sw for gk20a */ > + if (device->chipset == 0xea) > + goto skip_sw_init; > + > ret = nouveau_object_new(nv_object(drm), NVDRM_CHAN, NV...
2014 Apr 21
0
[PATCH v2 09/10] drm/nouveau: support GK20A in nouveau_accel_init()
...u/nouveau_drm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index ddd83756b9a2..5b46148ffd32 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -208,6 +208,10 @@ nouveau_accel_init(struct nouveau_drm *drm) return; } + /* Need to figure out how to handle sw for gk20a */ + if (device->chipset == 0xea) + goto skip_sw_init; + ret = nouveau_object_new(nv_object(drm), NVDRM_CHAN, NVDRM_NVSW, nouveau_abi16_swclass(drm), NULL, 0, &object); if (ret == 0) { @@...
2014 Mar 26
0
[PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()
On Tue, Mar 25, 2014 at 9:10 AM, Thierry Reding <thierry.reding at gmail.com> wrote: > On Mon, Mar 24, 2014 at 05:42:33PM +0900, Alexandre Courbot wrote: >> GK20A does not embed a dedicated COPY engine and thus cannot allocate >> the copy channel that nouveau_accel_init() attempts to create. It also >> lacks any display hardware, so the creation of a software channel does >> not apply neither. > > Perhaps this should be two separate patches? > >> diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c &...
2014 Mar 24
3
[PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()
On Mon, Mar 24, 2014 at 05:42:33PM +0900, Alexandre Courbot wrote: > GK20A does not embed a dedicated COPY engine and thus cannot allocate > the copy channel that nouveau_accel_init() attempts to create. It also > lacks any display hardware, so the creation of a software channel does > not apply neither. Perhaps this should be two separate patches? > diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c [...] > + if (device-&g...
2014 Apr 02
0
[PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()
On Wed, Apr 2, 2014 at 10:14 AM, Alexandre Courbot <gnurou at gmail.com> wrote: >>>> + /* Need to figure out how to handle sw for gk20a */ >>>> + if (device->chipset == 0xea) >>>> + goto skip_sw_init; >>> >>> The commit message makes it sound like SW isn't needed since gk20a >>> "lacks any display
2014 Apr 02
2
[PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()
...ote: > On Tue, Mar 25, 2014 at 9:10 AM, Thierry Reding > <thierry.reding at gmail.com> wrote: >> On Mon, Mar 24, 2014 at 05:42:33PM +0900, Alexandre Courbot wrote: >>> GK20A does not embed a dedicated COPY engine and thus cannot allocate >>> the copy channel that nouveau_accel_init() attempts to create. It also >>> lacks any display hardware, so the creation of a software channel does >>> not apply neither. >> >> Perhaps this should be two separate patches? >> >>> diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm...
2014 Jan 31
3
Help needed for bug 58556
...itializes drm->channel which is the kernel > channel for doing stuff. [Although TBH I'm not entirely sure how > things work without acceleration enabled... but I think there's a > non-fifo way to show images on the screen.] My tests were pretty bruteforcing ones: * comment all nouveau_accel_init content, and uncomment block by block until it works; * then comment all nouveau_channel_new content, and uncomment function by function until it works; * and finally, I did the same inside nouveau_channel_init (for this function, only the vram creation, gart creation and dma variables initialisa...
2014 Feb 04
1
Help needed for bug 58556
...;> channel for doing stuff. [Although TBH I'm not entirely sure how >>> things work without acceleration enabled... but I think there's a >>> non-fifo way to show images on the screen.] >> >> My tests were pretty bruteforcing ones: >> * comment all nouveau_accel_init content, and uncomment block by block >> until it works; >> * then comment all nouveau_channel_new content, and uncomment function by >> function until it works; >> * and finally, I did the same inside nouveau_channel_init (for this >> function, only the vram creat...
2014 Jan 31
0
Help needed for bug 58556
...is the kernel > > channel for doing stuff. [Although TBH I'm not entirely sure how > > things work without acceleration enabled... but I think there's a > > non-fifo way to show images on the screen.] > > My tests were pretty bruteforcing ones: > * comment all nouveau_accel_init content, and uncomment block by block > until it works; > * then comment all nouveau_channel_new content, and uncomment function by > function until it works; > * and finally, I did the same inside nouveau_channel_init (for this > function, only the vram creation, gart creation a...
2012 Sep 12
1
[PATCH] drm/nouveau: fix early vram corruption originating from vgacon
...pdev, NV_PCI_VGAMEM_ENABLE, 0); + ret = nouveau_cli_create(pdev, "DRM", sizeof(*drm), (void**)&drm); if (ret) - return ret; + goto fail_cli; dev->dev_private = drm; drm->dev = dev; @@ -336,6 +350,11 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags) nouveau_accel_init(drm); nouveau_fbcon_init(dev); + + console_lock(); + do_unblank_screen(1); + console_unlock(); + return 0; fail_dispinit: @@ -351,12 +370,20 @@ fail_ttm: nouveau_vga_fini(drm); fail_device: nouveau_cli_destroy(&drm->client); +fail_cli: + pci_write_config_byte(pdev, NV_PCI_VGAMEM_...
2014 Mar 19
2
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...(nouveau_runtime_pm == -1) + nouveau_runtime_pm = + nouveau_is_optimus() || nouveau_is_v1_dsm(); + ret = nouveau_cli_create(nouveau_name(dev), "DRM", sizeof(*drm), (void **)&drm); if (ret) @@ -443,7 +447,7 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags) nouveau_accel_init(drm); nouveau_fbcon_init(dev); - if (nouveau_runtime_pm != 0) { + if (nouveau_runtime_pm) { pm_runtime_use_autosuspend(dev->dev); pm_runtime_set_autosuspend_delay(dev->dev, 5000); pm_runtime_set_active(dev->dev); @@ -894,12 +898,6 @@ static int nouveau_pmops_runtime_suspend(st...
2014 Jan 31
2
Help needed for bug 58556
Hello List, I am trying to solve bug 58556 [1], but I will need some help as I don't understand all that is going on. The system is composed of an NV96 (9600 GT) and an NVAC (9400 M) card; acceleration is disabled, otherwise the system hangs at boot after initialising the NV96 card. The problem consist of a complete garbage screen in console mode, and a one-third gabage screen in GUI.
2013 Nov 25
0
[Bug 71824] [NVE6] NULL deref on boot when there is nothing in DCB on 3.13-rc
...|with Call Trace |DCB on 3.13-rc --- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> --- Looks like you have no outputs. I think this will lead to chan->vblank.nr_event = pdisp->vblank->index_nr; failing in nv50_software_context_ctor, called from nouveau_accel_init since pdisp->vblank == NULL. I suspect that ->index_nr is at offset 0x130 which explains the CR2 that you see. As a temporary workaround, booting with nouveau.noaccel=1 will avoid the crash (and also remove your ability to use the card). -- You are receiving this mail because: You are the...
2013 Dec 15
0
[Bug 58378] [NV86] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version
...5e120f6e4b3f35b741c5445dfc755f50128c3c44 which actually introduces the nv84+ fence mechanism. This had actually previously occurred to me, but a quick thing to try out is to switch to the nv17 fence and see what happens. You can do this by editing the logic in drivers/gpu/drm/nouveau/nouveau_drm.c:nouveau_accel_init, and just replace nv84_fence_create with nv50_fence_create (which will make a nv50+ appropriate nv17 fence impl). -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop....
2014 Mar 19
0
[PATCH] drm: compute runpm on load, don't register autosuspend for non-runpm
...|| nouveau_is_v1_dsm(); > + > ret = nouveau_cli_create(nouveau_name(dev), "DRM", sizeof(*drm), > (void **)&drm); > if (ret) > @@ -443,7 +447,7 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags) > nouveau_accel_init(drm); > nouveau_fbcon_init(dev); > > - if (nouveau_runtime_pm != 0) { > + if (nouveau_runtime_pm) { > pm_runtime_use_autosuspend(dev->dev); > pm_runtime_set_autosuspend_delay(dev->dev, 5000); > pm_runtime...
2016 Aug 22
10
[PATCH v2] drm/nouveau: add a LED driver for the NVIDIA logo
...uot; #include "nouveau_vga.h" +#include "nouveau_led.h" #include "nouveau_hwmon.h" #include "nouveau_acpi.h" #include "nouveau_bios.h" @@ -468,6 +469,7 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags) nouveau_hwmon_init(dev); nouveau_accel_init(drm); nouveau_fbcon_init(dev); + nouveau_led_init(dev); if (nouveau_runtime_pm != 0) { pm_runtime_use_autosuspend(dev->dev); @@ -499,6 +501,7 @@ nouveau_drm_unload(struct drm_device *dev) struct nouveau_drm *drm = nouveau_drm(dev); pm_runtime_get_sync(dev->dev); + nouveau_led_f...
2014 May 01
0
[PATCH v3 0/9] drm/nouveau: support for GK20A, cont'd
On Fri, Apr 25, 2014 at 5:19 PM, Alexandre Courbot <acourbot at nvidia.com> wrote: > Changes since v2: > - Enabled software class > - Removed unneeded changes to nouveau_accel_init() > - Replaced use of architecture-private pfn_to_dma() and dma_to_pfn() with > the portable page_to_phys()/phys_to_page() page_to_phys() looks well defined and used everywhere, phys_to_page() not so much (including on amd64) :( > - Fixed incorrect comment/commit log talking about bytes...
2019 Nov 26
0
nouveau regression [bisected] hotplug broken on gf108 since 4.1
..., Hans p.s. I've also tried a little hack like this: diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 2b2baf6e0e0d..efc7ba666b1b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -459,7 +459,7 @@ nouveau_accel_init(struct nouveau_drm *drm) } static int -nouveau_drm_device_init(struct drm_device *dev) +nouveau_drm_load(struct drm_device *dev, unsigned long flags) { struct nouveau_drm *drm; int ret; @@ -647,9 +647,9 @@ static int nouveau_drm_probe(struct pci_dev *pdev, drm_dev->pdev = pdev;...