[Bug 25739] New: Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 Summary: Unbreak builds with incompatible libdrm_radeon Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: fabio@libero.it Created an attachment (id=32213) -- (http://bugs.freedesktop.org/attachment.cgi?id=32213) patch for master branch master branch require libdrm = 2.4.17. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25739] Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 --- Comment #1 from Fabio fabio@libero.it 2009-12-21 01:07:00 PST --- Created an attachment (id=32214) -- (http://bugs.freedesktop.org/attachment.cgi?id=32214) patch for mesa_7_7_branch branch 7.7 require = 2.4.16 = 2.4.16 due to: http://cgit.freedesktop.org/mesa/drm/commit/?id=b4312b639d56a6cad78953af0fd4f863182007e3 2.4.17 due to: http://cgit.freedesktop.org/mesa/drm/commit/?id=125994ab30d4f0f126c62fa741ec62a52d69d7a8 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25739] Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 --- Comment #2 from Fabio fabio@libero.it 2009-12-21 01:09:02 PST --- Created an attachment (id=32215) -- (http://bugs.freedesktop.org/attachment.cgi?id=32215) patch for mesa_7_6_branch branch 7.6 should build with libdrm = 2.4.16. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 19366] [Ubuntu][Openarena 0.8.0]: When enabled BLOOM option, the FPS drops to 1 and system response is very less
http://bugs.freedesktop.org/show_bug.cgi?id=19366 Fabio Pedretti fabio@libero.it changed: What|Removed |Added CC||fabio@libero.it --- Comment #11 from Fabio Pedretti fabio@libero.it 2009-12-21 02:25:58 PST --- (In reply to comment #10) Blit branch has been merged to master. Is there any chance to enable it also on non KMS? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [PATCH] drm/mm: fix logic for selection of best fit block
On Mon, Dec 21, 2009 at 01:53:37PM +1000, Dave Airlie wrote: From: Bob Gleitsmann rjgle...@bellsouth.net This is from bug 25728. [airlied: I'm just forwarding the patch for review, Thomas, ickle?] Looks good to me. Ack-by: Jerome Glisse jgli...@redhat.com --- drivers/gpu/drm/drm_mm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index d7d7eac..cdec329 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -358,7 +358,7 @@ struct drm_mm_node *drm_mm_search_free(const struct drm_mm *mm, if (entry-size = size + wasted) { if (!best_match) return entry; - if (size best_size) { + if (entry-size best_size) { best = entry; best_size = entry-size; } @@ -408,7 +408,7 @@ struct drm_mm_node *drm_mm_search_free_in_range(const struct drm_mm *mm, if (entry-size = size + wasted) { if (!best_match) return entry; - if (size best_size) { + if (entry-size best_size) { best = entry; best_size = entry-size; } -- 1.6.5.2 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] New: [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 Summary: [R600/KMS] external display flickering Product: DRI Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: kronos...@gmail.com With kernel 2.6.33-rc1 and KMS enabled, the image on the external display (VGA) is disported by a kind of ripple effect. This happens as soon fbcon kicks in, before even starting Xorg. At boot the external monitor is set to clone the internal display, but even after starting X and setting to it's native resolution it's still flickering. Not sure that's relevant: with 2.6.33-rc1 xrandr does not report any EDID for the LVDS. I'm attaching kernel and xorg logs, and the output of xrandr. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #1 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:37:12 PST --- Created an attachment (id=32218) -- (http://bugs.freedesktop.org/attachment.cgi?id=32218) Kernel log for 2.6.32 (working) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #2 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:37:37 PST --- Created an attachment (id=32219) -- (http://bugs.freedesktop.org/attachment.cgi?id=32219) Kernel log for 2.6.33-rc1 (flickering) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #3 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:38:05 PST --- Created an attachment (id=32220) -- (http://bugs.freedesktop.org/attachment.cgi?id=32220) xrandr output with 2.6.32 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #4 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:38:18 PST --- Created an attachment (id=32221) -- (http://bugs.freedesktop.org/attachment.cgi?id=32221) xrandr output with 2.6.33-rc1 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #5 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:38:50 PST --- Created an attachment (id=3) -- (http://bugs.freedesktop.org/attachment.cgi?id=3) Xorg output with 2.6.32 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #6 from Luca Tettamanti kronos...@gmail.com 2009-12-21 03:39:05 PST --- Created an attachment (id=32223) -- (http://bugs.freedesktop.org/attachment.cgi?id=32223) Xorg output with 2.6.33-rc1 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25718] gpu death at radeon_fence_wait
http://bugs.freedesktop.org/show_bug.cgi?id=25718 --- Comment #11 from Rafał Miłecki zaj...@gmail.com 2009-12-21 04:37:51 PST --- I talked with Jerome for a moment and he confirmed my suspicion. This is mostly probably general bug and using dynpm=1 just makes it happen earlier but is not real source of problem. Maybe using drm with debug=15 parameter could give us some hints, don't know... Jerome claims backtrace won't be useful unfortunately. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [PATCH] drm/mm: fix logic for selection of best fit block
Jerome Glisse wrote: On Mon, Dec 21, 2009 at 01:53:37PM +1000, Dave Airlie wrote: From: Bob Gleitsmann rjgle...@bellsouth.net This is from bug 25728. [airlied: I'm just forwarding the patch for review, Thomas, ickle?] Looks good to me. Ack-by: Jerome Glisse jgli...@redhat.com Acked-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/drm_mm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index d7d7eac..cdec329 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -358,7 +358,7 @@ struct drm_mm_node *drm_mm_search_free(const struct drm_mm *mm, if (entry-size = size + wasted) { if (!best_match) return entry; -if (size best_size) { +if (entry-size best_size) { best = entry; best_size = entry-size; } @@ -408,7 +408,7 @@ struct drm_mm_node *drm_mm_search_free_in_range(const struct drm_mm *mm, if (entry-size = size + wasted) { if (!best_match) return entry; -if (size best_size) { +if (entry-size best_size) { best = entry; best_size = entry-size; } -- 1.6.5.2 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [PATCH 2/3] drm/vmwgfx: fixup unlocked ioctl code on top of Arnd's work.
Dave Airlie wrote: From: Dave Airlie airl...@redhat.com For some reason these ioctls have no DRM flags, which just seems wrong, so I guess that needs reviewing also before staging exit. Signed-off-by: Dave Airlie airl...@redhat.com Dave, is the DRM_UNLOCKED stuff going in for 2.6.33? Otherwise, I'll provide a patch without the UNLOCKED stuff. [...] --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 69 --- 1 files changed, 16 insertions(+), 53 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 7b48bb3..8da66d8 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -103,37 +103,37 @@ */ VMW_IOCTL_DEF(DRM_IOCTL_VMW_CURSOR_BYPASS, - vmw_kms_cursor_bypass_ioctl, 0), + vmw_kms_cursor_bypass_ioctl, DRM_AUTH|DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CONTROL_STREAM, vmw_overlay_ioctl, - 0), + DRM_AUTH|DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CLAIM_STREAM, vmw_stream_claim_ioctl, - 0), + DRM_AUTH|DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_UNREF_STREAM, vmw_stream_unref_ioctl, - 0), + DRM_AUTH|DRM_UNLOCKED), The above ioctls are master only. VMW_IOCTL_DEF(DRM_IOCTL_VMW_FIFO_DEBUG, vmw_fifo_debug_ioctl, - 0), + DRM_AUTH|DRM_UNLOCKED), Above ioctl is root + auth, and will probably go away. - - if (unlikely(ioctl-cmd != cmd)) { - DRM_ERROR(Invalid command format, ioctl %d\n, - nr - DRM_COMMAND_BASE); - return -EINVAL; - } We'd like to keep this test, as it really helps catching ioctl usage errors. /Thomas -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25731] [Radeon FireGL][RV635] Too many stalls with KMS and IRQs enabled
http://bugs.freedesktop.org/show_bug.cgi?id=25731 --- Comment #2 from Alex Deucher ag...@yahoo.com 2009-12-21 06:59:08 PST --- As we discussed on IRC, I don't think this is related to the r600 irq code. Your system seems to have general IRQ issues. The reason you are seeing issue with the irq code enabled is that rendering is dependent on irqs when they are enabled so faulty irqs will cause a perceptible problem whereas before faulty irqs would not be perceptible as the gui was not dependent on them. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25290] R600: Doesn't correctly handle glFrontFace(GL_CW)
http://bugs.freedesktop.org/show_bug.cgi?id=25290 Rafael Monica monr...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from Rafael Monica monr...@gmail.com 2009-12-21 07:26:06 PST --- fixed in master -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 24844] Incorrect connector detection on IEI Kino-690S1
http://bugs.freedesktop.org/show_bug.cgi?id=24844 --- Comment #12 from Alex Deucher ag...@yahoo.com 2009-12-21 07:51:55 PST --- (In reply to comment #10) Some of the DRM patches between 2.6.32 and 2.6.33-rc1 do fix the issue, I've tried to determine the exact patch. It's probably one of those that touch EDID handling/parsing as it did work for the Iiyama monitor but not for the AOC one. It's probably the new pll code: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=b27b63750d912e80d61d2120c4a1664062d0f808 If the monitor works now, can we consider this bug closed? I'm not sure how to correct the connector type as your board has no unique identifier, but it should work even if the names are wrong. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #7 from Alex Deucher ag...@yahoo.com 2009-12-21 08:04:35 PST --- There are actually two bugs here: 1. missing edid on lvds It appears we are selecting a different i2c line in 2.6.33. I think I know where the problem is. Can you attach your video bios? (as root): cd /sys/bus/pci/devices/pci bus id echo 1 rom cat rom /tmp/vbios.rom echo 0 rom 2. flickering on VGA Does loading radeon with new_pll=1 fix this problem? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [stable] Regression in 2.6.32.2: radeon KMS hangs system
On Sun, Dec 20, 2009 at 11:23 AM, Johannes Hirte johannes.hi...@fem.tu-ilmenau.de wrote: With 2.6.32.2 the system hangs completely with black screen when modprobing radeon with modeset=1. I was able to connect via ssh, but after entering the password nothing happend. I didn't got a prompt. Only SysRq worked. I've tracked it down to the following patch: Fixed here: http://marc.info/?l=dri-develm=126137027403059w=2 2.6.32 didn't have irq support for r6xx+. Alex From 500b758725314ab1b5316eb0caa5b0fa26740e6b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 2 Dec 2009 11:46:52 -0500 Subject: drm/radeon/kms: handle vblanks properly with dpms on From: Alex Deucher alexdeuc...@gmail.com commit 500b758725314ab1b5316eb0caa5b0fa26740e6b upstream. avivo chips Copied from pre-avivo code. Signed-off-by: Alex Deucher alexdeuc...@gmail.com Signed-off-by: Dave Airlie airl...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@suse.de --- drivers/gpu/drm/radeon/atombios_crtc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -241,6 +241,7 @@ void atombios_crtc_dpms(struct drm_crtc { struct drm_device *dev = crtc-dev; struct radeon_device *rdev = dev-dev_private; + struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); switch (mode) { case DRM_MODE_DPMS_ON: @@ -248,20 +249,19 @@ void atombios_crtc_dpms(struct drm_crtc if (ASIC_IS_DCE3(rdev)) atombios_enable_crtc_memreq(crtc, 1); atombios_blank_crtc(crtc, 0); + drm_vblank_post_modeset(dev, radeon_crtc-crtc_id); + radeon_crtc_load_lut(crtc); break; case DRM_MODE_DPMS_STANDBY: case DRM_MODE_DPMS_SUSPEND: case DRM_MODE_DPMS_OFF: + drm_vblank_pre_modeset(dev, radeon_crtc-crtc_id); atombios_blank_crtc(crtc, 1); if (ASIC_IS_DCE3(rdev)) atombios_enable_crtc_memreq(crtc, 0); atombios_enable_crtc(crtc, 0); break; } - - if (mode != DRM_MODE_DPMS_OFF) { - radeon_crtc_load_lut(crtc); - } } static void After reverting this patch, modesetting works again. It's a Radeon HD3650 AGP (RV635) on a Tyan Tiger K8W S2875ANRF (AMD 8151 AGP tunnel). Display is an Acer X223W connected on DVI. regards, Johannes -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [BISECTED] drm: random hang since 620f378 drm: prune modes when ...
On Thursday 17 December 2009 19:13:59 Jesse Barnes wrote: Another patch to try... The machine has been working fine for almost two days with this. - - if (IS_G4X(dev)) { - u16 gcfgc; - - /* Adjust render clock... */ - pci_read_config_word(dev-pdev, GCFGC, gcfgc); - - /* Down to minimum... */ - gcfgc = ~GM45_GC_RENDER_CLOCK_MASK; - gcfgc |= GM45_GC_RENDER_CLOCK_266_MHZ; - - pci_write_config_word(dev-pdev, GCFGC, gcfgc); Interestingly, I could not even find GCFGC in the public documentation, but it also doesn't seem to be what it was in older chips. The value in there is 0x0025, which does not make any sense whatsoever according to the definitions in the header file. Writing GM45_GC_RENDER_CLOCK_266_MHZ in there manually does not seem to have an effect either, the machine does not crash and the value still remains at 0x0025. I tried while true ; do sudo setpci -s 00:02.1 f0.W=0028 ; done. I'll try the patch below next, not touching the register at all. -/* Note that no increase function is needed for this - increase_renderclock() - * will also rewrite these bits - */ -void intel_decrease_displayclock(struct drm_device *dev) -{ - if (IS_IRONLAKE(dev)) - return; - - if (IS_I945G(dev) || IS_I945GM(dev) || IS_I915G(dev) || - IS_I915GM(dev)) { - u16 gcfgc; - - /* Adjust render clock... */ - pci_read_config_word(dev-pdev, GCFGC, gcfgc); - - /* Down to minimum... */ - gcfgc = ~0xf0; - gcfgc |= 0x80; - - pci_write_config_word(dev-pdev, GCFGC, gcfgc); - } -} This does not do anything on G4X, right? I actually put this function back in (still doesn't crash), but then I noticed that the registers are not accessed at all on my machine in this function. Arnd --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3792,7 +3792,7 @@ void intel_increase_renderclock(struct drm_device *dev, bool schedule) } /* Restore render clock frequency to original value */ - if (IS_G4X(dev) || IS_I9XX(dev)) + if (IS_I9XX(dev)) pci_write_config_word(dev-pdev, GCFGC, dev_priv-orig_clock); else if (IS_I85X(dev)) pci_write_config_word(dev-pdev, HPLLCC, dev_priv-orig_clock); @@ -3816,18 +3816,7 @@ void intel_decrease_renderclock(struct drm_device *dev) return; } - if (IS_G4X(dev)) { - u16 gcfgc; - - /* Adjust render clock... */ - pci_read_config_word(dev-pdev, GCFGC, gcfgc); - - /* Down to minimum... */ - gcfgc = ~GM45_GC_RENDER_CLOCK_MASK; - gcfgc |= GM45_GC_RENDER_CLOCK_266_MHZ; - - pci_write_config_word(dev-pdev, GCFGC, gcfgc); - } else if (IS_I965G(dev)) { + if (IS_I965G(dev)) { u16 gcfgc; /* Adjust render clock... */ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25745] New: error: radeon_bo_int.h: No such file or directory
http://bugs.freedesktop.org/show_bug.cgi?id=25745 Summary: error: radeon_bo_int.h: No such file or directory Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: udo...@xs4all.nl Compile of git fails. Folowed this howto: http://turqee.tumblr.com/post/230394871/dri2-for-radeon-r600-700-chipsets-on-ubuntu-9-10 mturque...@quantum:~/src/mesa$ ./autogen.sh mturque...@quantum:~/src/mesa$ ./configure --prefix=/opt/xorg --with-dri-drivers=radeon,r600 --disable-gallium mturque...@quantum:~/src/mesa$ make -j16 mturque...@quantum:~/src/mesa$ sudo make install gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm-g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm -DRADEON_R100 -Wall radeon_sanity.c -o radeon_sanity.o gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm-g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm -DRADEON_R100 -Wall radeon_bo_legacy.c -o radeon_bo_legacy.o radeon_bo_legacy.c:54:27: error: radeon_bo_int.h: No such file or directory radeon_bo_legacy.c:66: error: field ‘base’ has incomplete type radeon_bo_legacy.c: In function ‘legacy_is_pending’: radeon_bo_legacy.c:198: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:213: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘legacy_wait_pending’: radeon_bo_legacy.c:229: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_dma_alloc’: radeon_bo_legacy.c:334: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:347: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:358: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_dma_free’: radeon_bo_legacy.c:366: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_unref’: radeon_bo_legacy.c:490: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_map’: radeon_bo_legacy.c:505: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:512: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:528: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_unmap’: radeon_bo_legacy.c:546: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘bo_is_busy’: radeon_bo_legacy.c:554: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: At top level: radeon_bo_legacy.c:572: warning: initialization from incompatible pointer type radeon_bo_legacy.c:573: warning: initialization from incompatible pointer type radeon_bo_legacy.c:574: warning: initialization from incompatible pointer type radeon_bo_legacy.c:575: warning: initialization from incompatible pointer type radeon_bo_legacy.c:577: warning: initialization from incompatible pointer type radeon_bo_legacy.c:581: warning: initialization from incompatible pointer type radeon_bo_legacy.c: In function ‘bo_vram_validate’: radeon_bo_legacy.c:587: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:596: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:636: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:642: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:644: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:668: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:669: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:673: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:681: error: dereferencing pointer to incomplete type radeon_bo_legacy.c: In function ‘radeon_bo_legacy_validate’: radeon_bo_legacy.c:710: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:717: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:720: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:726: error: dereferencing pointer to incomplete type radeon_bo_legacy.c:730: error: dereferencing pointer to
[Bug 25745] error: radeon_bo_int.h: No such file or directory
http://bugs.freedesktop.org/show_bug.cgi?id=25745 Marcin Kościelnicki koria...@0x04.net changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Marcin Kościelnicki koria...@0x04.net 2009-12-21 09:46:02 PST --- In libdrm git. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25745] error: radeon_bo_int.h: No such file or directory
http://bugs.freedesktop.org/show_bug.cgi?id=25745 --- Comment #2 from Martin PERES martin.pe...@ensi-bourges.fr 2009-12-21 09:47:53 PST --- The API has been updated. Please recompile the master branch of libdrm. You'll then need to recompile mesa and your ddx. I think this entry should be set as NOTABUG. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25745] error: radeon_bo_int.h: No such file or directory
http://bugs.freedesktop.org/show_bug.cgi?id=25745 udo udo...@xs4all.nl changed: What|Removed |Added Resolution|INVALID |FIXED -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25745] error: radeon_bo_int.h: No such file or directory
http://bugs.freedesktop.org/show_bug.cgi?id=25745 udo udo...@xs4all.nl changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3 from udo udo...@xs4all.nl 2009-12-21 09:57:50 PST --- After consulting #radeonhd I did `yum --enablerepo=rawhide update libdrm` which have me libdrm 2.4.17 and devel of 2.4.17. Then mesa git built again. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25746] New: r300g: Software fallback doesn't work running GL apps
http://bugs.freedesktop.org/show_bug.cgi?id=25746 Summary: r300g: Software fallback doesn't work running GL apps Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: lordhea...@gmail.com Created an attachment (id=32224) -- (http://bugs.freedesktop.org/attachment.cgi?id=32224) glxinfo output with gallium When i try to run glxgears with gallium r300 driver and a rs880 chipset: libGL: OpenDriver: trying /home/lordh/tstdri/tls/r600_dri.so libGL: OpenDriver: trying /home/lordh/tstdri/r600_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/lordh/.drirc: No such file or directory. Mesa: Mesa 7.8-devel DEBUG build Dec 21 2009 09:22:08 Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa: Initializing x86-64 optimizations Mesa: 3Dnow! detected *WARN_ONCE* File radeon_tcl.c function radeon_run_tcl_render line 499 Rendering was 96 commands larger than predicted size. We might overflow command buffer. *** drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info. --dmesg-- Forbidden register 0x1C14 in cs at 1 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! - --lspci-- 01:05.0 VGA compatible controller: ATI Technologies Inc Device 9710 (prog-if 00 [VGA controller]) - All is from git (libdrm, xf86-video-ati, mesa) and up to date, with KMS running. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25739] Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 --- Comment #3 from Dan Nicholson dbn.li...@gmail.com 2009-12-21 11:55:09 PST --- Can you use the LIBDRM_RADEON_REQUIRED in the 7.7 and 7.6 patches like you did for master? Hmm, why does libdrm_radeon have a separate version number in the .pc file, and why isn't it being changed when the API changes? That would straighten this all out and be a real LIBDRM_RADEON_REQUIRED. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25739] Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 --- Comment #4 from Alex Deucher ag...@yahoo.com 2009-12-21 12:17:56 PST --- libdrm_radeon is still experimental and hasn't been released yet. It will be released when radeon KMS comes out of staging. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25739] Unbreak builds with incompatible libdrm_radeon
http://bugs.freedesktop.org/show_bug.cgi?id=25739 --- Comment #5 from Dan Nicholson dbn.li...@gmail.com 2009-12-21 12:39:33 PST --- Right, I forgot that you only get to install it with --enable-radeon-experimental-api. In that case, I'm not really worried about the breakage. But it would be nice to keep libdrm_radeon.pc updated once you guys put it out in the wild. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 24844] Incorrect connector detection on IEI Kino-690S1
http://bugs.freedesktop.org/show_bug.cgi?id=24844 --- Comment #13 from Bruno bonbon...@internet.lu 2009-12-21 13:16:04 PST --- (In reply to comment #12) If the monitor works now, can we consider this bug closed? I would say yes. I'm not sure how to correct the connector type as your board has no unique identifier, but it should work even if the names are wrong. The interesting question in this regard, is IF the newer version of the BIOS that failed resume by rebooting (and some more oddities triggered by suspend/resume-attempt - it might have been fixed on kernel side sine then as well) does also have the wrong connector types. At least that version does have proper unique identifiers. Unfortunately I currently don't have enough unfragmented time available to test that out. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 24844] Incorrect connector detection on IEI Kino-690S1
http://bugs.freedesktop.org/show_bug.cgi?id=24844 Alex Deucher ag...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25747] New: radeon drm oops with benchmark=1
http://bugs.freedesktop.org/show_bug.cgi?id=25747 Summary: radeon drm oops with benchmark=1 Product: DRI Version: XOrg CVS Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: rand...@mail.ru Using Linus' master tree up to commit dd59f6c76b265ed2ff18b497d6105a9511b1feb1 Merge: 70e66a5... acadbfb... Author: Linus Torvalds torva...@linux-foundation.org Date: Sat Dec 19 12:38:55 2009 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha-2.6 i still have stack trace after attempt to load radeon module with benchmark=1 parameter. tried with default (none) extra options, and also with agpmode=1 (1x mode). Same result. Dec 21 23:12:07 (none) kernel: BUG: unable to handle kernel NULL pointer dereference at (null) Dec 21 23:12:07 (none) kernel: IP: [(null)] (null) Dec 21 23:12:07 (none) kernel: *pde = Dec 21 23:12:07 (none) kernel: Oops: [#1] SMP Dec 21 23:12:07 (none) kernel: last sysfs file: /sys/class/firmware/radeon_cp.0/loading Dec 21 23:12:07 (none) kernel: Modules linked in: radeon(+) ttm drm_kms_helper drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss nfsd lockd nfs_acl auth_rpcgss sunrpc ipv6 uhci_hcd tuner_simple tuner_types snd_cs4236 tda9887 snd_mpu401 snd_wavefront snd_via82xx tda8290 snd_wss_lib snd_ac97_codec ac97_bus snd_pcm snd_opl3_lib ppdev snd_timer snd_hwdep snd_page_alloc ehci_hcd snd_mpu401_uart saa7134 snd_rawmidi rtc_cmos snd_seq_device parport_pc rtc_core rtc_lib ns558 ir_common shpchp floppy gameport snd parport videobuf_dma_sg pci_hotplug processor thermal soundcore button usbcore 8139too videobuf_core ir_core tveeprom mii via_agp mousedev evdev ufs xfs exportfs agpgart psmouse tuner v4l2_common videodev v4l1_compat w83627hf hwmon_vid hwmon i2c_viapro i2c_dev i2c_core fbcon tileblit font bitblit softcursor fb via82cxxx ide_gd_mod ide_core Dec 21 23:12:07 (none) kernel: Dec 21 23:12:07 (none) kernel: EIP: 0060:[] EFLAGS: 00010246 CPU: 0 Dec 21 23:12:07 (none) kernel: EIP is at 0x0 Dec 21 23:12:07 (none) kernel: EAX: cd6d1000 EBX: d11fee38 ECX: EDX: e0201000 Dec 21 23:12:07 (none) kernel: ESI: EDI: cd6d1000 EBP: cd6a2e20 ESP: cd6a2dd0 Dec 21 23:12:07 (none) kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Dec 21 23:12:07 (none) kernel: Process modprobe (pid: 3708, ti=cd6a2000 task=cd4bda20 task.ti=cd6a2000) Dec 21 23:12:07 (none) kernel: Stack: Dec 21 23:12:07 (none) kernel: d11cb325 0004 0100 cbb90100 0002 0010 0100 Dec 21 23:12:07 (none) kernel: 0 132c 0004 e0201000 cbb90100 cd5b6e00 Dec 21 23:12:07 (none) kernel: 0 cd5b6b00 cd6d1000 0001 cd6d1000 cd6a2e30 d11cb4f5 0004 Dec 21 23:12:07 (none) kernel: Call Trace: Dec 21 23:12:07 (none) kernel: [d11cb325] ? radeon_benchmark_move+0x11e/0x2d2 [radeon] Dec 21 23:12:07 (none) kernel: [d11cb4f5] ? radeon_benchmark+0x1c/0x37 [radeon] Dec 21 23:12:07 (none) kernel: [d11b2778] ? radeon_device_init+0x27d/0x292 [radeon] Dec 21 23:12:07 (none) kernel: [d11b30d7] ? radeon_driver_load_kms+0xe0/0x141 [radeon] Dec 21 23:12:07 (none) kernel: [d10b08fc] ? drm_get_dev+0x2f6/0x3c2 [drm] Dec 21 23:12:07 (none) kernel: [d11e8686] ? radeon_pci_probe+0x12/0xd4 [radeon] Dec 21 23:12:07 (none) kernel: [c114ecde] ? local_pci_probe+0x13/0x15 Dec 21 23:12:07 (none) kernel: [c114f74a] ? pci_device_probe+0x48/0x6b Dec 21 23:12:07 (none) kernel: [c11a0662] ? driver_probe_device+0x7e/0x10a Dec 21 23:12:07 (none) kernel: [c11a0736] ? __driver_attach+0x48/0x64 Dec 21 23:12:07 (none) kernel: [c11a0037] ? bus_for_each_dev+0x42/0x6c Dec 21 23:12:07 (none) kernel: [c11a052c] ? driver_attach+0x19/0x1b Dec 21 23:12:07 (none) kernel: [c11a06ee] ? __driver_attach+0x0/0x64 Dec 21 23:12:07 (none) kernel: [c119fa3f] ? bus_add_driver+0xa7/0x1d4 Dec 21 23:12:07 (none) kernel: [c11a09a3] ? driver_register+0x90/0xf0 Dec 21 23:12:07 (none) kernel: [c114f923] ? __pci_register_driver+0x3d/0x96 Dec 21 23:12:07 (none) kernel: [d10ac789] ? drm_init+0x60/0xb8 [drm] Dec 21 23:12:07 (none) kernel: [d1213000] ? radeon_init+0x0/0xae [radeon] Dec 21 23:12:07 (none) kernel: [d12130ac] ? radeon_init+0xac/0xae [radeon] Dec 21 23:12:07 (none) kernel: [c1001143] ? do_one_initcall+0x51/0x13b Dec 21 23:12:07 (none) kernel: [c105be66] ? sys_init_module+0xac/0x1e0 Dec 21 23:12:07 (none) kernel: [c1240175] ? syscall_call+0x7/0xb Dec 21 23:12:07 (none) kernel: Code: Bad EIP value. Dec 21 23:12:07 (none) kernel: EIP: [] 0x0 SS:ESP 0068:cd6a2dd0 Dec 21 23:12:07 (none) kernel: CR2: Dec 21 23:12:07 (none) kernel: ---[ end trace c60f58aed34248be ]--- -- Configure bugmail:
[Bug 25747] radeon drm oops with benchmark=1
http://bugs.freedesktop.org/show_bug.cgi?id=25747 --- Comment #1 from Andrew Randrianasulu rand...@mail.ru 2009-12-21 13:41:32 PST --- additional info from /var/log/messages start-- Dec 21 23:11:36 (none) kernel: warning: `squid' uses 32-bit capabilities (legacy support in use) Dec 21 23:12:06 (none) kernel: [drm] Initialized drm 1.1.0 20060810 Dec 21 23:12:06 (none) kernel: [drm] radeon defaulting to kernel modesetting. Dec 21 23:12:06 (none) kernel: [drm] radeon kernel modesetting enabled. Dec 21 23:12:06 (none) kernel: radeon :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16 Dec 21 23:12:06 (none) kernel: [drm] radeon: Initializing kernel modesetting. Dec 21 23:12:06 (none) kernel: [drm] register mmio base: 0xDFEF Dec 21 23:12:06 (none) kernel: [drm] register mmio size: 65536 Dec 21 23:12:06 (none) kernel: [drm] GPU reset succeed (RBBM_STATUS=0x0140) Dec 21 23:12:06 (none) kernel: [drm] Generation 2 PCI interface, using max accessible memory Dec 21 23:12:06 (none) kernel: [drm] AGP mode requested: 1 Dec 21 23:12:06 (none) kernel: agpgart-via :00:00.0: AGP 2.0 bridge Dec 21 23:12:06 (none) kernel: agpgart-via :00:00.0: putting AGP V2 device into 1x mode Dec 21 23:12:06 (none) kernel: radeon :01:00.0: putting AGP V2 device into 1x mode Dec 21 23:12:06 (none) kernel: [drm] radeon: VRAM 128M Dec 21 23:12:06 (none) kernel: [drm] radeon: VRAM from 0x to 0x07FF Dec 21 23:12:06 (none) kernel: [drm] radeon: GTT 32M Dec 21 23:12:06 (none) kernel: [drm] radeon: GTT from 0xE000 to 0xE1FF Dec 21 23:12:06 (none) kernel: [drm] radeon: irq initialized. Dec 21 23:12:06 (none) kernel: [drm] Detected VRAM RAM=128M, BAR=128M Dec 21 23:12:06 (none) kernel: [drm] RAM width 64bits DDR Dec 21 23:12:06 (none) kernel: [TTM] Zone kernel: Available graphics memory: 126774 kiB. Dec 21 23:12:06 (none) kernel: [drm] radeon: 64M of VRAM memory ready Dec 21 23:12:06 (none) kernel: [drm] radeon: 32M of GTT memory ready. Dec 21 23:12:06 (none) kernel: [drm] radeon: cp idle (0x02000603) Dec 21 23:12:06 (none) kernel: [drm] Loading R200 Microcode Dec 21 23:12:06 (none) kernel: platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin Dec 21 23:12:07 (none) kernel: [drm] radeon: ring at 0xE000 Dec 21 23:12:07 (none) kernel: [drm] ring test succeeded in 0 usecs Dec 21 23:12:07 (none) kernel: [drm] radeon: ib pool ready. Dec 21 23:12:07 (none) kernel: [drm] ib test succeeded in 0 usecs Dec 21 23:12:07 (none) kernel: Pid: 3708, comm: modprobe Not tainted 2.6.33-rc1-i486 #54 MS-6380E/MS-6380E Dec 21 23:13:20 (none) exiting on signal 15 -stop-- -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25747] radeon drm oops with benchmark=1
http://bugs.freedesktop.org/show_bug.cgi?id=25747 --- Comment #2 from Andrew Randrianasulu rand...@mail.ru 2009-12-21 13:43:03 PST --- Created an attachment (id=32229) -- (http://bugs.freedesktop.org/attachment.cgi?id=32229) kernel .config -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Oops:] radeon KMS in 2.6.33-rc1-00154-gf7b84a6
Hi, On Mon, Dec 21, 2009 at 10:38:53PM +0100, ext Johannes Hirte wrote: When loading the radeon module with modeset=1, the kernel oopses: [snip] Dec 21 21:58:14 datengrab firmware.sh[2542]: Cannot find firmware file 'radeon/R600_rlc.bin' does it have something to do with the missing firmware file ?? -- balbi -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [BISECTED] drm: random hang since 620f378 drm: prune modes when ...
On Monday 21 December 2009 16:06:43 Arnd Bergmann wrote: - if (IS_G4X(dev)) { - u16 gcfgc; - - /* Adjust render clock... */ - pci_read_config_word(dev-pdev, GCFGC, gcfgc); - - /* Down to minimum... */ - gcfgc = ~GM45_GC_RENDER_CLOCK_MASK; - gcfgc |= GM45_GC_RENDER_CLOCK_266_MHZ; - - pci_write_config_word(dev-pdev, GCFGC, gcfgc); - } else if (IS_I965G(dev)) { + if (IS_I965G(dev)) { u16 gcfgc; This crashed again immediately, apparently because IS_I965G is a superset of IS_G4X (that seems counterintuitive), but not it seems to run using this modified version of the patch (half an hour so far). Arnd --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3783,7 +3783,7 @@ void intel_increase_renderclock(struct drm_device *dev, bool schedule) { drm_i915_private_t *dev_priv = dev-dev_private; - if (IS_IRONLAKE(dev)) + if (IS_IRONLAKE(dev) || IS_G4X(dev)) return; if (!dev_priv-render_reclock_avail) { @@ -3792,7 +3792,7 @@ void intel_increase_renderclock(struct drm_device *dev, bool schedule) } /* Restore render clock frequency to original value */ - if (IS_G4X(dev) || IS_I9XX(dev)) + if (IS_I9XX(dev)) pci_write_config_word(dev-pdev, GCFGC, dev_priv-orig_clock); else if (IS_I85X(dev)) pci_write_config_word(dev-pdev, HPLLCC, dev_priv-orig_clock); @@ -3808,7 +3808,7 @@ void intel_decrease_renderclock(struct drm_device *dev) { drm_i915_private_t *dev_priv = dev-dev_private; - if (IS_IRONLAKE(dev)) + if (IS_IRONLAKE(dev) || IS_G4X(dev)) return; if (!dev_priv-render_reclock_avail) { @@ -3816,16 +3816,7 @@ void intel_decrease_renderclock(struct drm_device *dev) return; } - if (IS_G4X(dev)) { - u16 gcfgc; - - /* Adjust render clock... */ - pci_read_config_word(dev-pdev, GCFGC, gcfgc); - - /* Down to minimum... */ - gcfgc = ~GM45_GC_RENDER_CLOCK_MASK; - gcfgc |= GM45_GC_RENDER_CLOCK_266_MHZ; - } else if (IS_I965G(dev)) { + if (IS_I965G(dev)) { u16 gcfgc; /* Adjust render clock... */ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Oops:] radeon KMS in 2.6.33-rc1-00154-gf7b84a6
When loading the radeon module with modeset=1, the kernel oopses: Dec 21 21:58:14 datengrab kernel: [drm] Loading RV635 Microcode Dec 21 21:58:14 datengrab kernel: platform radeon_cp.0: firmware: requesting radeon/RV635_pfp.bin Dec 21 21:58:14 datengrab kernel: platform radeon_cp.0: firmware: requesting radeon/RV635_me.bin Dec 21 21:58:14 datengrab kernel: platform radeon_cp.0: firmware: requesting radeon/R600_rlc.bin Dec 21 21:58:14 datengrab kernel: r600_cp: Failed to load firmware radeon/R600_rlc.bin Dec 21 21:58:14 datengrab kernel: [drm:r600_startup] *ERROR* Failed to load firmware! Dec 21 21:58:14 datengrab kernel: radeon :01:00.0: 880119451e00 unpin not necessary Dec 21 21:58:14 datengrab kernel: BUG: unable to handle kernel NULL pointer dereference at 0048 Dec 21 21:58:14 datengrab kernel: IP: [a01c9d94] ttm_bo_reserve+0x18/0xe7 [ttm] Dec 21 21:58:14 datengrab kernel: PGD 0 Dec 21 21:58:14 datengrab kernel: Oops: [#1] SMP Dec 21 21:58:14 datengrab kernel: last sysfs file: /sys/devices/platform/radeon_cp.0/firmware/radeon_cp.0/loading Dec 21 21:58:14 datengrab kernel: CPU 0 Dec 21 21:58:14 datengrab kernel: Pid: 2524, comm: work_for_cpu Not tainted 2.6.33-rc1 #1 TYAN Tiger K8W Dual AMD Opteron, S2875/To Be Filled By O.E.M. Dec 21 21:58:14 datengrab kernel: RIP: 0010:[a01c9d94] [a01c9d94] ttm_bo_reserve+0x18/0xe7 [ttm] Dec 21 21:58:14 datengrab kernel: RSP: 0018:880119731db0 EFLAGS: 00010282 Dec 21 21:58:14 datengrab kernel: RAX: 880119451e80 RBX: 0048 RCX: Dec 21 21:58:14 datengrab kernel: RDX: RSI: 0001 RDI: 0048 Dec 21 21:58:14 datengrab kernel: RBP: R08: R09: 817361c0 Dec 21 21:58:14 datengrab kernel: R10: 8801196f4bd8 R11: a023dda6 R12: 88011fb74001 Dec 21 21:58:14 datengrab kernel: R13: R14: a0247700 R15: 8801196f4bd8 Dec 21 21:58:14 datengrab kernel: FS: 7f4aa0f83700() GS:88002820() knlGS: Dec 21 21:58:14 datengrab kernel: CS: 0010 DS: ES: CR0: 8005003b Dec 21 21:58:14 datengrab kernel: CR2: 0048 CR3: 0161c000 CR4: 06f0 Dec 21 21:58:14 datengrab kernel: DR0: DR1: DR2: Dec 21 21:58:14 datengrab kernel: DR3: DR6: 0ff0 DR7: 0400 Dec 21 21:58:14 datengrab kernel: Process work_for_cpu (pid: 2524, threadinfo 88011973, task 88011b2bf6c0) Dec 21 21:58:14 datengrab kernel: Stack: Dec 21 21:58:14 datengrab kernel: 880119473000 880119601180 880119473000 Dec 21 21:58:14 datengrab kernel: 0 88011fb74000 0020 a02477e0 a021da29 Dec 21 21:58:14 datengrab kernel: 0 880119473000 8801196f4800 88011fb74000 a0220ac9 Dec 21 21:58:14 datengrab kernel: Call Trace: Dec 21 21:58:14 datengrab kernel: [a021da29] ? r600_suspend+0x49/0xa7 [radeon] Dec 21 21:58:14 datengrab kernel: [a0220ac9] ? r600_init+0x1e3/0x27d [radeon] Dec 21 21:58:14 datengrab kernel: [a01f0501] ? radeon_device_init+0x24e/0x2cd [radeon] Dec 21 21:58:14 datengrab kernel: [a01f0e66] ? radeon_driver_load_kms+0xb2/0x12c [radeon] Dec 21 21:58:14 datengrab kernel: [a0193321] ? drm_get_dev+0x341/0x450 [drm] Dec 21 21:58:14 datengrab kernel: [8103f872] ? do_work_for_cpu+0x0/0x1b Dec 21 21:58:14 datengrab kernel: [811ba915] ? local_pci_probe+0x12/0x16 Dec 21 21:58:14 datengrab kernel: [8103f87d] ? do_work_for_cpu+0xb/0x1b Dec 21 21:58:14 datengrab kernel: [81042665] ? kthread+0x75/0x7d Dec 21 21:58:14 datengrab kernel: [81002b94] ? kernel_thread_helper+0x4/0x10 Dec 21 21:58:14 datengrab kernel: [810425f0] ? kthread+0x0/0x7d Dec 21 21:58:14 datengrab kernel: [81002b90] ? kernel_thread_helper+0x0/0x10 Dec 21 21:58:14 datengrab kernel: Code: 00 00 31 c0 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 56 41 88 ce 41 55 41 88 d5 41 54 41 88 f4 55 53 48 89 fb 48 83 ec 10 48 8b 2f 44 89 44 24 08 48 8d bd 88 00 00 00 e8 39 09 18 e1 44 Dec 21 21:58:14 datengrab kernel: RIP [a01c9d94] ttm_bo_reserve+0x18/0xe7 [ttm] Dec 21 21:58:14 datengrab kernel: RSP 880119731db0 Dec 21 21:58:14 datengrab kernel: CR2: 0048 Dec 21 21:58:14 datengrab kernel: ---[ end trace b76801f20af7b25e ]--- Dec 21 21:58:14 datengrab firmware.sh[2542]: Cannot find firmware file 'radeon/R600_rlc.bin' regards, Johannes -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of
Re: [Oops:] radeon KMS in 2.6.33-rc1-00154-gf7b84a6
Am Montag 21 Dezember 2009 22:42:36 schrieb Felipe Balbi: Hi, On Mon, Dec 21, 2009 at 10:38:53PM +0100, ext Johannes Hirte wrote: When loading the radeon module with modeset=1, the kernel oopses: [snip] Dec 21 21:58:14 datengrab firmware.sh[2542]: Cannot find firmware file 'radeon/R600_rlc.bin' does it have something to do with the missing firmware file ?? Yes, I've tested with the firmware binary from http://people.freedesktop.org/~agd5f/radeon_ucode/ now and it works. It seems a fallback path is missing if no firmware is found. regards, Johannes -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #8 from Luca Tettamanti kronos...@gmail.com 2009-12-21 13:51:11 PST --- Created an attachment (id=32230) -- (http://bugs.freedesktop.org/attachment.cgi?id=32230) M76 video BIOS -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25741] [R600/KMS] external display flickering
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #9 from Luca Tettamanti kronos...@gmail.com 2009-12-21 13:55:38 PST --- (In reply to comment #7) There are actually two bugs here: 1. missing edid on lvds It appears we are selecting a different i2c line in 2.6.33. I think I know where the problem is. Can you attach your video bios? (as root): Attached. 2. flickering on VGA Does loading radeon with new_pll=1 fix this problem? It's enabled by default. Will try with 0. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 24159] [KMS] radeon module oops with stex3d and rv280
http://bugs.freedesktop.org/show_bug.cgi?id=24159 --- Comment #1 from Andrew Randrianasulu rand...@mail.ru 2009-12-21 13:58:28 PST --- bug still here with upstream kernel (2.6.33-rc1, up to commit dd59f6c76b265ed2ff18b497d6105a9511b1feb1) and mesa git master (up to ad7f9d71e22fb7667c90dbbc0558939b89a45154) from syslog- Dec 21 22:55:12 (none) kernel: BUG: unable to handle kernel NULL pointer dereference at 0040 Dec 21 22:55:12 (none) kernel: IP: [d11dd08a] r100_cs_track_check+0x4a9/0x56a [radeon] Dec 21 22:55:12 (none) kernel: *pde = Dec 21 22:55:12 (none) kernel: Oops: [#1] SMP Dec 21 22:55:12 (none) kernel: last sysfs file: /sys/devices/platform/w83627hf.656/in8_input Dec 21 22:55:12 (none) kernel: Modules linked in: radeon ttm drm_kms_helper drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss nfsd lockd nfs_acl auth_rpcgss sunrpc ipv6 uhci_hcd tuner_simple tuner_types tda9887 snd_cs4236 snd_mpu401 tda8290 snd_wavefront snd_via82xx snd_ac97_codec snd_wss_lib ac97_bus snd_pcm snd_opl3_lib ppdev snd_timer snd_hwdep snd_page_alloc ehci_hcd snd_mpu401_uart saa7134 snd_rawmidi snd_seq_device rtc_cmos parport_pc rtc_core shpchp rtc_lib ir_common ns558 videobuf_dma_sg snd parport pci_hotplug floppy processor gameport usbcore 8139too mii soundcore videobuf_core button ir_core tveeprom thermal via_agp mousedev evdev ufs xfs exportfs agpgart psmouse tuner v4l2_common videodev v4l1_compat w83627hf hwmon_vid hwmon i2c_viapro i2c_dev i2c_core fbcon tileblit font bitblit softcursor fb via82cxxx ide_gd_mod ide_core Dec 21 22:55:12 (none) kernel: Dec 21 22:55:12 (none) kernel: EIP: 0060:[d11dd08a] EFLAGS: 00010202 CPU: 0 Dec 21 22:55:12 (none) kernel: EIP is at r100_cs_track_check+0x4a9/0x56a [radeon] Dec 21 22:55:12 (none) kernel: EAX: EBX: ECX: c71080d0 EDX: 0004 Dec 21 22:55:12 (none) kernel: ESI: 4000 EDI: 0004 EBP: c71b7da8 ESP: c71b7d60 Dec 21 22:55:12 (none) kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Dec 21 22:55:12 (none) kernel: Process stex3d (pid: 3826, ti=c71b7000 task=c7120ce0 task.ti=c71b7000) Dec 21 22:55:12 (none) kernel: Stack: Dec 21 22:55:12 (none) kernel: 0040 c7054d50 2d00 c71b7de4 c7108000 c8ea9000 c7105600 Dec 21 22:55:12 (none) kernel: 0 0006 c7108000 0066 0004 0024 1000 Dec 21 22:55:12 (none) kernel: 0 c71b7e28 c7108000 c71b7e10 d11ded69 0003 1000 0004 Dec 21 22:55:12 (none) kernel: Call Trace: Dec 21 22:55:12 (none) kernel: [d11ded69] ? r100_cs_parse+0x41a/0x46a [radeon] Dec 21 22:55:12 (none) kernel: [d11da709] ? radeon_cs_ioctl+0xe3/0x162 [radeon] Dec 21 22:55:12 (none) kernel: [d10bc63f] ? drm_ioctl+0x20b/0x28b [drm] Dec 21 22:55:12 (none) kernel: [d11da626] ? radeon_cs_ioctl+0x0/0x162 [radeon] Dec 21 22:55:12 (none) kernel: [c10918dd] ? filemap_fault+0x6e/0x2e5 Dec 21 22:55:12 (none) kernel: [c10b8ba1] ? mem_cgroup_update_file_mapped+0x12/0x5c Dec 21 22:55:12 (none) kernel: [c109140b] ? unlock_page+0x43/0x46 Dec 21 22:55:12 (none) kernel: [c10a3565] ? __do_fault+0x33c/0x36c Dec 21 22:55:12 (none) kernel: [c10c59f3] ? vfs_ioctl+0x62/0x8a Dec 21 22:55:12 (none) kernel: [c10c5f34] ? do_vfs_ioctl+0x470/0x4aa Dec 21 22:55:12 (none) kernel: [c10a9558] ? do_mmap_pgoff+0x22a/0x27a Dec 21 22:55:12 (none) kernel: [c101c9cc] ? do_page_fault+0x26c/0x2aa Dec 21 22:55:12 (none) kernel: [c10c5f9f] ? sys_ioctl+0x31/0x4a Dec 21 22:55:12 (none) kernel: [c1240175] ? syscall_call+0x7/0xb Dec 21 22:55:12 (none) kernel: Code: c8 80 b8 cd 08 00 00 00 74 62 8b 45 d0 31 db 8b 55 c8 c1 e0 07 8d 8c 02 d0 00 00 00 8b 01 89 fa 0f af 51 08 0f af 51 0c 03 51 04 8b 40 40 c1 e0 0c 39 c2 76 2c 50 52 68 98 bb 1f d1 68 0b 5e 20 Dec 21 22:55:12 (none) kernel: EIP: [d11dd08a] r100_cs_track_check+0x4a9/0x56a [radeon] SS:ESP 0068:c71b7d60 Dec 21 22:55:12 (none) kernel: CR2: 0040 Dec 21 22:55:12 (none) kernel: ---[ end trace 2cbdd1b091cfad6d ]--- -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Oops:] radeon KMS in 2.6.33-rc1-00154-gf7b84a6
On Mon, Dec 21, 2009 at 4:47 PM, Johannes Hirte johannes.hi...@fem.tu-ilmenau.de wrote: Am Montag 21 Dezember 2009 22:42:36 schrieb Felipe Balbi: Hi, On Mon, Dec 21, 2009 at 10:38:53PM +0100, ext Johannes Hirte wrote: When loading the radeon module with modeset=1, the kernel oopses: [snip] Dec 21 21:58:14 datengrab firmware.sh[2542]: Cannot find firmware file 'radeon/R600_rlc.bin' does it have something to do with the missing firmware file ?? Yes, I've tested with the firmware binary from http://people.freedesktop.org/~agd5f/radeon_ucode/ now and it works. It seems a fallback path is missing if no firmware is found. It should fallback properly if no ucode is found in airlied's drm tree at least. Alex -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [patch for 2.6.32? 1/3] drivers/gpu/drm/i915/i915_dma.c: fix unused var
This bugfix appears to have been ignored, so it missed 2.6.32. I've tagged my 2.6.33 copy as needing a 2.6.32.x backport. On Tue, 17 Nov 2009 14:08:52 -0800 a...@linux-foundation.org wrote: From: Andrew Morton a...@linux-foundation.org drivers/gpu/drm/i915/i915_dma.c: In function 'i915_driver_load': drivers/gpu/drm/i915/i915_dma.c:1114: warning: 'll_base' may be used uninitialized in this function Partly this is because gcc isn't smart enough. But `ll_base' does get used uninitialised in the DRM_DEBUG() call. Cc: Jesse Barnes jbar...@virtuousgeek.org Cc: Eric Anholt e...@anholt.net Cc: Dave Airlie airl...@linux.ie Signed-off-by: Andrew Morton a...@linux-foundation.org --- drivers/gpu/drm/i915/i915_dma.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/gpu/drm/i915/i915_dma.c~drivers-gpu-drm-i915-i915_dmac-fix-unused-var drivers/gpu/drm/i915/i915_dma.c --- a/drivers/gpu/drm/i915/i915_dma.c~drivers-gpu-drm-i915-i915_dmac-fix-unused-var +++ a/drivers/gpu/drm/i915/i915_dma.c @@ -,7 +,8 @@ static void i915_setup_compression(struc { struct drm_i915_private *dev_priv = dev-dev_private; struct drm_mm_node *compressed_fb, *compressed_llb; - unsigned long cfb_base, ll_base; + unsigned long cfb_base; + unsigned long ll_base = 0; /* Leave 1M for line length buffer misc. */ compressed_fb = drm_mm_search_free(dev_priv-vram, size, 4096, 0); _ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[patch 2/2] drm: fix build error in include/drm/ttm/ttm_memory.h
From: Ralf Baechle r...@linux-mips.org include/drm/ttm/ttm_memory.h uses struct page * without having included the required headers or a forward declaration resulting in the following build error for mtx1_defconfig on Linus' master branch, possibly others: CC [M] drivers/gpu/drm/ttm/ttm_memory.o In file included from drivers/gpu/drm/ttm/ttm_memory.c:28: include/drm/ttm/ttm_memory.h:154: warning: `struct page' declared inside parameter list include/drm/ttm/ttm_memory.h:154: warning: its scope is only this definition or declaration, which is probably not what you want include/drm/ttm/ttm_memory.h:156: warning: `struct page' declared inside parameter list drivers/gpu/drm/ttm/ttm_memory.c:537: error: conflicting types for `ttm_mem_global_alloc_page' include/drm/ttm/ttm_memory.h:152: note: previous declaration of `ttm_mem_global_alloc_page' was here drivers/gpu/drm/ttm/ttm_memory.c:560: error: conflicting types for `ttm_mem_global_free_page' include/drm/ttm/ttm_memory.h:155: note: previous declaration of `ttm_mem_global_free_page' was here Fixed by adding a forward declaration. Signed-off-by: Ralf Baechle r...@linux-mips.org Cc: Dave Airlie airl...@linux.ie Signed-off-by: Andrew Morton a...@linux-foundation.org --- include/drm/ttm/ttm_memory.h |2 ++ 1 file changed, 2 insertions(+) diff -puN include/drm/ttm/ttm_memory.h~drm-fix-build-error-in-include-drm-ttm-ttm_memoryh include/drm/ttm/ttm_memory.h --- a/include/drm/ttm/ttm_memory.h~drm-fix-build-error-in-include-drm-ttm-ttm_memoryh +++ a/include/drm/ttm/ttm_memory.h @@ -144,6 +144,8 @@ static inline void ttm_mem_unregister_sh spin_unlock(glob-lock); } +struct page; + extern int ttm_mem_global_init(struct ttm_mem_global *glob); extern void ttm_mem_global_release(struct ttm_mem_global *glob); extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, _ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[patch 1/2] drivers/gpu/drm/radeon/radeon_combios.c: fix warning
From: Andrew Morton a...@linux-foundation.org drivers/gpu/drm/radeon/radeon_combios.c: In function 'radeon_combios_get_lvds_info': drivers/gpu/drm/radeon/radeon_combios.c:893: warning: comparison is always false due to limited range of data type Cc: Dave Airlie airl...@linux.ie Signed-off-by: Andrew Morton a...@linux-foundation.org --- drivers/gpu/drm/radeon/radeon_combios.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/gpu/drm/radeon/radeon_combios.c~drivers-gpu-drm-radeon-radeon_combiosc-fix-warning drivers/gpu/drm/radeon/radeon_combios.c --- a/drivers/gpu/drm/radeon/radeon_combios.c~drivers-gpu-drm-radeon-radeon_combiosc-fix-warning +++ a/drivers/gpu/drm/radeon/radeon_combios.c @@ -923,8 +923,7 @@ struct radeon_encoder_lvds *radeon_combi lvds-native_mode.vdisplay); lvds-panel_vcc_delay = RBIOS16(lcd_info + 0x2c); - if (lvds-panel_vcc_delay 2000 || lvds-panel_vcc_delay 0) - lvds-panel_vcc_delay = 2000; + lvds-panel_vcc_delay = min_t(u16, lvds-panel_vcc_delay, 2000); lvds-panel_pwr_delay = RBIOS8(lcd_info + 0x24); lvds-panel_digon_delay = RBIOS16(lcd_info + 0x38) 0xf; _ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25731] [Radeon FireGL][RV635] Too many stalls with KMS and IRQs enabled
http://bugs.freedesktop.org/show_bug.cgi?id=25731 Shawn Starr shawn.st...@rogers.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #3 from Shawn Starr shawn.st...@rogers.com 2009-12-21 16:42:04 PST --- Close it, this is a kernel timer issue. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [patch 2/2] drm: fix build error in include/drm/ttm/ttm_memory.h
On Tue, Dec 22, 2009 at 10:21 AM, a...@linux-foundation.org wrote: From: Ralf Baechle r...@linux-mips.org include/drm/ttm/ttm_memory.h uses struct page * without having included the required headers or a forward declaration resulting in the following build error for mtx1_defconfig on Linus' master branch, possibly others: This should already be fixed upstream we added an include instead of forward decl. Dave. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[PATCH 0/2] Fixes for ERESTARTSYS and unlocked ioctl
As the subject says. Cheers Jakob. From 7063217d9aa887dac4df75e4152e1d5b8a6a248b Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom thellst...@vmware.com Date: Tue, 8 Dec 2009 12:57:51 +0100 Subject: [PATCH] drm/vmwgfx: Fix unlocked ioctl and add propper access control Signed-off-by: Thomas Hellstrom thellst...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 47 ++ 1 files changed, 19 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 7b48bb3..1db1ef3 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -103,37 +103,39 @@ */ static struct drm_ioctl_desc vmw_ioctls[] = { - VMW_IOCTL_DEF(DRM_IOCTL_VMW_GET_PARAM, vmw_getparam_ioctl, 0), + VMW_IOCTL_DEF(DRM_IOCTL_VMW_GET_PARAM, vmw_getparam_ioctl, + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_ALLOC_DMABUF, vmw_dmabuf_alloc_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_UNREF_DMABUF, vmw_dmabuf_unref_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CURSOR_BYPASS, - vmw_kms_cursor_bypass_ioctl, 0), + vmw_kms_cursor_bypass_ioctl, + DRM_MASTER | DRM_CONTROL_ALLOW | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CONTROL_STREAM, vmw_overlay_ioctl, - 0), + DRM_MASTER | DRM_CONTROL_ALLOW | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CLAIM_STREAM, vmw_stream_claim_ioctl, - 0), + DRM_MASTER | DRM_CONTROL_ALLOW | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_UNREF_STREAM, vmw_stream_unref_ioctl, - 0), + DRM_MASTER | DRM_CONTROL_ALLOW | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CREATE_CONTEXT, vmw_context_define_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_UNREF_CONTEXT, vmw_context_destroy_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_CREATE_SURFACE, vmw_surface_define_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_UNREF_SURFACE, vmw_surface_destroy_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_REF_SURFACE, vmw_surface_reference_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_EXECBUF, vmw_execbuf_ioctl, - 0), + DRM_AUTH | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_FIFO_DEBUG, vmw_fifo_debug_ioctl, - 0), + DRM_AUTH | DRM_ROOT_ONLY | DRM_MASTER | DRM_UNLOCKED), VMW_IOCTL_DEF(DRM_IOCTL_VMW_FENCE_WAIT, vmw_fence_wait_ioctl, - 0) + DRM_AUTH | DRM_UNLOCKED) }; static struct pci_device_id vmw_pci_id_list[] = { @@ -460,11 +462,9 @@ static long vmw_unlocked_ioctl(struct file *filp, unsigned int cmd, struct drm_file *file_priv = filp-private_data; struct drm_device *dev = file_priv-minor-dev; unsigned int nr = DRM_IOCTL_NR(cmd); - long ret; /* - * The driver private ioctls and TTM ioctls should be - * thread-safe. + * Do extra checking on driver private ioctls. */ if ((nr = DRM_COMMAND_BASE) (nr DRM_COMMAND_END) @@ -477,18 +477,9 @@ static long vmw_unlocked_ioctl(struct file *filp, unsigned int cmd, nr - DRM_COMMAND_BASE); return -EINVAL; } - return drm_ioctl(filp-f_path.dentry-d_inode, - filp, cmd, arg); } - /* - * Not all old drm ioctls are thread-safe. - */ - - lock_kernel(); - ret = drm_ioctl(filp-f_path.dentry-d_inode, filp, cmd, arg); - unlock_kernel(); - return ret; + return drm_ioctl(filp, cmd, arg); } static int vmw_firstopen(struct drm_device *dev) -- 1.6.0.4 From f57c0da83ed052f0a5c7c6bb07fffb091edfc986 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom thellst...@vmware.com Date: Tue, 8 Dec 2009 12:59:34 +0100 Subject: [PATCH] drm/vmwgfx: Return -ERESTARTSYS when interrupted by a signal. Signed-off-by: Thomas Hellstrom thellst...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c |4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c|6 ++ drivers/gpu/drm/vmwgfx/vmwgfx_irq.c |6 ++ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index 7a39f3e..7e73cf5 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c @@ -386,7 +386,7 @@ static int vmw_validate_single_buffer(struct vmw_private *dev_priv, return 0; ret = vmw_gmr_bind(dev_priv, bo); - if (likely(ret == 0 || ret == -ERESTART)) + if (likely(ret == 0 || ret == -ERESTARTSYS)) return ret; @@ -429,7 +429,7 @@ int vmw_execbuf_ioctl(struct drm_device *dev, void *data, ret = mutex_lock_interruptible(dev_priv-cmdbuf_mutex); if (unlikely(ret != 0)) { - ret = -ERESTART; + ret = -ERESTARTSYS; goto out_no_cmd_mutex; } diff --git
[Bug 25718] gpu death at radeon_fence_wait
http://bugs.freedesktop.org/show_bug.cgi?id=25718 --- Comment #12 from Aidan Marks ai...@cisco.com 2009-12-21 22:48:53 PST --- Created an attachment (id=32240) -- (http://bugs.freedesktop.org/attachment.cgi?id=32240) crash_with_drm_debug_15_netconsole attaching last ~3000 lines of netconsole log with drm.debug=15 and radeon.dynpm=1 for 2.6.32.y + drm-radeon-testing + V8 pm patch + ATOM lock patch. I had already shoved a WARN() one liner in the fence code just before we reset the gpu which you can see in the log, whether it ends up being of any use or not. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25718] gpu death at radeon_fence_wait
http://bugs.freedesktop.org/show_bug.cgi?id=25718 --- Comment #13 from Aidan Marks ai...@cisco.com 2009-12-21 22:59:04 PST --- Created an attachment (id=32241) -- (http://bugs.freedesktop.org/attachment.cgi?id=32241) fence_crash_fuller_log_netconsole.txt.bz2 attaching bz2 fuller log with ~200,000 lines. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 25718] gpu death at radeon_fence_wait
http://bugs.freedesktop.org/show_bug.cgi?id=25718 --- Comment #14 from Rafał Miłecki zaj...@gmail.com 2009-12-21 23:04:54 PST --- Aidan: did you make some more tests, can you say that dynpm=1 really makes this issue happen earlier than with dynpm=0? If so, can you try removing radeon_set_engine_clock calls from radeon_pm.c and use dynpm=1? Does this makes KMS stable just like with dynpm=0? Did you actually experience that issue again with dynpm=0? Or did this happen just once (15min of Nexuiz)? diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index a9c61f4..4aa1061 100644 --- a/drivers/gpu/drm/radeon/radeon_pm.c +++ b/drivers/gpu/drm/radeon/radeon_pm.c @@ -156,17 +156,12 @@ static void radeon_pm_set_clocks_locked(struct radeon_device *rdev) /*radeon_fence_wait_last(rdev);*/ switch (rdev-pm.planned_action) { case PM_ACTION_UPCLOCK: - radeon_set_engine_clock(rdev, rdev-clock.default_sclk); rdev-pm.downclocked = false; break; case PM_ACTION_DOWNCLOCK: - radeon_set_engine_clock(rdev, - rdev-pm.min_mode_engine_clock); rdev-pm.downclocked = true; break; case PM_ACTION_MINIMUM: - radeon_set_engine_clock(rdev, - rdev-pm.min_gpu_engine_clock); break; case PM_ACTION_NONE: DRM_ERROR(%s: PM_ACTION_NONE\n, __func__); -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel