Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 173424 Details for
Bug 228473
x11-drivers/xf86-video-openchrome XvMC allocation fixes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kernel debug patch
drmdebug.patch (text/plain), 1.68 KB, created by
Daniel Drake (RETIRED)
on 2008-11-26 10:26:42 UTC
(
hide
)
Description:
kernel debug patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2008-11-26 10:26:42 UTC
Size:
1.68 KB
patch
obsolete
>Index: linux-2.6.27-gentoo-r4/drivers/gpu/drm/drm_sman.c >=================================================================== >--- linux-2.6.27-gentoo-r4.orig/drivers/gpu/drm/drm_sman.c >+++ linux-2.6.27-gentoo-r4/drivers/gpu/drm/drm_sman.c >@@ -209,13 +209,16 @@ struct drm_memblock_item *drm_sman_alloc > tmp = sman_mm->allocate(sman_mm->private, size, alignment); > > if (!tmp) { >+ printk("sman_alloc tmp failed\n"); > return NULL; > } > > memblock = drm_calloc(1, sizeof(*memblock), DRM_MEM_MM); > >- if (!memblock) >+ if (!memblock) { >+ printk("sman_alloc drm_calloc failed\n"); > goto out; >+ } > > memblock->mm_info = tmp; > memblock->mm = sman_mm; >@@ -223,12 +226,16 @@ struct drm_memblock_item *drm_sman_alloc > > if (drm_ht_just_insert_please > (&sman->user_hash_tab, &memblock->user_hash, >- (unsigned long)memblock, 32, 0, 0)) >+ (unsigned long)memblock, 32, 0, 0)) { >+ printk("sman_alloc just_insert_please failed\n"); > goto out1; >+ } > > owner_item = drm_sman_get_owner_item(sman, owner); >- if (!owner_item) >+ if (!owner_item) { >+ printk("sman_alloc get_owner_item failed\n"); > goto out2; >+ } > > list_add_tail(&memblock->owner_list, &owner_item->mem_blocks); > >Index: linux-2.6.27-gentoo-r4/drivers/gpu/drm/via/via_mm.c >=================================================================== >--- linux-2.6.27-gentoo-r4.orig/drivers/gpu/drm/via/via_mm.c >+++ linux-2.6.27-gentoo-r4/drivers/gpu/drm/via/via_mm.c >@@ -151,7 +151,7 @@ int via_mem_alloc(struct drm_device *dev > mem->offset = 0; > mem->size = 0; > mem->index = 0; >- DRM_DEBUG("Video memory allocation failed\n"); >+ printk("Video memory allocation failed, type=%d size=%ld\n", mem->type, tmpSize); > retval = -ENOMEM; > } >
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 228473
:
173349
|
173392
| 173424 |
173540