Re: [Intel-gfx] [PATCH] allow 945 to control self refresh automatically

2011-01-03 Thread Alexander Lam
Hi, I probably should mention that the patch is in reply to: (I got Li's ack here) http://lists.freedesktop.org/archives/intel-gfx/2010-October/008302.html School kept me busy since then and I haven't been able to find any free time until this winter break to respin. (College unexpectedly took mo

Re: [Intel-gfx] Crash of repeated playback using libva and gstreamer

2011-01-03 Thread Xiang, Haihao
On Mon, 2011-01-03 at 14:54 +0800, Jyotsana wrote: > Hi, > > I am trying to play multiple video files one after the other using > GStreamer(vaapidecode and vaapisink plugins) and libVA-1.0.3. > I am able to play one file successfully but once the first file is > played to completion, we delete al

Re: [Intel-gfx] [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

2011-01-03 Thread Chris Wilson
On Tue, 04 Jan 2011 00:09:19 +0100, Knut Petersen wrote: > Kernel 2.6.37-rc8-git2 > = > > text mode console: ok, resolution 1280x1024, fully used by framebuffer > output > X: first device detected is LVDS with resolution 1024x768. VGA and DVI > connector work in X, > but X switch

Re: [Intel-gfx] [PATCH 2/2] dri2: Fix interlace computation

2011-01-03 Thread Chris Wilson
On Mon, 3 Jan 2011 17:52:27 -0500, Adam Jackson wrote: > scrn->currentMode is a hack for xf86vidmode and in general is wrong for > RANDRful drivers. Use the mode on the associated CRTC instead. Thanks Adam, that looks much saner than scrn->currentMode. Fixed up the Ptr/Rec confusion and pushed.

[Intel-gfx] [PATCH 2/2] dri2: Fix interlace computation

2011-01-03 Thread Adam Jackson
scrn->currentMode is a hack for xf86vidmode and in general is wrong for RANDRful drivers. Use the mode on the associated CRTC instead. Signed-off-by: Adam Jackson --- src/intel_dri.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c

[Intel-gfx] [PATCH 1/2] xv: Fix interlace computation

2011-01-03 Thread Adam Jackson
scrn->currentMode is a hack for xf86vidmode and in general is wrong for RANDRful drivers. Use the mode on the associated CRTC instead. Signed-off-by: Adam Jackson --- src/intel_video.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/intel_video.c b/src/intel_video.

Re: [Intel-gfx] [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

2011-01-03 Thread Linus Torvalds
[ related, but independent, issue ] On Mon, Jan 3, 2011 at 11:59 AM, Chris Wilson wrote: > >That function currently requires > GMBUS to differentiate between a NAK and an IO error (bitbanging just > returns EREMOTEIO regardless, iirc). Hmm. That sounds like something

Re: [Intel-gfx] [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

2011-01-03 Thread Chris Wilson
On Mon, 3 Jan 2011 11:45:48 -0800, Linus Torvalds wrote: > On Mon, Jan 3, 2011 at 10:12 AM, Knut Petersen > wrote: > > > > I tried 2.6.37-rc8-git2 with both patches applied. > > I thought Chris meant "instead of", rather than "both". Chris? Right, I was trying to ascertain whether the intel_lv

Re: [Intel-gfx] [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

2011-01-03 Thread Linus Torvalds
On Mon, Jan 3, 2011 at 10:12 AM, Knut Petersen wrote: > > I tried 2.6.37-rc8-git2 with both patches applied. I thought Chris meant "instead of", rather than "both". Chris? Linus ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org

Re: [Intel-gfx] [PATCH] allow 945 to control self refresh automatically

2011-01-03 Thread Jesse Barnes
On Mon, 03 Jan 2011 19:33:05 + Chris Wilson wrote: > On Mon, 3 Jan 2011 13:28:56 -0500, Alexander Lam > wrote: > > I changed 945's self refresh to work without the need for the driver to > > enable/disable self refresh manually based on the idle state of the gpu. > > This is much better th

Re: [Intel-gfx] [PATCH] allow 945 to control self refresh automatically

2011-01-03 Thread Chris Wilson
On Mon, 3 Jan 2011 13:28:56 -0500, Alexander Lam wrote: > I changed 945's self refresh to work without the need for the driver to > enable/disable self refresh manually based on the idle state of the gpu. > This is much better than enabling/disabling self refresh for various > reasons, including

[Intel-gfx] [PATCH] allow 945 to control self refresh automatically

2011-01-03 Thread Alexander Lam
I changed 945's self refresh to work without the need for the driver to enable/disable self refresh manually based on the idle state of the gpu. This is much better than enabling/disabling self refresh for various reasons, including staying in a lower power state for more time and avoiding the need

[Intel-gfx] drm-nvidia-switch git branch but still vgaswitcheroo not working for i915/nvidia (nouveau) on ASUS U30JC

2011-01-03 Thread Giacomo
Hello. In my double-carded ASUS U30JC (nvidia + intel i915) I do the following: stop X This is the output of /sys/kernel/debug/vgaswitcheroo/switch daphne linux # cat /sys/kernel/debug/vgaswitcheroo/switch 0: :Pwr::01:00.0 1:+:Pwr::00:02.0 (intel graphic card in use, ok) echo "DDIS" >

Re: [Intel-gfx] [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

2011-01-03 Thread Chris Wilson
On Mon, 03 Jan 2011 15:25:05 +0100, Knut Petersen wrote: > The AOpen i915GMm-HFS is a desktop motherboard for the Intel Pentium M. > A mobile chipset is used > (Intel 915GM / ICH6-M). Kernel 2.6.31.14 works fine for that mobo, but > from 2.6.32 on graphics support > is broken because the i915 dri