Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Thomas Hellström
Kristian Høgsberg skrev: 2009/8/27 Thomas Hellström tho...@shipmail.org: Kristian Høgsberg skrev: --- Okay, here's the patch again with the locking fixed. Everything else is the same. As for the potential problem with polling on the drm fd with both dri1 and dri2 enabled, I

Re: Kernel fails to boot with radeondrmfb

2009-08-28 Thread Michel Dänzer
On Thu, 2009-08-27 at 22:08 +0200, Gerhard Pircher wrote: I gave Radeon kernel mode setting a try on my PPC G4/7455 machine, but the Radeon DRM driver fails to initialize and then the kernel prints Badness at kernel/mutex-debug.c:77. I tested it with an almost (yesterday) fresh checkout of

Re: [Kernel 2.6.30] Only GPIOA is used as CRTDDC bus

2009-08-28 Thread David Müller (ELSOFT AG)
Jesse Barnes wrote: Wanna respin it with that change (just remove the IS_85X change and add a return below the crtc_ddc_bus = -1 if the structure size doesn't match the block size). I'm not sure if i fully understood what you are trying to tell me but have you imagined something like this?

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Michel Dänzer
On Thu, 2009-08-27 at 17:33 -0400, Kristian Høgsberg wrote: 2009/8/27 Thomas Hellström tho...@shipmail.org: b) It requires the master to act as a scheduler, and circumvents the DRM command submission mechanism through the delayed unpin callback. If this is to workaround any inability of

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Thomas Hellström
Thomas Hellström skrev: What's protecting file_priv-event_list here? You can test for list emptiness without taking the lock. Are you suggesting accessing a member of a mutex protected struct without taking the mutex? Do you have a pointer to where

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Thomas Hellström
Michel Dänzer skrev: On Thu, 2009-08-27 at 17:33 -0400, Kristian Høgsberg wrote: 2009/8/27 Thomas Hellström tho...@shipmail.org: b) It requires the master to act as a scheduler, and circumvents the DRM command submission mechanism through the delayed unpin callback. If this is to

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Kristian Høgsberg
On Fri, Aug 28, 2009 at 5:19 AM, Michel Dänzermic...@daenzer.net wrote: On Thu, 2009-08-27 at 17:33 -0400, Kristian Høgsberg wrote: 2009/8/27 Thomas Hellström tho...@shipmail.org: b) It requires the master to act as a scheduler, and circumvents the DRM command submission mechanism through

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Michel Dänzer
On Fri, 2009-08-28 at 08:57 -0400, Kristian Høgsberg wrote: On Fri, Aug 28, 2009 at 5:19 AM, Michel Dänzermic...@daenzer.net wrote: On Thu, 2009-08-27 at 17:33 -0400, Kristian Høgsberg wrote: 2009/8/27 Thomas Hellström tho...@shipmail.org: b) It requires the master to act as a

[Bug 23402] Latest CVS leads to crash in sauerbraten

2009-08-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23402 --- Comment #14 from Nicolai Hähnle nhaeh...@gmail.com 2009-08-28 07:36:45 PST --- Try running make clean before rebuilding Mesa. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this

[Bug 13910] i915 no longer functional on GM45 (with or without KMS)

2009-08-28 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13910 Mircea Gherzan mgher...@anaconda.cs.pub.ro changed: What|Removed |Added Status|NEW |RESOLVED

Re: Kernel fails to boot with radeondrmfb

2009-08-28 Thread Michel Dänzer
On Fri, 2009-08-28 at 18:28 +0200, Gerhard Pircher wrote: Original-Nachricht Datum: Fri, 28 Aug 2009 10:04:19 +0200 Von: Michel Dänzer mic...@daenzer.net An: Gerhard Pircher gerhard_pirc...@gmx.net CC: dri-devel@lists.sourceforge.net Betreff: Re: Kernel fails to boot

Re: [RFC] dri2-sarea

2009-08-28 Thread olafBuddenhagen
Hi, On Mon, Aug 24, 2009 at 10:33:49AM +0200, Thomas Hellström wrote: [...] gears sometimes _is_ a good benchmark. Be careful -- someone might quote you out of context ;-) -antrik- -- Let Crystal Reports handle the

Re: Kernel fails to boot with radeondrmfb

2009-08-28 Thread Gerhard Pircher
Original-Nachricht Datum: Fri, 28 Aug 2009 10:04:19 +0200 Von: Michel Dänzer mic...@daenzer.net An: Gerhard Pircher gerhard_pirc...@gmx.net CC: dri-devel@lists.sourceforge.net Betreff: Re: Kernel fails to boot with radeondrmfb On Thu, 2009-08-27 at 22:08 +0200, Gerhard

Re: [Kernel 2.6.30] Only GPIOA is used as CRTDDC bus

2009-08-28 Thread Jesse Barnes
On Fri, 28 Aug 2009 11:36:22 +0200 David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Jesse Barnes wrote: Wanna respin it with that change (just remove the IS_85X change and add a return below the crtc_ddc_bus = -1 if the structure size doesn't match the block size). I'm not sure if i

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Jesse Barnes
On Fri, 28 Aug 2009 15:14:47 +0200 Michel Dänzer mic...@daenzer.net wrote: One possible solution for this would be for the DRI2SwapBuffer request to return the suggested set of buffers for the next frame, and then for the client to block (which could involve a DRM event or whatever if just

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Jesse Barnes
On Fri, 28 Aug 2009 10:08:10 +0200 Thomas Hellström tho...@shipmail.org wrote: Why then exactly are events needed? and why are we required to track the progress of the command fifo with events like jbarnes suggests, and finally why is this mechanism not needed in the non-pageflipping case? If

Re: [PATCH] drm/kms: move driver specific fb common code to helper functions (v2)

2009-08-28 Thread Jesse Barnes
On Fri, 28 Aug 2009 15:46:53 +1000 Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com Initially I always meant this code to be shared, but things ran away from me before I got to it. This refactors the i915 and radeon kms fbdev interaction layers out into generic

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Kristian Høgsberg
This mail is getting out of control... too many sub-threads going on... maybe we shold break it out and talk about events vs kernel scheduling and wait with the patch review until we've figured something out. 2009/8/28 Thomas Hellström tho...@shipmail.org: Kristian Høgsberg skrev: 2009/8/27

Re: [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-08-28 Thread Thomas Hellström
Kristian Høgsberg skrev: This mail is getting out of control... too many sub-threads going on... maybe we shold break it out and talk about events vs kernel scheduling and wait with the patch review until we've figured something out. Sure. b) It requires the master to act as a

[Bug 23585] New: Textures in certain applications are only 1/2 visible on the diagonal in direct mode on r600

2009-08-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23585 Summary: Textures in certain applications are only 1/2 visible on the diagonal in direct mode on r600 Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux

[Bug 23585] Textures in certain applications are only 1/2 visible on the diagonal in direct mode on r600

2009-08-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23585 --- Comment #1 from Kevin DeKorte kdeko...@yahoo.com 2009-08-28 14:30:40 PST --- Created an attachment (id=28992) -- (http://bugs.freedesktop.org/attachment.cgi?id=28992) clutter application that shows the problem. To built this app you

Re: Kernel fails to boot with radeondrmfb

2009-08-28 Thread Gerhard Pircher
Original-Nachricht Datum: Fri, 28 Aug 2009 18:48:49 +0200 Von: Michel Dänzer mic...@daenzer.net An: Gerhard Pircher gerhard_pirc...@gmx.net CC: dri-devel@lists.sourceforge.net Betreff: Re: Kernel fails to boot with radeondrmfb On Fri, 2009-08-28 at 18:28 +0200, Gerhard

Re: Intel 915 ... GEM and the massive changes all over the place

2009-08-28 Thread squirrl
Alan Cox wrote: Intel needs to hire Alan Cox. Chortle. I think Mr Troll hasn't being paying attention to planet earth for the past six months ;) Alan Acknowledged, I hope you can make things better with your new employment. But remember news only travels if you read specific

[Bug 22271] On 64bit kernel(drm-next-radeon) ioctls from 32bit application doesn't work

2009-08-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22271 --- Comment #10 from Krzysztof Sobiecki sob...@wp.pl 2009-08-28 17:32:57 PST --- Mesa commit: c3374bf97ecd82b915fb29c7c04951e2b75d4dbc fixed radeonGetParam problem. I'm still unable to run any 32bit binary that uses opengl. Every time I try