https://bugs.freedesktop.org/show_bug.cgi?id=31708 --- Comment #2 from Manuel Lauss <manuel.lauss@xxxxxxxxx> 2010-11-18 05:07:36 PST --- I applied the following patch to the kernel; with it firefox loads and displays the image. diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 3ca77dc..e67831c 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -1119,8 +1119,13 @@ EXPORT_SYMBOL(ttm_bo_validate); int ttm_bo_check_placement(struct ttm_buffer_object *bo, struct ttm_placement *placement) { - BUG_ON((placement->fpfn || placement->lpfn) && - (bo->mem.num_pages > (placement->lpfn - placement->fpfn))); + if (((placement->fpfn || placement->lpfn) && + (bo->mem.num_pages > (placement->lpfn - placement->fpfn)))) { + printk(KERN_ALERT "bo->mem.num_pages = %d, placement->lpfn =%d, placement->fpfn = %d\n", + bo->mem.num_pages, placement->lpfn, placement->fpfn); + WARN_ON(1); + return -ENOMEM; + } return 0; } I get tons of warnings like these, but otherwise system seems fine: bo->mem.num_pages = 16984, placement->lpfn =16384, placement->fpfn = 0 ------------[ cut here ]------------ WARNING: at /usr/src/linux-2.6.git/drivers/gpu/drm/ttm/ttm_bo.c:1126 ttm_bo_check_placement+0x50/0x60() Hardware name: VGN-A197XP(DE) Modules linked in: ipw2200 libipw Pid: 2354, comm: X Not tainted 2.6.37-rc2-00039-g3385e32-dirty #1 Call Trace: [<b1028318>] ? warn_slowpath_common+0x78/0xb0 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b1466220>] ? radeon_ttm_bo_destroy+0x0/0x90 [<b1028369>] ? warn_slowpath_null+0x19/0x20 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b143364d>] ? ttm_bo_init+0x16d/0x350 [<b1466150>] ? radeon_bo_create+0xe0/0x1b0 [<b1466220>] ? radeon_ttm_bo_destroy+0x0/0x90 [<b147a4c8>] ? radeon_gem_object_create+0x78/0x100 [<b147a5b2>] ? radeon_gem_create_ioctl+0x62/0xd0 [<b141ed6e>] ? drm_ioctl+0x19e/0x440 [<b147a550>] ? radeon_gem_create_ioctl+0x0/0xd0 [<b1090035>] ? do_sync_read+0xa5/0xe0 [<b1047e39>] ? ktime_get+0x59/0x100 [<b141ebd0>] ? drm_ioctl+0x0/0x440 [<b109e34c>] ? do_vfs_ioctl+0x9c/0x700 [<b10903c4>] ? vfs_read+0x104/0x150 [<b109e9ed>] ? sys_ioctl+0x3d/0x70 [<b1002d50>] ? sysenter_do_call+0x12/0x26 ---[ end trace 7b2edf2d7bc65699 ]--- bo->mem.num_pages = 16984, placement->lpfn =16384, placement->fpfn = 0 ------------[ cut here ]------------ WARNING: at /usr/src/linux-2.6.git/drivers/gpu/drm/ttm/ttm_bo.c:1126 ttm_bo_check_placement+0x50/0x60() Hardware name: VGN-A197XP(DE) Modules linked in: ipw2200 libipw Pid: 2354, comm: X Tainted: G W 2.6.37-rc2-00039-g3385e32-dirty #1 Call Trace: [<b1028318>] ? warn_slowpath_common+0x78/0xb0 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b1466220>] ? radeon_ttm_bo_destroy+0x0/0x90 [<b1028369>] ? warn_slowpath_null+0x19/0x20 [<b14311f0>] ? ttm_bo_check_placement+0x50/0x60 [<b143364d>] ? ttm_bo_init+0x16d/0x350 [<b1466150>] ? radeon_bo_create+0xe0/0x1b0 [<b1466220>] ? radeon_ttm_bo_destroy+0x0/0x90 [<b147a4c8>] ? radeon_gem_object_create+0x78/0x100 [<b147a5b2>] ? radeon_gem_create_ioctl+0x62/0xd0 [<b141ed6e>] ? drm_ioctl+0x19e/0x440 [<b147a550>] ? radeon_gem_create_ioctl+0x0/0xd0 [<b1090035>] ? do_sync_read+0xa5/0xe0 [<b1047e39>] ? ktime_get+0x59/0x100 [<b141ebd0>] ? drm_ioctl+0x0/0x440 [<b109e34c>] ? do_vfs_ioctl+0x9c/0x700 [<b10903c4>] ? vfs_read+0x104/0x150 [<b109e9ed>] ? sys_ioctl+0x3d/0x70 [<b1002d50>] ? sysenter_do_call+0x12/0x26 ---[ end trace 7b2edf2d7bc6569a ]--- radeon 0000:01:00.0: object_init failed for (69566464, 0x00000006) [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (69566464, 4, 4096, -12) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel