[PATCH] drm/radeon/kms: MC vram map needs to be >= pci aperture size

2010-10-25 Thread Alex Deucher
The vram map in the radeon memory controller needs to be >= the pci aperture size. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28402 The problematic cards in the above bug have 64 MB of vram, but the pci aperture is 128 MB and the MC vram map was only 64 MB. This can lead to hangs.

radeon pageflipping patches

2010-10-25 Thread Alex Deucher
For those that want to try them out: http://people.freedesktop.org/~agd5f/pflip/ against drm-next plus Dave's 2D tiling fixes patch (needed to bump the drm version) for the drm patches, and against git master for the ddx. 6xx/7xx/evergreen are pretty solid, but r1xx-r5xx still need some work.

linux-next: Tree for October 25 (nouveau_pm)

2010-10-25 Thread Randy Dunlap
config-r8118 Type: application/octet-stream Size: 53119 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20101025/5557bbc7/attachment-0001.obj>

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #44 from Marek Ol??k 2010-10-25 14:15:10 PDT --- (In reply to comment #42) > (In reply to comment #41) > > A simpler test could be to use r200_copy_dma instead of r100_copy_blit for > > the > > .copy hook in radeon_asic.c. (On my

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #43 from Tomasz Czapiewski 2010-10-25 14:14:02 PDT --- (In reply to comment #37) > Have you tested whether the corruption happens with r300c too? It does with > WoW > (although r300g has fewer other bugs). On r300c enabling (in

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #42 from Chris Rankin 2010-10-25 13:42:16 PDT --- (In reply to comment #41) > A simpler test could be to use r200_copy_dma instead of r100_copy_blit for the > .copy hook in radeon_asic.c. (On my mobile RV350 that seems to perform

[Bug 28402] random radeon/kms/drm related freezes with kernel 2.6.34

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28402 --- Comment #88 from Robert Y 2010-10-25 10:21:59 PDT --- This bug affects my laptop as well. It has the rv350 with 64MB of RAM. I have been testing the patch in Comment 85 on the Ubuntu 2.6.36 Natty kernel. It seems to have fixed this freezing

[Bug 31037] [r300g] Checkerboard effect on sprites / textures

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31037 Gerwin changed: What|Removed |Added Summary|Checkerboard effect on |[r300g] Checkerboard effect

[PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info

2010-10-25 Thread Michel Dänzer
On Son, 2010-10-24 at 17:00 -0200, Lucas Clemente Vella wrote: > On regarding this bug > https://bugs.freedesktop.org/show_bug.cgi?id=29726 > what is the relation between querying crtc id and the vblank event? > Could you point where this query is needed? The query is needed for userspace to

[Bug 29726] New CRTC ID query breaks Radeon DRM in Zaphod mode

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29726 --- Comment #8 from James Le Cuirot 2010-10-25 02:11:15 PDT --- (In reply to comment #7) > > I quite like vsyncing so I'm a little sad if it's broken. I think it was > > working before? > > It wasn't supported before. KMS vsync support was

[Bug 29389] [r300g] [bisected] hard locks with polling enabled in 2.6.35

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29389 --- Comment #8 from Tomasz Czapiewski 2010-10-25 01:51:53 PDT --- I have radeon module compilation errors with this patch applied on 2.6.35: make: Entering directory `/usr/src/linux-headers-2.6.35-22-generic' CC [M]

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #41 from Michel D?nzer 2010-10-25 01:14:35 PDT --- (In reply to comment #39) > Not necessary, it's just a theory. It would be interesting to rewrite that > function to use the 3D engine on r300 and see if it fixes anything. A

[PATCH RESEND] drm: include missing types header to drm_mode.h

2010-10-25 Thread Davidlohr Bueso
On Fri, 2010-10-22 at 17:02 -0700, Randy Dunlap wrote: > On Fri, 22 Oct 2010 16:55:17 -0700 Andrew Morton wrote: > > > On Fri, 22 Oct 2010 10:13:19 -0300 > > Davidlohr Bueso wrote: > > > > > drm: include missing types header to drm_mode.h > > > > > > Signed-off-by: Davidlohr Bueso > > > --- >

Re: [PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info

2010-10-25 Thread Michel Dänzer
On Son, 2010-10-24 at 17:00 -0200, Lucas Clemente Vella wrote: On regarding this bug https://bugs.freedesktop.org/show_bug.cgi?id=29726 what is the relation between querying crtc id and the vblank event? Could you point where this query is needed? The query is needed for userspace to know

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #41 from Michel Dänzer mic...@daenzer.net 2010-10-25 01:14:35 PDT --- (In reply to comment #39) Not necessary, it's just a theory. It would be interesting to rewrite that function to use the 3D engine on r300 and see if it fixes

[Bug 29389] [r300g] [bisected] hard locks with polling enabled in 2.6.35

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29389 --- Comment #8 from Tomasz Czapiewski xe...@irc.pl 2010-10-25 01:51:53 PDT --- I have radeon module compilation errors with this patch applied on 2.6.35: make: Entering directory `/usr/src/linux-headers-2.6.35-22-generic' CC [M]

[Bug 29726] New CRTC ID query breaks Radeon DRM in Zaphod mode

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29726 --- Comment #8 from James Le Cuirot ch...@aura-online.co.uk 2010-10-25 02:11:15 PDT --- (In reply to comment #7) I quite like vsyncing so I'm a little sad if it's broken. I think it was working before? It wasn't supported before. KMS

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #43 from Tomasz Czapiewski xe...@irc.pl 2010-10-25 14:14:02 PDT --- (In reply to comment #37) Have you tested whether the corruption happens with r300c too? It does with WoW (although r300g has fewer other bugs). On r300c

radeon pageflipping patches

2010-10-25 Thread Alex Deucher
For those that want to try them out: http://people.freedesktop.org/~agd5f/pflip/ against drm-next plus Dave's 2D tiling fixes patch (needed to bump the drm version) for the drm patches, and against git master for the ddx. 6xx/7xx/evergreen are pretty solid, but r1xx-r5xx still need some work.

[PATCH] drm/radeon/kms: MC vram map needs to be = pci aperture size

2010-10-25 Thread Alex Deucher
The vram map in the radeon memory controller needs to be = the pci aperture size. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28402 The problematic cards in the above bug have 64 MB of vram, but the pci aperture is 128 MB and the MC vram map was only 64 MB. This can lead to hangs.