[PATCH v2] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
Update: according to the spec, limit max a/v latencies to 500ms and avoid overflowing the ELD field Aud_Synch_Delay[7:0]. Thanks to Pierre for pointing this out! btw, the drm_edid_to_eld() function reuses some code from Ben Skeggs. Ben, please add your Signed-off-by if the patch looks OK to you :

Re: [PATCH] i915: slab shrinker have to return -1 if it can't shrink any objects

2011-06-29 Thread Keith Packard
On Fri, 24 Jun 2011 17:03:22 +0900, KOSAKI Motohiro wrote: > Now, i915_gem_inactive_shrink() should return -1 instead of 0 if it > can't take a lock. Otherwise, vmscan is getting a lot of confusing > because vmscan can't distinguish "can't take a lock temporary" and > "we've shrank all of i915 o

[PATCH] i915: slab shrinker have to return -1 if it can't shrink any objects

2011-06-29 Thread Keith Packard
ard at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110629/450e4683/attachment.pgp>

Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Marcin Nowakowski
On Wed, Jun 29, 2011 at 8:44 AM, Keith Packard wrote: > On Wed, 29 Jun 2011 06:27:53 +0100, Marcin Nowakowski at gmail.com> wrote: > >> There was an enormous amount of such warnings in rc3/rc4, but with the >> latest fixes the number is significantly reduced - some still >> remaining though: > >

[git pull] one radeon fix

2011-06-29 Thread Dave Airlie
Hi Linus, just a single patch from Alex. Dave. The following changes since commit c017d0d1351f916c0ced3f358afc491fdcf490b4: Merge branch 'kvm-updates/3.0' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2011-06-29 11:07:20 -0700) are available in the git repository at: ssh://master.kernel

[PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Ralf Baechle
On Wed, Jun 29, 2011 at 08:14:24AM -0700, Greg KH wrote: > > On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > > I think we should simply concentrate on __init and __exit; that's where > > most of the discard value lies and stop expending huge efforts on the > > __devX stuff whic

Re: [PATCH v2] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Ben Skeggs
On Wed, 2011-06-29 at 21:10 +0800, Wu Fengguang wrote: > Update: according to the spec, limit max a/v latencies to 500ms and > avoid overflowing the ELD field Aud_Synch_Delay[7:0]. > > Thanks to Pierre for pointing this out! > > btw, the drm_edid_to_eld() function reuses some code from Ben Skeggs

[Bug 36327] fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36327 --- Comment #19 from Евгений М. 2011-06-29 15:43:32 PDT --- (In reply to comment #18) As far as the 3.0.0-rc5 is concerned, there is no good news for this card, unfortunately. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Bug 36327] fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36327 --- Comment #19 from ??? ?. 2011-06-29 15:43:32 PDT --- (In reply to comment #18) As far as the 3.0.0-rc5 is concerned, there is no good news for this card, unfortunately. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?ta

[Bug 38783] etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38783 --- Comment #2 from Sven Arvidsson 2011-06-29 14:52:53 PDT --- Are you sure this isn't already fixed? 6f998b58bc61f2507cd53204d7567299379c42ca mentions fixing a regression introduced by the same commit. -- Configure bugmail: https://bugs.freede

[Bug 38783] etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38783 --- Comment #2 from Sven Arvidsson 2011-06-29 14:52:53 PDT --- Are you sure this isn't already fixed? 6f998b58bc61f2507cd53204d7567299379c42ca mentions fixing a regression introduced by the same commit. -- Configure bugmail: https://bugs.freede

[PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
> This patch is tested OK on G45/HDMI and IbexPeak/HDMI. DisplayPort is > tested on several IbexPeak and Sandybridge boxes, however not working, > possibly due to hardware/monitor problems. FYI, here is an example ELD dump in G45/HDMI. wfg at slim ~% cat /proc/asound/card0/eld\#1.0 monitor_presen

[PATCH] Revert "drm/i915: Initialise ring vfuncs for old DRI paths"

2011-06-29 Thread Kirill Smelkov
This reverts commit e8616b6ced6137085e6657cc63bc2fe3900b8616. See https://bugzilla.kernel.org/show_bug.cgi?id=36052 Cc: Herbert Xu Cc: Florian Mickler Cc: Pekka Enberg Cc: Chris Wilson Cc: Keith Packard Cc: stable at kernel.org --- drivers/gpu/drm/i915/i915_dma.c | 25 +++

[PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
Add ELD support for Eaglelake, IbexPeak/Ironlake and SandyBridge/CougarPoint. ELD (EDID-Like Data) describes to the HDMI/DP audio driver the audio capabilities of the plugged monitor. It's built and passed to audio driver in 2 steps: (1) at get_modes time, parse EDID and save ELD to drm_connector

[PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Ralf Baechle
On Mon, Jun 27, 2011 at 10:12:57PM -0700, David Miller wrote: > commit 948252cb9e01d65a89ecadf67be5018351eee15e > Author: David S. Miller > Date: Tue May 31 19:27:48 2011 -0700 > > Revert "net: fix section mismatches" > > This reverts commit e5cb966c0838e4da43a3b0751bdcac7fe719f7b

[Bug 38783] etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38783 --- Comment #1 from Laurent carlier 2011-06-29 13:37:06 PDT --- Created an attachment (id=48568) --> (https://bugs.freedesktop.org/attachment.cgi?id=48568) etqw output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 38783] New: etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38783 Summary: etqw fail to run with a texture format error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Prior

[Bug 38783] etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38783 --- Comment #1 from Laurent carlier 2011-06-29 13:37:06 PDT --- Created an attachment (id=48568) --> (https://bugs.freedesktop.org/attachment.cgi?id=48568) etqw output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 38783] New: etqw fail to run with a texture format error

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38783 Summary: etqw fail to run with a texture format error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Prior

Re: Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Marcin Nowakowski
On Wed, Jun 29, 2011 at 8:44 AM, Keith Packard wrote: > On Wed, 29 Jun 2011 06:27:53 +0100, Marcin Nowakowski > wrote: > >> There was an enormous amount of such warnings in rc3/rc4, but with the >> latest fixes the number is significantly reduced - some still >> remaining though: > > Thanks for

[PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread James Bottomley
On Wed, 2011-06-29 at 17:19 +0100, Ralf Baechle wrote: > On Wed, Jun 29, 2011 at 08:14:24AM -0700, Greg KH wrote: > > > > > On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > > > I think we should simply concentrate on __init and __exit; that's where > > > most of the discard valu

Re: Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Keith Packard
On Wed, 29 Jun 2011 19:23:06 +0100, Marcin Nowakowski wrote: > What about the *ERROR* lines I mentioned in the first email? This > patch doesn't address those - are they anything serious (otherwise > they probably wouldn't be marked as errors)? That's an error in the X driver up in user space.

Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Keith Packard
On Wed, 29 Jun 2011 19:23:06 +0100, Marcin Nowakowski wrote: > What about the *ERROR* lines I mentioned in the first email? This > patch doesn't address those - are they anything serious (otherwise > they probably wouldn't be marked as errors)? That's an error in the X driver up in user space. T

Re: [PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread James Bottomley
On Wed, 2011-06-29 at 17:19 +0100, Ralf Baechle wrote: > On Wed, Jun 29, 2011 at 08:14:24AM -0700, Greg KH wrote: > > > > > On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > > > I think we should simply concentrate on __init and __exit; that's where > > > most of the discard valu

Re: [PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Ralf Baechle
On Wed, Jun 29, 2011 at 08:14:24AM -0700, Greg KH wrote: > > On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > > I think we should simply concentrate on __init and __exit; that's where > > most of the discard value lies and stop expending huge efforts on the > > __devX stuff whic

[PATCH v2] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
Update: according to the spec, limit max a/v latencies to 500ms and avoid overflowing the ELD field Aud_Synch_Delay[7:0]. Thanks to Pierre for pointing this out! btw, the drm_edid_to_eld() function reuses some code from Ben Skeggs. Ben, please add your Signed-off-by if the patch looks OK to you :

Re: [PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
> This patch is tested OK on G45/HDMI and IbexPeak/HDMI. DisplayPort is > tested on several IbexPeak and Sandybridge boxes, however not working, > possibly due to hardware/monitor problems. FYI, here is an example ELD dump in G45/HDMI. wfg@slim ~% cat /proc/asound/card0/eld\#1.0 monitor_present

Re: [PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread James Bottomley
On Wed, 2011-06-29 at 14:07 +0100, Ralf Baechle wrote: > On Mon, Jun 27, 2011 at 10:12:57PM -0700, David Miller wrote: > > > commit 948252cb9e01d65a89ecadf67be5018351eee15e > > Author: David S. Miller > > Date: Tue May 31 19:27:48 2011 -0700 > > > > Revert "net: fix section mismatches" > >

Re: [PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Ralf Baechle
On Mon, Jun 27, 2011 at 10:12:57PM -0700, David Miller wrote: > commit 948252cb9e01d65a89ecadf67be5018351eee15e > Author: David S. Miller > Date: Tue May 31 19:27:48 2011 -0700 > > Revert "net: fix section mismatches" > > This reverts commit e5cb966c0838e4da43a3b0751bdcac7fe719f7b

[PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Wu Fengguang
Add ELD support for Eaglelake, IbexPeak/Ironlake and SandyBridge/CougarPoint. ELD (EDID-Like Data) describes to the HDMI/DP audio driver the audio capabilities of the plugged monitor. It's built and passed to audio driver in 2 steps: (1) at get_modes time, parse EDID and save ELD to drm_connector

[Bug 35472] [bisected] [r600] radeondrmfb rendering is broken and running X makes GPU lock-up on RV770 CE (Radeon HD 4730)

2011-06-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=35472 --- Comment #13 from Sergey Kondakov 2011-06-29 09:06:43 --- it's definitely it - i took 2.6.39 kernel and reverted RV770-specific part of that commit and it runs as expected. please, revert or fix. -- Configure bugmail: https://bugzilla.k

[Bug 35472] [bisected] [r600] radeondrmfb rendering is broken and running X makes GPU lock-up on RV770 CE (Radeon HD 4730)

2011-06-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=35472 Sergey Kondakov changed: What|Removed |Added Summary|[r600] radeondrmfb |[bisected] [r600] |r

[alsa-devel] [PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Takashi Iwai
At Wed, 29 Jun 2011 14:20:13 +0800, Wu Fengguang wrote: > > This patch is tested OK on G45/HDMI and IbexPeak/HDMI. DisplayPort is > tested on several IbexPeak and Sandybridge boxes, however not working, > possibly due to hardware/monitor problems. We've got some reports that DP audio doesn't work

[ANNOUNCE] dri2proto 2.6

2011-06-29 Thread Jesse Barnes
Chad Versace (1): Add attachment token DRI2BufferHiz Jesse Barnes (2): Revert "dri2proto: make DRI2 swap event match GLX spec" dri2proto: add a new DRI2BufferSwapComplete struct that matches the spec git tag: dri2proto-2.6 http://xorg.freedesktop.org/archive/individual/proto/dr

[ANNOUNCE] dri2proto 2.6

2011-06-29 Thread Jesse Barnes
Chad Versace (1): Add attachment token DRI2BufferHiz Jesse Barnes (2): Revert "dri2proto: make DRI2 swap event match GLX spec" dri2proto: add a new DRI2BufferSwapComplete struct that matches the spec git tag: dri2proto-2.6 http://xorg.freedesktop.org/archive/individual/proto/dr

[PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread James Bottomley
On Wed, 2011-06-29 at 14:07 +0100, Ralf Baechle wrote: > On Mon, Jun 27, 2011 at 10:12:57PM -0700, David Miller wrote: > > > commit 948252cb9e01d65a89ecadf67be5018351eee15e > > Author: David S. Miller > > Date: Tue May 31 19:27:48 2011 -0700 > > > > Revert "net: fix section mismatches" > >

Re: [PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Greg KH
On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > I think we should simply concentrate on __init and __exit; that's where > most of the discard value lies and stop expending huge efforts on the > __devX stuff which adds huge complexity for no real gain. I have long felt that those

[PATCH 00/12] Fix various section mismatches and build errors.

2011-06-29 Thread Greg KH
On Wed, Jun 29, 2011 at 08:58:19AM -0500, James Bottomley wrote: > I think we should simply concentrate on __init and __exit; that's where > most of the discard value lies and stop expending huge efforts on the > __devX stuff which adds huge complexity for no real gain. I have long felt that those

Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Marcin Nowakowski
Hello, I'm running latest kernel on my PC and when suspending the system, there is a lot of warnings/errors from i915 driver ... The following are indicated while suspending: [drm:intel_cleanup_ring_buffer] *ERROR* failed to quiesce render ring whilst cleaning up: -16 There was an enormous amo

[Bug 38270] Color Tiling unusable on NI

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38270 Alex Deucher changed: What|Removed |Added CC||hysv...@gmail.com --- Comment #22 from Al

[Bug 38744] Severe texture corruption observed while running OpenGL application

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38744 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 38270] Color Tiling unusable on NI

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38270 Alex Deucher changed: What|Removed |Added CC||hysvats at gmail.com --- Comment #22 from

[Bug 38744] Severe texture corruption observed while running OpenGL application

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38744 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 38744] Severe texture corruption observed while running OpenGL application

2011-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38744 --- Comment #6 from samit vats 2011-06-29 06:05:58 PDT --- (In reply to comment #5) > This looks like a duplicate of bug 38270. Does disabling tiling in your > xorg.conf help? > Option "ColorTiling" "False" > in the device section of your xorg.c

[Bug 38744] Severe texture corruption observed while running OpenGL application

2011-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38744 --- Comment #6 from samit vats 2011-06-29 06:05:58 PDT --- (In reply to comment #5) > This looks like a duplicate of bug 38270. Does disabling tiling in your > xorg.conf help? > Option "ColorTiling" "False" > in the device section of your xorg.

[Bug 35472] [bisected] [r600] radeondrmfb rendering is broken and running X makes GPU lock-up on RV770 CE (Radeon HD 4730)

2011-06-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=35472 --- Comment #13 from Sergey Kondakov 2011-06-29 09:06:43 --- it's definitely it - i took 2.6.39 kernel and reverted RV770-specific part of that commit and it runs as expected. please, revert or fix. -- Configure bugmail: https://bugzilla.k

[Bug 35472] [bisected] [r600] radeondrmfb rendering is broken and running X makes GPU lock-up on RV770 CE (Radeon HD 4730)

2011-06-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=35472 Sergey Kondakov changed: What|Removed |Added Summary|[r600] radeondrmfb |[bisected] [r600] |r

Re: Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Keith Packard
On Wed, 29 Jun 2011 06:27:53 +0100, Marcin Nowakowski wrote: > There was an enormous amount of such warnings in rc3/rc4, but with the > latest fixes the number is significantly reduced - some still > remaining though: Thanks for finding a few more. Here's a patch which fixes these on my system:

Warnings/Errors during i915 suspend/resume on linux 3.0-rc5

2011-06-29 Thread Keith Packard
On Wed, 29 Jun 2011 06:27:53 +0100, Marcin Nowakowski wrote: > There was an enormous amount of such warnings in rc3/rc4, but with the > latest fixes the number is significantly reduced - some still > remaining though: Thanks for finding a few more. Here's a patch which fixes these on my system:

[PATCH] drm/i915: Hold struct_mutex during i915_save_state/i915_restore_state

2011-06-29 Thread Keith Packard
intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110629/2502a164/attachment-0001.pgp>

Erroneous package power limit notification since kernel 2.6.39

2011-06-29 Thread Olaf Freyer
Am 28.06.2011 23:18, schrieb Jesse Barnes: > On Tue, 28 Jun 2011 23:09:45 +0200 > Olaf Freyer wrote: > I'd guess ccab5c82759e2ace74b2e84f82d1e0eedd932571 could be the > cause. Can you check if the appended revert of that commit makes > things disappear? It seems like you guessed

Re: [alsa-devel] [PATCH] pass ELD to HDMI/DP audio driver

2011-06-29 Thread Takashi Iwai
At Wed, 29 Jun 2011 14:20:13 +0800, Wu Fengguang wrote: > > This patch is tested OK on G45/HDMI and IbexPeak/HDMI. DisplayPort is > tested on several IbexPeak and Sandybridge boxes, however not working, > possibly due to hardware/monitor problems. We've got some reports that DP audio doesn't work