2.6.39-rc1 noveau trouble and regression (bad commit: 38f1cff0863809587b5fd10ecd0c24c8b543a48c )
Hey, still no joy with 2.6.39-rc2. Best, Dominik On Sun, Apr 03, 2011 at 08:12:06PM +0200, Dominik Brodowski wrote: > Hey, > > After bisecting for a day, I'm pretty confident that the commit > 38f1cff0863809587b5fd10ecd0c24c8b543a48c introduced an error which > causes one of my computers to hang during boot -- only a blank > screen appears. The initramfs never gets run. > > The system consists of an Atom D525 with Intel NM10 + NVIDIA GT218/ION2 > chipset. > > Best, > Dominik
[PATCH] radeon: Fix KMS legacy backlight support if CONFIG_BACKLIGHT_CLASS_DEVICE=m.
From: Michel D?nzer Signed-off-by: Michel D?nzer Signed-off-by: Michel D?nzer --- drivers/gpu/drm/radeon/radeon_legacy_encoders.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index 5b54268..2f46e0c 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -269,7 +269,7 @@ static const struct drm_encoder_helper_funcs radeon_legacy_lvds_helper_funcs = { .disable = radeon_legacy_encoder_disable, }; -#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE +#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) #define MAX_RADEON_LEVEL 0xFF -- 1.7.4.1
[PATCH] radeon: Fix KMS CP writeback on big endian machines.
From: Michel D?nzer This is necessary even with PCI(e) GART, and it makes writeback work even with AGP on my PowerBook. Might still be unreliable with older revisions of UniNorth and other AGP bridges though. Signed-off-by: Michel D?nzer --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- drivers/gpu/drm/radeon/radeon_ring.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 171b0b2..2b0ee62 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c @@ -80,7 +80,7 @@ static bool radeon_fence_poll_locked(struct radeon_device *rdev) scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; else scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; - seq = rdev->wb.wb[scratch_index/4]; + seq = le32_to_cpu(rdev->wb.wb[scratch_index/4]); } else seq = RREG32(rdev->fence_drv.scratch_reg); if (seq != rdev->fence_drv.last_seq) { diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 992d99d..55ea680 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c @@ -248,7 +248,7 @@ void radeon_ib_pool_fini(struct radeon_device *rdev) void radeon_ring_free_size(struct radeon_device *rdev) { if (rdev->wb.enabled) - rdev->cp.rptr = rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]; + rdev->cp.rptr = le32_to_cpu(rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]); else { if (rdev->family >= CHIP_R600) rdev->cp.rptr = RREG32(R600_CP_RB_RPTR); -- 1.7.4.1
[Bug 36065] New: r600g regression : vertex buffer alignement
https://bugs.freedesktop.org/show_bug.cgi?id=36065 Summary: r600g regression : vertex buffer alignement Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: pell...@gmail.com I have a simple app using vbo to render models. The VBO layout is : position (3 float), normal (3 float), color (3 char) This app was running perfectly until I updated libdrm/mesa to git version. Now the app still does not have any GL error set (checked with glGetError()), but its rendering is completely wrong. git-bisect pointed me to this commit : 0ed5bf668db24fb56b5b359399099c89531e2a0a "r600g: Request DWORD aligned vertex buffers." OS : Debian unstable (amd64) Radeon HD 4850 -- 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 36065] New: r600g regression : vertex buffer alignement
https://bugs.freedesktop.org/show_bug.cgi?id=36065 Summary: r600g regression : vertex buffer alignement Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel at lists.freedesktop.org ReportedBy: pelloux at gmail.com I have a simple app using vbo to render models. The VBO layout is : position (3 float), normal (3 float), color (3 char) This app was running perfectly until I updated libdrm/mesa to git version. Now the app still does not have any GL error set (checked with glGetError()), but its rendering is completely wrong. git-bisect pointed me to this commit : 0ed5bf668db24fb56b5b359399099c89531e2a0a "r600g: Request DWORD aligned vertex buffers." OS : Debian unstable (amd64) Radeon HD 4850 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
https://bugs.freedesktop.org/show_bug.cgi?id=33389 --- Comment #8 from Sven Arvidsson 2011-04-07 13:28:21 PDT --- (In reply to comment #7) > Right now, the RendererFeatTest doesn't work properly at all if I enable the > S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git > version. > > Not forcing the S3TC extension, the first test shows corruption on text > (written on top left corner) while the i915 doesn't. All the test fails to > show > the background which is probably related to a texture not loaded because of > missing S3TC extension or because of float textures not supported. SSAO (used > in test 10) and Edge smooth (used in test 14) are disabled because of float > textures not supported. > > Should we report problem with RendererTestFeat in different bugs (listing each > problem as a different bug, i.e. S3TC and Float Textures)? Does S3TC work in other games? If not, it's a more general problem. (I'm not sure if S3TC works equally well for all r600g hardware, or only on Evergreen?) Float textures only exist in marek's branch, and only for r300g, so it's probably a bit premature to file bugs about this. Amensia works without it, you're just missing out on a couple of effects. -- 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 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
https://bugs.freedesktop.org/show_bug.cgi?id=33389 --- Comment #8 from Sven Arvidsson 2011-04-07 13:28:21 PDT --- (In reply to comment #7) > Right now, the RendererFeatTest doesn't work properly at all if I enable the > S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git > version. > > Not forcing the S3TC extension, the first test shows corruption on text > (written on top left corner) while the i915 doesn't. All the test fails to > show > the background which is probably related to a texture not loaded because of > missing S3TC extension or because of float textures not supported. SSAO (used > in test 10) and Edge smooth (used in test 14) are disabled because of float > textures not supported. > > Should we report problem with RendererTestFeat in different bugs (listing each > problem as a different bug, i.e. S3TC and Float Textures)? Does S3TC work in other games? If not, it's a more general problem. (I'm not sure if S3TC works equally well for all r600g hardware, or only on Evergreen?) Float textures only exist in marek's branch, and only for r300g, so it's probably a bit premature to file bugs about this. Amensia works without it, you're just missing out on a couple of effects. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
https://bugs.freedesktop.org/show_bug.cgi?id=33389 --- Comment #7 from Alexandre Demers 2011-04-07 12:48:20 PDT --- Right now, the RendererFeatTest doesn't work properly at all if I enable the S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git version. Not forcing the S3TC extension, the first test shows corruption on text (written on top left corner) while the i915 doesn't. All the test fails to show the background which is probably related to a texture not loaded because of missing S3TC extension or because of float textures not supported. SSAO (used in test 10) and Edge smooth (used in test 14) are disabled because of float textures not supported. Should we report problem with RendererTestFeat in different bugs (listing each problem as a different bug, i.e. S3TC and Float Textures)? -- 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 33389] [RADEON:KMS:R600G] amnesia (closed source game) segfaults
https://bugs.freedesktop.org/show_bug.cgi?id=33389 --- Comment #7 from Alexandre Demers 2011-04-07 12:48:20 PDT --- Right now, the RendererFeatTest doesn't work properly at all if I enable the S3TC extension with mesa git version, libdrm git version and libtxc_dxtn git version. Not forcing the S3TC extension, the first test shows corruption on text (written on top left corner) while the i915 doesn't. All the test fails to show the background which is probably related to a texture not loaded because of missing S3TC extension or because of float textures not supported. SSAO (used in test 10) and Edge smooth (used in test 14) are disabled because of float textures not supported. Should we report problem with RendererTestFeat in different bugs (listing each problem as a different bug, i.e. S3TC and Float Textures)? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36059] [i915g] i915_get_param: Unkown cap 45.
https://bugs.freedesktop.org/show_bug.cgi?id=36059 --- Comment #1 from Vinson Lee 2011-04-07 11:54:46 PDT --- 47e3896dfd89a26abbe4ca2469c2480f3982b204 is the first bad commit commit 47e3896dfd89a26abbe4ca2469c2480f3982b204 Author: Luca Barbieri Date: Wed Feb 16 00:14:49 2011 +0100 gallium: implement clamping controls (ARB_color_buffer_float) BTW this changes the gallium interface. Some rather cosmetic changes by Marek. Squashed commit of the following: commit 513b37d484f0318311e84bb86ed4c93cdff71f13 Author: Luca Barbieri Date: Thu Aug 26 18:17:54 2010 +0200 mesa/st: respect fragment clamping in st_DrawPixels commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8 Author: Luca Barbieri Date: Thu Aug 26 18:17:28 2010 +0200 mesa/st: support fragment and vertex color clamping commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13 Author: Luca Barbieri Date: Tue Aug 24 21:56:37 2010 +0200 mesa/st: expose ARB_color_buffer_float if unclamping is supported commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d Author: Luca Barbieri Date: Thu Aug 26 17:53:41 2010 +0200 mesa/st: use unclamped colors This assumes that Gallium is to be interpreted as given drivers the responsibility to clamp these colors if necessary. commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. (see the removed XXX comment. -Marek) TODO: did I get the set of operations mandating it right? commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8 Author: Luca Barbieri Date: Thu Aug 26 18:18:25 2010 +0200 gallium: add color clamping to the interface :04 04 427894a2aca305426845e02807891a605fe957a2 abe570c204c658d0f0589ccb98f110b0aad57b68 Msrc -- 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 36059] [i915g] i915_get_param: Unkown cap 45.
https://bugs.freedesktop.org/show_bug.cgi?id=36059 --- Comment #1 from Vinson Lee 2011-04-07 11:54:46 PDT --- 47e3896dfd89a26abbe4ca2469c2480f3982b204 is the first bad commit commit 47e3896dfd89a26abbe4ca2469c2480f3982b204 Author: Luca Barbieri Date: Wed Feb 16 00:14:49 2011 +0100 gallium: implement clamping controls (ARB_color_buffer_float) BTW this changes the gallium interface. Some rather cosmetic changes by Marek. Squashed commit of the following: commit 513b37d484f0318311e84bb86ed4c93cdff71f13 Author: Luca Barbieri Date: Thu Aug 26 18:17:54 2010 +0200 mesa/st: respect fragment clamping in st_DrawPixels commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8 Author: Luca Barbieri Date: Thu Aug 26 18:17:28 2010 +0200 mesa/st: support fragment and vertex color clamping commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13 Author: Luca Barbieri Date: Tue Aug 24 21:56:37 2010 +0200 mesa/st: expose ARB_color_buffer_float if unclamping is supported commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d Author: Luca Barbieri Date: Thu Aug 26 17:53:41 2010 +0200 mesa/st: use unclamped colors This assumes that Gallium is to be interpreted as given drivers the responsibility to clamp these colors if necessary. commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. (see the removed XXX comment. -Marek) TODO: did I get the set of operations mandating it right? commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8 Author: Luca Barbieri Date: Thu Aug 26 18:18:25 2010 +0200 gallium: add color clamping to the interface :04 04 427894a2aca305426845e02807891a605fe957a2 abe570c204c658d0f0589ccb98f110b0aad57b68 Msrc -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36059] New: [i915g] i915_get_param: Unkown cap 45.
https://bugs.freedesktop.org/show_bug.cgi?id=36059 Summary: [i915g] i915_get_param: Unkown cap 45. Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/i915g AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: v...@vmware.com mesa: 6638b4a590aa07dbe05f6647da90a00a4c0d57a8 (master) chipset: 945GM (Intel GMA 950) system architecture: i686 xserver-xorg-video-intel: 2:2.12.0-1ubuntu5.2 libdrm-intel1: 2.4.21-1ubuntu2.1 kernel version: 2.6.35-28-generic Linux distribution: Ubuntu 10.10 i386 Run any piglit test. The warning message "i915_get_param: Unkown cap 45." appears. -- 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 36059] New: [i915g] i915_get_param: Unkown cap 45.
https://bugs.freedesktop.org/show_bug.cgi?id=36059 Summary: [i915g] i915_get_param: Unkown cap 45. Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/i915g AssignedTo: dri-devel at lists.freedesktop.org ReportedBy: vlee at vmware.com mesa: 6638b4a590aa07dbe05f6647da90a00a4c0d57a8 (master) chipset: 945GM (Intel GMA 950) system architecture: i686 xserver-xorg-video-intel: 2:2.12.0-1ubuntu5.2 libdrm-intel1: 2.4.21-1ubuntu2.1 kernel version: 2.6.35-28-generic Linux distribution: Ubuntu 10.10 i386 Run any piglit test. The warning message "i915_get_param: Unkown cap 45." appears. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #7 from Johannes Obermayr 2011-04-07 11:00:32 PDT --- After a second and third try (after reboots) I got: [drm] pdata=0072 I assume it is the value I receive each time now. -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #7 from Johannes Obermayr 2011-04-07 11:00:32 PDT --- After a second and third try (after reboots) I got: [drm] pdata=0072 I assume it is the value I receive each time now. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[PATCH] radeon: Fix KMS CP writeback on big endian machines.
2011/4/7 Michel D?nzer : > From: Michel D?nzer > > This is necessary even with PCI(e) GART, and it makes writeback work even with > AGP on my PowerBook. Might still be unreliable with older revisions of > UniNorth > and other AGP bridges though. Looks good. Reviewed-by: Alex Deucher > > Signed-off-by: Michel D?nzer > --- > ?drivers/gpu/drm/radeon/radeon_fence.c | ? ?2 +- > ?drivers/gpu/drm/radeon/radeon_ring.c ?| ? ?2 +- > ?2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_fence.c > b/drivers/gpu/drm/radeon/radeon_fence.c > index 171b0b2..2b0ee62 100644 > --- a/drivers/gpu/drm/radeon/radeon_fence.c > +++ b/drivers/gpu/drm/radeon/radeon_fence.c > @@ -80,7 +80,7 @@ static bool radeon_fence_poll_locked(struct radeon_device > *rdev) > ? ? ? ? ? ? ? ? ? ? ? ?scratch_index = R600_WB_EVENT_OFFSET + > rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; > ? ? ? ? ? ? ? ?else > ? ? ? ? ? ? ? ? ? ? ? ?scratch_index = RADEON_WB_SCRATCH_OFFSET + > rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; > - ? ? ? ? ? ? ? seq = rdev->wb.wb[scratch_index/4]; > + ? ? ? ? ? ? ? seq = le32_to_cpu(rdev->wb.wb[scratch_index/4]); > ? ? ? ?} else > ? ? ? ? ? ? ? ?seq = RREG32(rdev->fence_drv.scratch_reg); > ? ? ? ?if (seq != rdev->fence_drv.last_seq) { > diff --git a/drivers/gpu/drm/radeon/radeon_ring.c > b/drivers/gpu/drm/radeon/radeon_ring.c > index 992d99d..55ea680 100644 > --- a/drivers/gpu/drm/radeon/radeon_ring.c > +++ b/drivers/gpu/drm/radeon/radeon_ring.c > @@ -248,7 +248,7 @@ void radeon_ib_pool_fini(struct radeon_device *rdev) > ?void radeon_ring_free_size(struct radeon_device *rdev) > ?{ > ? ? ? ?if (rdev->wb.enabled) > - ? ? ? ? ? ? ? rdev->cp.rptr = rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]; > + ? ? ? ? ? ? ? rdev->cp.rptr = > le32_to_cpu(rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]); > ? ? ? ?else { > ? ? ? ? ? ? ? ?if (rdev->family >= CHIP_R600) > ? ? ? ? ? ? ? ? ? ? ? ?rdev->cp.rptr = RREG32(R600_CP_RB_RPTR); > -- > 1.7.4.1 > > ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel >
[PATCH] drm/radeon/kms: pll tweaks for rv6xx
Prefer minm over maxp. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35994 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/atombios_crtc.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index b41ec59..9d516a8 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -531,6 +531,12 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV; else pll->flags |= RADEON_PLL_PREFER_LOW_REF_DIV; + + if ((rdev->family == CHIP_R600) || + (rdev->family == CHIP_RV610) || + (rdev->family == CHIP_RV630) || + (rdev->family == CHIP_RV670)) + pll->flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP; } else { pll->flags |= RADEON_PLL_LEGACY; -- 1.7.1.1
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Johannes Obermayr changed: What|Removed |Added Attachment #45373|0 |1 is obsolete|| --- Comment #6 from Johannes Obermayr 2011-04-07 10:03:15 PDT --- Created an attachment (id=45392) --> (https://bugs.freedesktop.org/attachment.cgi?id=45392) dmesg dmesg output with applied Debugging patch -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Johannes Obermayr changed: What|Removed |Added Attachment #45373|0 |1 is obsolete|| --- Comment #6 from Johannes Obermayr 2011-04-07 10:03:15 PDT --- Created an attachment (id=45392) --> (https://bugs.freedesktop.org/attachment.cgi?id=45392) dmesg dmesg output with applied Debugging patch -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
Re: 2.6.39-rc1 noveau trouble and regression (bad commit: 38f1cff0863809587b5fd10ecd0c24c8b543a48c )
Hey, still no joy with 2.6.39-rc2. Best, Dominik On Sun, Apr 03, 2011 at 08:12:06PM +0200, Dominik Brodowski wrote: > Hey, > > After bisecting for a day, I'm pretty confident that the commit > 38f1cff0863809587b5fd10ecd0c24c8b543a48c introduced an error which > causes one of my computers to hang during boot -- only a blank > screen appears. The initramfs never gets run. > > The system consists of an Atom D525 with Intel NM10 + NVIDIA GT218/ION2 > chipset. > > Best, > Dominik ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #5 from Michel Dänzer 2011-04-07 08:35:56 PDT --- Created an attachment (id=45386) View: https://bugs.freedesktop.org/attachment.cgi?id=45386 Review: https://bugs.freedesktop.org/review?bug=36037&attachment=45386 Debugging patch This patch (only compile tested) should print the pointer values before referencing them, and bail if one of them is NULL. This should also avoid the immediate crash, but it might still crash elsewhere later on. -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #5 from Michel D?nzer 2011-04-07 08:35:56 PDT --- Created an attachment (id=45386) View: https://bugs.freedesktop.org/attachment.cgi?id=45386 Review: https://bugs.freedesktop.org/review?bug=36037&attachment=45386 Debugging patch This patch (only compile tested) should print the pointer values before referencing them, and bail if one of them is NULL. This should also avoid the immediate crash, but it might still crash elsewhere later on. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #4 from Michel Dänzer 2011-04-07 07:51:26 PDT --- Thanks, but I mean modifying radeon_legacy_backlight_get_brightness() to print the value of each pointer before dereferencing it. If you don't know how to do that, I can try whipping up a test patch. -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 --- Comment #4 from Michel D?nzer 2011-04-07 07:51:26 PDT --- Thanks, but I mean modifying radeon_legacy_backlight_get_brightness() to print the value of each pointer before dereferencing it. If you don't know how to do that, I can try whipping up a test patch. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 32402] Oops associated with radeon_unpin_work_func
https://bugzilla.kernel.org/show_bug.cgi?id=32402 --- Comment #9 from Stuart Foster 2011-04-07 07:37:49 --- (In reply to comment #7) > Does reverting 69a07f0b117a40fcc1a479358d8e1f41793617f2 help? Applied git revert to 2.6.39-rc2. Problem still present. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching the assignee of the bug. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -- ___ Dri-devel mailing list Dri-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [PATCH] radeon: Fix KMS CP writeback on big endian machines.
2011/4/7 Michel Dänzer : > From: Michel Dänzer > > This is necessary even with PCI(e) GART, and it makes writeback work even with > AGP on my PowerBook. Might still be unreliable with older revisions of > UniNorth > and other AGP bridges though. Looks good. Reviewed-by: Alex Deucher > > Signed-off-by: Michel Dänzer > --- > drivers/gpu/drm/radeon/radeon_fence.c | 2 +- > drivers/gpu/drm/radeon/radeon_ring.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_fence.c > b/drivers/gpu/drm/radeon/radeon_fence.c > index 171b0b2..2b0ee62 100644 > --- a/drivers/gpu/drm/radeon/radeon_fence.c > +++ b/drivers/gpu/drm/radeon/radeon_fence.c > @@ -80,7 +80,7 @@ static bool radeon_fence_poll_locked(struct radeon_device > *rdev) > scratch_index = R600_WB_EVENT_OFFSET + > rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; > else > scratch_index = RADEON_WB_SCRATCH_OFFSET + > rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; > - seq = rdev->wb.wb[scratch_index/4]; > + seq = le32_to_cpu(rdev->wb.wb[scratch_index/4]); > } else > seq = RREG32(rdev->fence_drv.scratch_reg); > if (seq != rdev->fence_drv.last_seq) { > diff --git a/drivers/gpu/drm/radeon/radeon_ring.c > b/drivers/gpu/drm/radeon/radeon_ring.c > index 992d99d..55ea680 100644 > --- a/drivers/gpu/drm/radeon/radeon_ring.c > +++ b/drivers/gpu/drm/radeon/radeon_ring.c > @@ -248,7 +248,7 @@ void radeon_ib_pool_fini(struct radeon_device *rdev) > void radeon_ring_free_size(struct radeon_device *rdev) > { > if (rdev->wb.enabled) > - rdev->cp.rptr = rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]; > + rdev->cp.rptr = > le32_to_cpu(rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]); > else { > if (rdev->family >= CHIP_R600) > rdev->cp.rptr = RREG32(R600_CP_RB_RPTR); > -- > 1.7.4.1 > > ___ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel > ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH] drm/radeon/kms: pll tweaks for rv6xx
Prefer minm over maxp. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35994 Signed-off-by: Alex Deucher Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/atombios_crtc.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index b41ec59..9d516a8 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -531,6 +531,12 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, pll->flags |= RADEON_PLL_PREFER_HIGH_FB_DIV; else pll->flags |= RADEON_PLL_PREFER_LOW_REF_DIV; + + if ((rdev->family == CHIP_R600) || + (rdev->family == CHIP_RV610) || + (rdev->family == CHIP_RV630) || + (rdev->family == CHIP_RV670)) + pll->flags |= RADEON_PLL_PREFER_MINM_OVER_MAXP; } else { pll->flags |= RADEON_PLL_LEGACY; -- 1.7.1.1 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 Alex Deucher changed: What|Removed |Added Component|Drivers/Gallium/r600|Mesa core AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org|org -- 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 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 Alex Deucher changed: What|Removed |Added Component|Drivers/Gallium/r600|Mesa core AssignedTo|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop. |.org|org -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Johannes Obermayr changed: What|Removed |Added Attachment #45356|0 |1 is obsolete|| --- Comment #3 from Johannes Obermayr 2011-04-07 07:27:13 PDT --- Created an attachment (id=45373) --> (https://bugs.freedesktop.org/attachment.cgi?id=45373) dmesg (In reply to comment #2) > Looks like one of the pointers in radeon_legacy_backlight_get_brightness() is > NULL, but I'm not sure which one that could be. Johannes, can you add some > debugging output to see which one it is? boot parameter: drm.debug=255 nomodeset 3 then a 'rmmod radeon' and finally a 'modprobe radeon' -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Johannes Obermayr changed: What|Removed |Added Attachment #45356|0 |1 is obsolete|| --- Comment #3 from Johannes Obermayr 2011-04-07 07:27:13 PDT --- Created an attachment (id=45373) --> (https://bugs.freedesktop.org/attachment.cgi?id=45373) dmesg (In reply to comment #2) > Looks like one of the pointers in radeon_legacy_backlight_get_brightness() is > NULL, but I'm not sure which one that could be. Johannes, can you add some > debugging output to see which one it is? boot parameter: drm.debug=255 nomodeset 3 then a 'rmmod radeon' and finally a 'modprobe radeon' -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[PATCH] radeon: Fix KMS legacy backlight support if CONFIG_BACKLIGHT_CLASS_DEVICE=m.
From: Michel Dänzer Signed-off-by: Michel Dänzer Signed-off-by: Michel Dänzer --- drivers/gpu/drm/radeon/radeon_legacy_encoders.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index 5b54268..2f46e0c 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -269,7 +269,7 @@ static const struct drm_encoder_helper_funcs radeon_legacy_lvds_helper_funcs = { .disable = radeon_legacy_encoder_disable, }; -#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE +#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) #define MAX_RADEON_LEVEL 0xFF -- 1.7.4.1 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[PATCH] radeon: Fix KMS CP writeback on big endian machines.
From: Michel Dänzer This is necessary even with PCI(e) GART, and it makes writeback work even with AGP on my PowerBook. Might still be unreliable with older revisions of UniNorth and other AGP bridges though. Signed-off-by: Michel Dänzer --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- drivers/gpu/drm/radeon/radeon_ring.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 171b0b2..2b0ee62 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c @@ -80,7 +80,7 @@ static bool radeon_fence_poll_locked(struct radeon_device *rdev) scratch_index = R600_WB_EVENT_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; else scratch_index = RADEON_WB_SCRATCH_OFFSET + rdev->fence_drv.scratch_reg - rdev->scratch.reg_base; - seq = rdev->wb.wb[scratch_index/4]; + seq = le32_to_cpu(rdev->wb.wb[scratch_index/4]); } else seq = RREG32(rdev->fence_drv.scratch_reg); if (seq != rdev->fence_drv.last_seq) { diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 992d99d..55ea680 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c @@ -248,7 +248,7 @@ void radeon_ib_pool_fini(struct radeon_device *rdev) void radeon_ring_free_size(struct radeon_device *rdev) { if (rdev->wb.enabled) - rdev->cp.rptr = rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]; + rdev->cp.rptr = le32_to_cpu(rdev->wb.wb[RADEON_WB_CP_RPTR_OFFSET/4]); else { if (rdev->family >= CHIP_R600) rdev->cp.rptr = RREG32(R600_CP_RB_RPTR); -- 1.7.4.1 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 32768] VBO rendering using glDrawArrays causes program termination and "cs IB too big" message
https://bugs.freedesktop.org/show_bug.cgi?id=32768 RCX Slinger changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #5 from RCX Slinger 2011-04-07 06:04:52 PDT --- The patch which solves the problem has not been applied to the mesa tree. -- 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 32768] VBO rendering using glDrawArrays causes program termination and "cs IB too big" message
https://bugs.freedesktop.org/show_bug.cgi?id=32768 RCX Slinger changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #5 from RCX Slinger 2011-04-07 06:04:52 PDT --- The patch which solves the problem has not been applied to the mesa tree. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Michel Dänzer changed: What|Removed |Added Product|xorg|DRI Version|git |unspecified Component|Driver/Radeon |DRM/Radeon AssignedTo|xorg-driver-...@lists.x.org |dri-devel@lists.freedesktop ||.org QAContact|xorg-t...@lists.x.org | --- Comment #2 from Michel Dänzer 2011-04-07 02:58:34 PDT --- Looks like one of the pointers in radeon_legacy_backlight_get_brightness() is NULL, but I'm not sure which one that could be. Johannes, can you add some debugging output to see which one it is? -- 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 36037] RV250Lf: airlied/drm-fixes branch crashes in new backlight code
https://bugs.freedesktop.org/show_bug.cgi?id=36037 Michel D?nzer changed: What|Removed |Added Product|xorg|DRI Version|git |unspecified Component|Driver/Radeon |DRM/Radeon AssignedTo|xorg-driver-ati at lists.x.org |dri-devel at lists.freedesktop ||.org QAContact|xorg-team at lists.x.org | --- Comment #2 from Michel D?nzer 2011-04-07 02:58:34 PDT --- Looks like one of the pointers in radeon_legacy_backlight_get_brightness() is NULL, but I'm not sure which one that could be. Johannes, can you add some debugging output to see which one it is? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 --- Comment #2 from s3734...@mail.zih.tu-dresden.de 2011-04-07 01:56:16 PDT --- Created an attachment (id=45367) View: https://bugs.freedesktop.org/attachment.cgi?id=45367 Review: https://bugs.freedesktop.org/review?bug=35425&attachment=45367 Probable patch This patch works for me, but i dont know if it fits the coding style, so take the best bytes of it to fix the problem -- 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 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 --- Comment #2 from s3734770 at mail.zih.tu-dresden.de 2011-04-07 01:56:16 PDT --- Created an attachment (id=45367) View: https://bugs.freedesktop.org/attachment.cgi?id=45367 Review: https://bugs.freedesktop.org/review?bug=35425&attachment=45367 Probable patch This patch works for me, but i dont know if it fits the coding style, so take the best bytes of it to fix the problem -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 33762] Framebuffer Depth textures (Shadow mapping) - FBO-EXT
https://bugs.freedesktop.org/show_bug.cgi?id=33762 s3734...@mail.zih.tu-dresden.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #15 from s3734...@mail.zih.tu-dresden.de 2011-04-07 01:20:28 PDT --- resolved long time ago -- 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 33762] Framebuffer Depth textures (Shadow mapping) - FBO-EXT
https://bugs.freedesktop.org/show_bug.cgi?id=33762 s3734770 at mail.zih.tu-dresden.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #15 from s3734770 at mail.zih.tu-dresden.de 2011-04-07 01:20:28 PDT --- resolved long time ago -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 --- Comment #1 from s3734...@mail.zih.tu-dresden.de 2011-04-07 01:12:01 PDT --- The PipeCap for instanced drawing is available, the drivers implement them, TGSI has the construct TGSI_SEMANTIC_INSTANCEID. The only component that does not support instanced drawing is the GLSL compiler. So can please any of the GLSL guys implement the gl_InstanceID uniform? -- 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 35425] Instanced drawing: not implemented
https://bugs.freedesktop.org/show_bug.cgi?id=35425 --- Comment #1 from s3734770 at mail.zih.tu-dresden.de 2011-04-07 01:12:01 PDT --- The PipeCap for instanced drawing is available, the drivers implement them, TGSI has the construct TGSI_SEMANTIC_INSTANCEID. The only component that does not support instanced drawing is the GLSL compiler. So can please any of the GLSL guys implement the gl_InstanceID uniform? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[Bug 32402] Oops associated with radeon_unpin_work_func
https://bugzilla.kernel.org/show_bug.cgi?id=32402 --- Comment #9 from Stuart Foster 2011-04-07 07:37:49 --- (In reply to comment #7) > Does reverting 69a07f0b117a40fcc1a479358d8e1f41793617f2 help? Applied git revert to 2.6.39-rc2. Problem still present. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching the assignee of the bug. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev -- ___ Dri-devel mailing list dri-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel