build warning in radeon/atombios_crtc.c: pll' may be used uninitialized
Hi, seen with gcc 4.3.4 in current git (although 2.6.34 should show that too): drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll': drivers/gpu/drm/radeon/atombios_crtc.c:684: warning: 'pll' may be used uninitialized in this function It seems to require a 'make CONFIG_DEBUG_SECTION_MISMATCH=y' to trigger this warning; don't know why. Perhaps add a 'default:' case to the switch block? -- Stefan Richter -=-==-=- -=-= ==--= http://arcgraph.de/sr/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH] drm/radeon/kms: suppress a build warning (unused variable)
At least 'make CONFIG_DEBUG_SECTION_MISMATCH=y' causes drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll': drivers/gpu/drm/radeon/atombios_crtc.c:684: warning: 'pll' may be used uninitialized in this function which has the looks of a falso positive. Add a default: case so that gcc rests assured that all possible pll_id's are covered. Keep the present cases that fall through to the default one for self-documentation. Signed-off-by: Stefan Richter --- drivers/gpu/drm/radeon/atombios_crtc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 03dd6c4..f3f2827 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -707,6 +707,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode break; case ATOM_DCPLL: case ATOM_PPLL_INVALID: + default: pll = &rdev->clock.dcpll; break; } -- Stefan Richter -=-==-=- -=-= ==--= http://arcgraph.de/sr/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #14 from Magnus Jensen 2010-05-26 03:07:49 PDT --- Yes that works for me. Now gets the correct output HDMI-0 not VGA, i don't have any 3d anymore though that's a different story... -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #15 from Magnus Jensen 2010-05-26 03:11:24 PDT --- Created an attachment (id=35862) --> (https://bugs.freedesktop.org/attachment.cgi?id=35862) dmesg after fix patch Just wanted u to know that dmesg still get's a lot of these error messages -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28259] New: [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Summary: [bisected r300g] Freeorion crash at startup Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: dra...@centrum.cz Created an attachment (id=35864) --> (https://bugs.freedesktop.org/attachment.cgi?id=35864) terminal output + backtrace Freeorion crash at startup with: ../../../../src/gallium/auxiliary/util/u_inlines.h:82:pipe_reference: Assertion `pipe_is_referenced(ptr)' failed. This is a regression introduced by this commit: commit 2c072c8f72647a3b32e9855f7635b37ba399f5be Author: Marek Olšák Date: Wed May 26 01:23:07 2010 +0200 r300g: implement fake but compliant fences my card: 01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600] -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28259] [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Pavel Ondračka changed: What|Removed |Added URL||http://sourceforge.net/proj ||ects/freeorion/files/FreeOr ||ion/FreeOrion%20Version%200 ||.3.14/FreeOrion-0.3.14.1-Li ||nux-i386.tar.gz/download Keywords||regression CC||mar...@gmail.com Blocks||28154 -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 Pavel Ondračka changed: What|Removed |Added Depends on||28259 -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #1 from Marek Olšák 2010-05-26 05:14:30 PDT --- This vertex format (GL_INT) is not supported by hw and we have to add some kind of fallback for this. You may workaround this bug by typing RADEON_NO_TCL=1 before the executable. This will use software vertex processing, which is slow but should handle all such corner cases. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #2 from Pavel Ondračka 2010-05-26 05:45:39 PDT --- OK thanks for explanation, but sadly I can't try this workaround now because of bug 28259. And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g bugzilla component? -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28260] New: Europa Universalis III crashes with R600
https://bugs.freedesktop.org/show_bug.cgi?id=28260 Summary: Europa Universalis III crashes with R600 Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: d...@sphinx.net.ru Created an attachment (id=35866) --> (https://bugs.freedesktop.org/attachment.cgi?id=35866) Full wine output with error backtraces Europa Universalis III (both vanilla and 1.3) crashes after intro videos with error in r600_dri.so. According to backtrace, the problem occurs in radeonFlush() from radeon_common.c Using Git versions of Wine, Mesa and free AMD Xorg driver with Radeon HD2600XT. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28260] Europa Universalis III crashes with R600
https://bugs.freedesktop.org/show_bug.cgi?id=28260 --- Comment #1 from Dmitry Dzhus 2010-05-26 06:04:16 PDT --- *** Bug 28211 has been marked as a duplicate of this bug. *** -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #3 from Marek Olšák 2010-05-26 06:53:19 PDT --- (In reply to comment #2) > OK thanks for explanation, but sadly I can't try this workaround now because > of > bug 28259. I'll fix it once I get from work. > And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g > bugzilla component? I was suggesting this some time ago and was too lazy to bug admins. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH 1/2] drm/ttm: Fix cached TTM page allocation.
This patch fixes a regression introduced with the pool page allocator in the event that there are no highmem pages (for example x86_64), in which case cached page allocation would fail. Tested with the vmwgfx driver on a 64-bit vm. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_page_alloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 0d9a42c..b6d1523 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -671,7 +671,7 @@ int ttm_get_pages(struct list_head *pages, int flags, if (flags & TTM_PAGE_FLAG_DMA32) gfp_flags |= GFP_DMA32; else - gfp_flags |= __GFP_HIGHMEM; + gfp_flags |= GFP_HIGHUSER; for (r = 0; r < count; ++r) { p = alloc_page(gfp_flags); -- 1.6.2.5 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH 2/2] drm/ttm: Fix ttm_page_alloc.c
Fix a number of typos misspellings and checkpatch.pl warnings. Replace "[ttm] " with TTM_PFX Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 62 +++-- 1 files changed, 36 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index b6d1523..ef91069 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -77,7 +77,7 @@ struct ttm_page_pool { /** * Limits for the pool. They are handled without locks because only place where * they may change is in sysfs store. They won't have immediate effect anyway - * so forcing serialiazation to access them is pointless. + * so forcing serialization to access them is pointless. */ struct ttm_pool_opts { @@ -165,16 +165,18 @@ static ssize_t ttm_pool_store(struct kobject *kobj, m->options.small = val; else if (attr == &ttm_page_pool_alloc_size) { if (val > NUM_PAGES_TO_ALLOC*8) { - printk(KERN_ERR "[ttm] Setting allocation size to %lu " - "is not allowed. Recomended size is " - "%lu\n", - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 7), - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); + printk(KERN_ERR TTM_PFX + "Setting allocation size to %lu " + "is not allowed. Recommended size is " + "%lu\n", + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 7), + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); return size; } else if (val > NUM_PAGES_TO_ALLOC) { - printk(KERN_WARNING "[ttm] Setting allocation size to " - "larger than %lu is not recomended.\n", - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); + printk(KERN_WARNING TTM_PFX + "Setting allocation size to " + "larger than %lu is not recommended.\n", + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); } m->options.alloc_size = val; } @@ -277,7 +279,7 @@ static void ttm_pages_put(struct page *pages[], unsigned npages) { unsigned i; if (set_pages_array_wb(pages, npages)) - printk(KERN_ERR "[ttm] Failed to set %d pages to wb!\n", + printk(KERN_ERR TTM_PFX "Failed to set %d pages to wb!\n", npages); for (i = 0; i < npages; ++i) __free_page(pages[i]); @@ -313,7 +315,8 @@ static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free) pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), GFP_KERNEL); if (!pages_to_free) { - printk(KERN_ERR "Failed to allocate memory for pool free operation.\n"); + printk(KERN_ERR TTM_PFX + "Failed to allocate memory for pool free operation.\n"); return 0; } @@ -390,7 +393,7 @@ static int ttm_pool_get_num_unused_pages(void) } /** - * Calback for mm to request pool to reduce number of page held. + * Callback for mm to request pool to reduce number of page held. */ static int ttm_pool_mm_shrink(int shrink_pages, gfp_t gfp_mask) { @@ -433,14 +436,16 @@ static int ttm_set_pages_caching(struct page **pages, case tt_uncached: r = set_pages_array_uc(pages, cpages); if (r) - printk(KERN_ERR "[ttm] Failed to set %d pages to uc!\n", - cpages); + printk(KERN_ERR TTM_PFX + "Failed to set %d pages to uc!\n", + cpages); break; case tt_wc: r = set_pages_array_wc(pages, cpages); if (r) - printk(KERN_ERR "[ttm] Failed to set %d pages to wc!\n", - cpages); + printk(KERN_ERR TTM_PFX + "Failed to set %d pages to wc!\n", + cpages); break; default: break; @@ -458,7 +463,7 @@ static void ttm_handle_caching_state_failure(struct list_head *pages, struct page **failed_pages, unsigned cpages) { unsigned i; - /* Failed pages has to be reed */ + /* Failed pages have to be freed */ for (i = 0; i < cpages; ++i) { list_del(&failed_pages[i]->lru); __free_page(failed_pages[i]); @@ -485,7 +490,8 @@ static int ttm_alloc_new_pages(struct li
[Bug 28259] [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Marek Olšák 2010-05-26 07:40:31 PDT --- Fixed in master, closing.. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 Bug 28154 depends on bug 28259, which changed state. Bug 28259 Summary: [bisected r300g] Freeorion crash at startup https://bugs.freedesktop.org/show_bug.cgi?id=28259 What|Old Value |New Value Resolution||FIXED Status|NEW |RESOLVED -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #16 from Magnus Jensen 2010-05-26 08:03:45 PDT --- Thank you! the fix works perfect AFAI can see. I had to apply it manually in the drm-radeon-testing tree since something breaks 3D and XV for me in the d-r-n branch. but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t branch with patch applied. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #17 from Alex Deucher 2010-05-26 08:09:23 PDT --- (In reply to comment #16) > Thank you! the fix works perfect AFAI can see. I had to apply it manually in > the drm-radeon-testing tree since something breaks 3D and XV for me in the > d-r-n branch. > but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t > branch > with patch applied. You need this patch if you are using the drm-next branch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4fa07bf146aaee1e8409d35ab08624041c2e3867 -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 27464] Mesa 7.8: screen/keyboard frozen when using menus in GLUT application
https://bugs.freedesktop.org/show_bug.cgi?id=27464 --- Comment #4 from Zbigniew 2010-05-26 08:48:57 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. Can you test 3D with kernel 2.6.33 and KMS enabled > libdrm, xf86-video-ati and mesa? http://www.x.org/wiki/radeonBuildHowTo is ood > source of information if you need to compile something. Today I made a test using newest kernel 2.6.34 with KMS enabled (of course, I've recompiled appropriate libs&drivers according to instructions from the page mentioned above), using driver xf86-video-ati-6.13.0.tar.bz2 (formerly it was version 12.4) - so I would to add to my bug report: - there weren't any more "freezes" neither while switching desktops, nor when using WM's menu - still there is heavy CPU load when displaying WireTeapot - I noticed, that glxgears now shows about 710 FPS - formerly it was over 1000 FPS (why such radical slowdown?) -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 27461] Mesa 7.8: Screen lock-ups, when drawing 3D built-in figures (probably GLUT?)
https://bugs.freedesktop.org/show_bug.cgi?id=27461 --- Comment #9 from Zbigniew 2010-05-26 08:49:29 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. > > Please attach xorg.log. > > Also testing with KMS enabled system would be nice. See my comments to bug 27464 -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 27464] Mesa 7.8: screen/keyboard frozen when using menus in GLUT application
https://bugs.freedesktop.org/show_bug.cgi?id=27464 --- Comment #5 from Zbigniew 2010-05-26 08:59:47 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. Can you test 3D with kernel 2.6.33 and KMS enabled > libdrm, xf86-video-ati and mesa? I forgot to mention, that I'm using now Xorg-Server 1.7.7 (former was 1.7.6), configured WITHOUT two options, that was in use before: --disable-dmx --disable-secure-rpc Is it possible, that the two options could have any influence on the problem reported (and perhaps on the lower actual FPS rate, when dmx and secure-rpc aren't disabled)? -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 03/11] drm/i915: Storage class should be before const qualifier
On Thu, 20 May 2010 10:33:46 +0200, Tobias Klauser wrote: > The C99 specification states in section 6.11.5: > > The placement of a storage-class specifier other than at the beginning > of the declaration specifiers in a declaration is an obsolescent > feature. > > Signed-off-by: Tobias Klauser Applied. Thanks! pgpNNhTVPtBVn.pgp Description: PGP signature ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 24047] s3tc broken on r600
https://bugs.freedesktop.org/show_bug.cgi?id=24047 --- Comment #9 from jonathan 2010-05-26 17:02:29 PDT --- when i launch ennemy territory quake wars i have this error : failed to validate texture for unit 1. unsupported texture format in setup_hardware_state failed to validate texture for unit 4. unsupported texture format in setup_hardware_state failed to validate texture for unit 5. unsupported texture format in setup_hardware_state failed to validate texture for unit 0. -- 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[git pull] drm fixes
Hi Linus, just some minor drm/agp fixes, nothing too serious, AGP s/r regression, HDMI EDID regression fix. Dave. The following changes since commit b486787ee4797d6e42a9bd3a6f079385ad0f4472: Alex Deucher (1): drm/radeon/kms/pm/r600: select the mid clock mode for single head low profile are available in the git repository at: ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-linus Adam Jackson (1): drm/edid: Allow non-fatal checksum errors in CEA blocks Jerome Glisse (1): drm/radeon/kms: release AGP bridge at suspend Jiri Slaby (1): agp: amd64, fix pci reference leaks Prarit Bhargava (1): drm: Fixes linux-next & linux-2.6 checkstack warnings: Randy Dunlap (1): nouveau: fix acpi_lid_open undefined Stefan Richter (1): drm/radeon/kms: suppress a build warning (unused variable) drivers/char/agp/amd64-agp.c| 28 +- drivers/gpu/drm/drm_edid.c |5 +++- drivers/gpu/drm/nouveau/nouveau_connector.c |3 +- drivers/gpu/drm/nouveau/nv40_graph.c|8 ++- drivers/gpu/drm/radeon/atombios_crtc.c |1 + drivers/gpu/drm/radeon/radeon.h |1 + drivers/gpu/drm/radeon/radeon_agp.c |5 drivers/gpu/drm/radeon/radeon_atombios.c| 13 ++- drivers/gpu/drm/radeon/radeon_device.c |2 + 9 files changed, 51 insertions(+), 15 deletions(-)
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #14 from Magnus Jensen 2010-05-26 03:07:49 PDT --- Yes that works for me. Now gets the correct output HDMI-0 not VGA, i don't have any 3d anymore though that's a different story... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #15 from Magnus Jensen 2010-05-26 03:11:24 PDT --- Created an attachment (id=35862) --> (https://bugs.freedesktop.org/attachment.cgi?id=35862) dmesg after fix patch Just wanted u to know that dmesg still get's a lot of these error messages -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28259] New: [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Summary: [bisected r300g] Freeorion crash at startup Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel at lists.freedesktop.org ReportedBy: drakkk at centrum.cz Created an attachment (id=35864) --> (https://bugs.freedesktop.org/attachment.cgi?id=35864) terminal output + backtrace Freeorion crash at startup with: ../../../../src/gallium/auxiliary/util/u_inlines.h:82:pipe_reference: Assertion `pipe_is_referenced(ptr)' failed. This is a regression introduced by this commit: commit 2c072c8f72647a3b32e9855f7635b37ba399f5be Author: Marek Ol??k Date: Wed May 26 01:23:07 2010 +0200 r300g: implement fake but compliant fences my card: 01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600] -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28259] [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Pavel Ondra?ka changed: What|Removed |Added URL||http://sourceforge.net/proj ||ects/freeorion/files/FreeOr ||ion/FreeOrion%20Version%200 ||.3.14/FreeOrion-0.3.14.1-Li ||nux-i386.tar.gz/download Keywords||regression CC||maraeo at gmail.com Blocks||28154 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 Pavel Ondra?ka changed: What|Removed |Added Depends on||28259 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #1 from Marek Ol??k 2010-05-26 05:14:30 PDT --- This vertex format (GL_INT) is not supported by hw and we have to add some kind of fallback for this. You may workaround this bug by typing RADEON_NO_TCL=1 before the executable. This will use software vertex processing, which is slow but should handle all such corner cases. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #2 from Pavel Ondra?ka 2010-05-26 05:45:39 PDT --- OK thanks for explanation, but sadly I can't try this workaround now because of bug 28259. And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g bugzilla component? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28260] New: Europa Universalis III crashes with R600
https://bugs.freedesktop.org/show_bug.cgi?id=28260 Summary: Europa Universalis III crashes with R600 Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel at lists.freedesktop.org ReportedBy: dima at sphinx.net.ru Created an attachment (id=35866) --> (https://bugs.freedesktop.org/attachment.cgi?id=35866) Full wine output with error backtraces Europa Universalis III (both vanilla and 1.3) crashes after intro videos with error in r600_dri.so. According to backtrace, the problem occurs in radeonFlush() from radeon_common.c Using Git versions of Wine, Mesa and free AMD Xorg driver with Radeon HD2600XT. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28260] Europa Universalis III crashes with R600
https://bugs.freedesktop.org/show_bug.cgi?id=28260 --- Comment #1 from Dmitry Dzhus 2010-05-26 06:04:16 PDT --- *** Bug 28211 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 --- Comment #3 from Marek Ol??k 2010-05-26 06:53:19 PDT --- (In reply to comment #2) > OK thanks for explanation, but sadly I can't try this workaround now because > of > bug 28259. I'll fix it once I get from work. > And just a cosmetic thing, would it be possible to add Drivers/Gallium/r300g > bugzilla component? I was suggesting this some time ago and was too lazy to bug admins. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[PATCH 1/2] drm/ttm: Fix cached TTM page allocation.
This patch fixes a regression introduced with the pool page allocator in the event that there are no highmem pages (for example x86_64), in which case cached page allocation would fail. Tested with the vmwgfx driver on a 64-bit vm. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_page_alloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 0d9a42c..b6d1523 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -671,7 +671,7 @@ int ttm_get_pages(struct list_head *pages, int flags, if (flags & TTM_PAGE_FLAG_DMA32) gfp_flags |= GFP_DMA32; else - gfp_flags |= __GFP_HIGHMEM; + gfp_flags |= GFP_HIGHUSER; for (r = 0; r < count; ++r) { p = alloc_page(gfp_flags); -- 1.6.2.5
[PATCH 2/2] drm/ttm: Fix ttm_page_alloc.c
Fix a number of typos misspellings and checkpatch.pl warnings. Replace "[ttm] " with TTM_PFX Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 62 +++-- 1 files changed, 36 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index b6d1523..ef91069 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -77,7 +77,7 @@ struct ttm_page_pool { /** * Limits for the pool. They are handled without locks because only place where * they may change is in sysfs store. They won't have immediate effect anyway - * so forcing serialiazation to access them is pointless. + * so forcing serialization to access them is pointless. */ struct ttm_pool_opts { @@ -165,16 +165,18 @@ static ssize_t ttm_pool_store(struct kobject *kobj, m->options.small = val; else if (attr == &ttm_page_pool_alloc_size) { if (val > NUM_PAGES_TO_ALLOC*8) { - printk(KERN_ERR "[ttm] Setting allocation size to %lu " - "is not allowed. Recomended size is " - "%lu\n", - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 7), - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); + printk(KERN_ERR TTM_PFX + "Setting allocation size to %lu " + "is not allowed. Recommended size is " + "%lu\n", + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 7), + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); return size; } else if (val > NUM_PAGES_TO_ALLOC) { - printk(KERN_WARNING "[ttm] Setting allocation size to " - "larger than %lu is not recomended.\n", - NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); + printk(KERN_WARNING TTM_PFX + "Setting allocation size to " + "larger than %lu is not recommended.\n", + NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10)); } m->options.alloc_size = val; } @@ -277,7 +279,7 @@ static void ttm_pages_put(struct page *pages[], unsigned npages) { unsigned i; if (set_pages_array_wb(pages, npages)) - printk(KERN_ERR "[ttm] Failed to set %d pages to wb!\n", + printk(KERN_ERR TTM_PFX "Failed to set %d pages to wb!\n", npages); for (i = 0; i < npages; ++i) __free_page(pages[i]); @@ -313,7 +315,8 @@ static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free) pages_to_free = kmalloc(npages_to_free * sizeof(struct page *), GFP_KERNEL); if (!pages_to_free) { - printk(KERN_ERR "Failed to allocate memory for pool free operation.\n"); + printk(KERN_ERR TTM_PFX + "Failed to allocate memory for pool free operation.\n"); return 0; } @@ -390,7 +393,7 @@ static int ttm_pool_get_num_unused_pages(void) } /** - * Calback for mm to request pool to reduce number of page held. + * Callback for mm to request pool to reduce number of page held. */ static int ttm_pool_mm_shrink(int shrink_pages, gfp_t gfp_mask) { @@ -433,14 +436,16 @@ static int ttm_set_pages_caching(struct page **pages, case tt_uncached: r = set_pages_array_uc(pages, cpages); if (r) - printk(KERN_ERR "[ttm] Failed to set %d pages to uc!\n", - cpages); + printk(KERN_ERR TTM_PFX + "Failed to set %d pages to uc!\n", + cpages); break; case tt_wc: r = set_pages_array_wc(pages, cpages); if (r) - printk(KERN_ERR "[ttm] Failed to set %d pages to wc!\n", - cpages); + printk(KERN_ERR TTM_PFX + "Failed to set %d pages to wc!\n", + cpages); break; default: break; @@ -458,7 +463,7 @@ static void ttm_handle_caching_state_failure(struct list_head *pages, struct page **failed_pages, unsigned cpages) { unsigned i; - /* Failed pages has to be reed */ + /* Failed pages have to be freed */ for (i = 0; i < cpages; ++i) { list_del(&failed_pages[i]->lru); __free_page(failed_pages[i]); @@ -485,7 +490,8 @@ static int ttm_alloc_new_pages(struct list_
[Bug 28259] [bisected r300g] Freeorion crash at startup
https://bugs.freedesktop.org/show_bug.cgi?id=28259 Marek Ol??k changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Marek Ol??k 2010-05-26 07:40:31 PDT --- Fixed in master, closing.. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28154] [r300g] Freeorion crash when fleet icon is clicked
https://bugs.freedesktop.org/show_bug.cgi?id=28154 Bug 28154 depends on bug 28259, which changed state. Bug 28259 Summary: [bisected r300g] Freeorion crash at startup https://bugs.freedesktop.org/show_bug.cgi?id=28259 What|Old Value |New Value Resolution||FIXED Status|NEW |RESOLVED -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #16 from Magnus Jensen 2010-05-26 08:03:45 PDT --- Thank you! the fix works perfect AFAI can see. I had to apply it manually in the drm-radeon-testing tree since something breaks 3D and XV for me in the d-r-n branch. but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t branch with patch applied. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS
https://bugs.freedesktop.org/show_bug.cgi?id=28229 --- Comment #17 from Alex Deucher 2010-05-26 08:09:23 PDT --- (In reply to comment #16) > Thank you! the fix works perfect AFAI can see. I had to apply it manually in > the drm-radeon-testing tree since something breaks 3D and XV for me in the > d-r-n branch. > but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t > branch > with patch applied. You need this patch if you are using the drm-next branch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4fa07bf146aaee1e8409d35ab08624041c2e3867 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 27464] Mesa 7.8: screen/keyboard frozen when using menus in GLUT application
https://bugs.freedesktop.org/show_bug.cgi?id=27464 --- Comment #4 from Zbigniew 2010-05-26 08:48:57 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. Can you test 3D with kernel 2.6.33 and KMS enabled > libdrm, xf86-video-ati and mesa? http://www.x.org/wiki/radeonBuildHowTo is ood > source of information if you need to compile something. Today I made a test using newest kernel 2.6.34 with KMS enabled (of course, I've recompiled appropriate libs&drivers according to instructions from the page mentioned above), using driver xf86-video-ati-6.13.0.tar.bz2 (formerly it was version 12.4) - so I would to add to my bug report: - there weren't any more "freezes" neither while switching desktops, nor when using WM's menu - still there is heavy CPU load when displaying WireTeapot - I noticed, that glxgears now shows about 710 FPS - formerly it was over 1000 FPS (why such radical slowdown?) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 27461] Mesa 7.8: Screen lock-ups, when drawing 3D built-in figures (probably GLUT?)
https://bugs.freedesktop.org/show_bug.cgi?id=27461 --- Comment #9 from Zbigniew 2010-05-26 08:49:29 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. > > Please attach xorg.log. > > Also testing with KMS enabled system would be nice. See my comments to bug 27464 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 27464] Mesa 7.8: screen/keyboard frozen when using menus in GLUT application
https://bugs.freedesktop.org/show_bug.cgi?id=27464 --- Comment #5 from Zbigniew 2010-05-26 08:59:47 PDT --- (In reply to comment #2) > Sounds like 3D driver bug. Can you test 3D with kernel 2.6.33 and KMS enabled > libdrm, xf86-video-ati and mesa? I forgot to mention, that I'm using now Xorg-Server 1.7.7 (former was 1.7.6), configured WITHOUT two options, that was in use before: --disable-dmx --disable-secure-rpc Is it possible, that the two options could have any influence on the problem reported (and perhaps on the lower actual FPS rate, when dmx and secure-rpc aren't disabled)? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[PATCH 03/11] drm/i915: Storage class should be before const qualifier
On Thu, 20 May 2010 10:33:46 +0200, Tobias Klauser wrote: > The C99 specification states in section 6.11.5: > > The placement of a storage-class specifier other than at the beginning > of the declaration specifiers in a declaration is an obsolescent > feature. > > Signed-off-by: Tobias Klauser Applied. Thanks! -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100526/4a1efb31/attachment.pgp>
[Bug 24047] s3tc broken on r600
https://bugs.freedesktop.org/show_bug.cgi?id=24047 --- Comment #9 from jonathan 2010-05-26 17:02:29 PDT --- when i launch ennemy territory quake wars i have this error : failed to validate texture for unit 1. unsupported texture format in setup_hardware_state failed to validate texture for unit 4. unsupported texture format in setup_hardware_state failed to validate texture for unit 5. unsupported texture format in setup_hardware_state failed to validate texture for unit 0. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.