search for: wait_idle

Displaying 18 results from an estimated 18 matches for "wait_idle".

2012 Sep 23
3
[Bug 55258] New: nouveau failure on resume (reloc wait_idle failed)
https://bugs.freedesktop.org/show_bug.cgi?id=55258 Priority: medium Bug ID: 55258 Assignee: nouveau at lists.freedesktop.org Summary: nouveau failure on resume (reloc wait_idle failed) QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: All Reporter: mr.dash.four at googlemail.com Hardware: Other Status: NEW Version: unspecified Component: Driver/no...
2023 Apr 15
2
[PATCH v2] drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()
...false, 15 * HZ); - if (ret == 0) + lret = dma_resv_wait_timeout(nvbo->bo.base.resv, + DMA_RESV_USAGE_BOOKKEEP, + false, 15 * HZ); + if (!lret) ret = -EBUSY; + else if (lret > 0) + ret = 0; + else + ret = lret; + if (ret) { - NV_PRINTK(err, cli, "reloc wait_idle failed: %ld\n", + NV_PRINTK(err, cli, "reloc wait_idle failed: %d\n", ret); break; } base-commit: 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d -- 2.30.2
2010 Feb 20
2
[PATCH] drm/nouveau: fix missing spin_unlock in failure path
.../drivers/gpu/drm/nouveau/nouveau_gem.c @@ -557,11 +557,11 @@ nouveau_gem_pushbuf_reloc_apply(struct drm_device *dev, spin_lock(&nvbo->bo.lock); ret = ttm_bo_wait(&nvbo->bo, false, false, false); + spin_unlock(&nvbo->bo.lock); if (ret) { NV_ERROR(dev, "reloc wait_idle failed: %d\n", ret); break; } - spin_unlock(&nvbo->bo.lock); nouveau_bo_wr32(nvbo, r->reloc_bo_offset >> 2, data); } -- 1.6.6.1.476.g01ddb
2023 Apr 17
1
[PATCH v3] drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()
...t_timeout(nvbo->bo.base.resv, > + DMA_RESV_USAGE_BOOKKEEP, > + false, 15 * HZ); > + if (!lret) > ret = -EBUSY; > + else if (lret > 0) > + ret = 0; > + else > + ret = lret; > + > if (ret) { > - NV_PRINTK(err, cli, "reloc wait_idle failed: %ld\n", > + NV_PRINTK(err, cli, "reloc wait_idle failed: %d\n", > ret); > break; > } > > base-commit: 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d
2013 Sep 15
8
[Bug 69375] New: [NV4E] GPU lockup when using chrome/flash
...get 0xbeef0200 put 0x0065a6f4 state 0xc0028188 (err: MEM_FAULT) push 0x00001000 [ 850.504026] nouveau E[chrome[3853]] failed to idle channel 0xcccc0000 [chrome[3853]] [ 853.508018] nouveau E[chrome[3853]] failed to idle channel 0xcccc0000 [chrome[3853]] [ 863.804030] nouveau E[Xorg[2162]] reloc wait_idle failed: -16 [ 863.804036] nouveau E[Xorg[2162]] reloc apply: -16 [ 865.743035] nouveau E[ DRM] GPU lockup - switching to software fbcon [ 866.804032] nouveau E[Xorg[2162]] reloc wait_idle failed: -16 [ 866.804079] nouveau E[Xorg[2162]] reloc apply: -16 [ 869.804037] nouveau E[Xorg[2162]] r...
2013 Jan 05
46
[Bug 59069] New: nouveau E[ DRM] fail ttm_validate
...uveau [ PGRAPH][0000:01:00.0] ERROR nsource: LIMIT_COLOR nstatus: PROTECTION_FAULT Jan 4 15:08:23 koli kernel: [13917.531137] nouveau E[ PGRAPH][0000:01:00.0] ch 3 [0x0013c000] subc 7 class 0x4097 mthd 0x0204 data 0x00180000 Jan 4 15:08:26 koli kernel: [13920.488008] nouveau E[ DRM] reloc wait_idle failed: -16 Jan 4 15:08:26 koli kernel: [13920.488013] nouveau E[ DRM] reloc apply: -16 Jan 4 15:08:26 koli kernel: [13920.492005] [sched_delayed] sched: RT throttling activated Jan 4 15:08:29 koli kernel: [13923.600790] nouveau E[ DRM] fail ttm_validate Jan 4 15:08:29 koli kernel: [139...
2012 Sep 09
83
[Bug 54700] New: Distorted graphics (double cursor) with GeForce 4200Go (NV28)
https://bugs.freedesktop.org/show_bug.cgi?id=54700 Bug #: 54700 Summary: Distorted graphics (double cursor) with GeForce 4200Go (NV28) Classification: Unclassified Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal
2018 Aug 30
3
[PATCH 0/2] drm/nouveau: Use more standard logging styles
Reduces object size ~4kb Joe Perches (2): drm/nouveau: Add new logging function nv_cli_printk drm/nouveau: Convert NV_PRINTK macros and uses to new nv_cli_<level> macros drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 +- drivers/gpu/drm/nouveau/nouveau_chan.c | 12 +++---- drivers/gpu/drm/nouveau/nouveau_drm.c | 21 +++++++++++ drivers/gpu/drm/nouveau/nouveau_drv.h | 44
2013 Feb 18
12
[Bug 61069] New: Crash while displaying large image
https://bugs.freedesktop.org/show_bug.cgi?id=61069 Priority: medium Bug ID: 61069 Assignee: nouveau at lists.freedesktop.org Summary: Crash while displaying large image QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: All Reporter: dave.mueller at gmx.ch
2014 May 14
0
[RFC PATCH v1 06/16] drm/ttm: kill fence_lock
...nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli, data |= r->vor; } - spin_lock(&nvbo->bo.bdev->fence_lock); ret = ttm_bo_wait(&nvbo->bo, false, false, false); - spin_unlock(&nvbo->bo.bdev->fence_lock); if (ret) { NV_ERROR(cli, "reloc wait_idle failed: %d\n", ret); break; @@ -896,11 +886,9 @@ nouveau_gem_ioctl_cpu_prep(struct drm_device *dev, void *data, ret = ttm_bo_reserve(&nvbo->bo, true, false, false, 0); if (!ret) { - spin_lock(&nvbo->bo.bdev->fence_lock); ret = ttm_bo_wait(&nvbo->bo, true,...
2016 Dec 06
0
[PATCH 3/8] core: add falcon library functions
...x); + ret = falcon->func->enable(falcon); + if (ret) { + nvkm_mc_disable(device, falcon->devidx); + return ret; + } + + return 0; +} + +void +nvkm_falcon_disable(struct nvkm_falcon *falcon) +{ + struct nvkm_device *device = falcon->subdev->device; + + /* already disabled, return or wait_idle will timeout */ + if (!nvkm_mc_enabled(device, falcon->devidx)) + return; + + falcon->func->disable(falcon); + + nvkm_mc_disable(device, falcon->devidx); +} + +int +nvkm_falcon_reset(struct nvkm_falcon *falcon) +{ + nvkm_falcon_disable(falcon); + return nvkm_falcon_enable(falcon); +} +...
2012 May 19
77
[Bug 50121] New: [Regression] NV34 Fx5200 fails to resume with commit 5d720f2450
https://bugs.freedesktop.org/show_bug.cgi?id=50121 Bug #: 50121 Summary: [Regression] NV34 Fx5200 fails to resume with commit 5d720f2450 Classification: Unclassified Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority:
2010 Feb 24
35
[Bug 26733] New: Full-screen XV causes graphics lockup
http://bugs.freedesktop.org/show_bug.cgi?id=26733 Summary: Full-screen XV causes graphics lockup Product: xorg Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy:
2016 Dec 06
9
[PATCH 0/8] Falcon library
This was the first step of the secure boot refactoring - as Ben asked for some fixes, I now submit it as its own series to make it easier to review (and also because rebasing secure boot on top of this takes time and I don't want to do it until this is validated!). This series attempts to factorize the duplicate falcon-related code into a single library, using the existing nvkm_falcon
2016 Dec 13
15
[PATCH v2 0/15] Falcon library
This was the first step of the secure boot refactoring - as Ben asked for some fixes, I now submit it as its own series to make it easier to review (and also because rebasing secure boot on top of this takes time and I don't want to do it until this is validated!). This series attempts to factorize the duplicate falcon-related code into a single library, using the existing nvkm_falcon
2014 May 14
17
[RFC PATCH v1 00/16] Convert all ttm drivers to use the new reservation interface
This series depends on the previously posted reservation api patches. 2 of them are not yet in for-next-fences branch of git://git.linaro.org/people/sumit.semwal/linux-3.x.git The missing patches are still in my vmwgfx_wip branch at git://people.freedesktop.org/~mlankhorst/linux All ttm drivers are converted to the fence api, fence_lock is removed and rcu is used in its place. qxl is the first
2014 Jul 31
19
[PATCH 01/19] fence: add debugging lines to fence_is_signaled for the callback
fence_is_signaled callback should support being run in atomic context, but not in irq context. Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- include/linux/fence.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/include/linux/fence.h b/include/linux/fence.h index d174585b874b..c1a4519ba2f5 100644 ---
2014 Jul 09
22
[PATCH 00/17] Convert TTM to the new fence interface.
This series applies on top of the driver-core-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git Before converting ttm to the new fence interface I had to fix some drivers to require a reservation before poking with fence_obj. After flipping the switch RCU becomes available instead, and the extra reservations can be dropped again. :-) I've done at least basic