Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393804 Details for
Bug 528990
sys-kernel/gentoo-sources-3.17 - kernel panic with Nouveau driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Backported nouveau patch for 3.17/3.18
2800_nouveau-spin-is-locked.patch (text/plain), 1.26 KB, created by
Mike Pagano
on 2015-01-12 19:22:47 UTC
(
hide
)
Description:
Backported nouveau patch for 3.17/3.18
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2015-01-12 19:22:47 UTC
Size:
1.26 KB
patch
obsolete
>--- a/drivers/gpu/drm/nouveau/core/core/event.c 2015-01-12 14:01:30.999164123 -0500 >+++ b/drivers/gpu/drm/nouveau/core/core/event.c 2015-01-12 14:03:11.229163330 -0500 >@@ -26,7 +26,7 @@ > void > nvkm_event_put(struct nvkm_event *event, u32 types, int index) > { >- BUG_ON(!spin_is_locked(&event->refs_lock)); >+ assert_spin_locked(&event->refs_lock); > while (types) { > int type = __ffs(types); types &= ~(1 << type); > if (--event->refs[index * event->types_nr + type] == 0) { >@@ -39,7 +39,7 @@ nvkm_event_put(struct nvkm_event *event, > void > nvkm_event_get(struct nvkm_event *event, u32 types, int index) > { >- BUG_ON(!spin_is_locked(&event->refs_lock)); >+ assert_spin_locked(&event->refs_lock); > while (types) { > int type = __ffs(types); types &= ~(1 << type); > if (++event->refs[index * event->types_nr + type] == 1) { >--- a/drivers/gpu/drm/nouveau/core/core/notify.c 2015-01-12 14:01:38.299164065 -0500 >+++ b/drivers/gpu/drm/nouveau/core/core/notify.c 2015-01-12 14:03:45.739163057 -0500 >@@ -98,7 +98,7 @@ nvkm_notify_send(struct nvkm_notify *not > struct nvkm_event *event = notify->event; > unsigned long flags; > >- BUG_ON(!spin_is_locked(&event->list_lock)); >+ assert_spin_locked(&event->list_lock); > BUG_ON(size != notify->size); > > spin_lock_irqsave(&event->refs_lock, flags);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 528990
:
389144
|
389190
|
393798
| 393804 |
393942